CoreGTK 3.10.0 CoreGTK is an Objective-C language binding for the GTK+ widget toolkit

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Variables
Instance Methods | List of all members
CGTKSpinButton Class Reference
Inheritance diagram for CGTKSpinButton:
[legend]
Collaboration diagram for CGTKSpinButton:
[legend]

## Instance Methods
(id) | - initWithAdjustment:andClimbRate:andDigits:
(id) | - initWithRangeWithMin:andMax:andStep:
(GtkSpinButton *) | - SPINBUTTON
(void) | - configureWithAdjustment:andClimbRate:andDigits:
(GtkAdjustment *) | - getAdjustment
(guint) | - getDigits
(void) | - getIncrementsWithStep:andPage:
(BOOL) | - getNumeric
(void) | - getRangeWithMin:andMax:
(BOOL) | - getSnapToTicks
(GtkSpinButtonUpdatePolicy) | - getUpdatePolicy
(gdouble) | - getValue
(gint) | - getValueAsInt
(BOOL) | - getWrap
(void) | - setAdjustment:
(void) | - setDigits:
(void) | - setIncrementsWithStep:andPage:
(void) | - setNumeric:
(void) | - setRangeWithMin:andMax:
(void) | - setSnapToTicks:
(void) | - setUpdatePolicy:
(void) | - setValue:
(void) | - setWrap:
(void) | - spinWithDirection:andIncrement:
(void) | - update
Instance Methods inherited from CGTKEntry
(id) | - init
(id) | - initWithBuffer:
(GtkEntry *) | - ENTRY
(BOOL) | - getActivatesDefault
(gfloat) | - getAlignment
(PangoAttrList *) | - getAttributes
(GtkEntryBuffer *) | - getBuffer
(GtkEntryCompletion *) | - getCompletion
(gint) | - getCurrentIconDragSource
(GtkAdjustment *) | - getCursorHadjustment
(BOOL) | - getHasFrame
(BOOL) | - getIconActivatable:
(void) | - getIconAreaWithIconPos:andIconArea:
(gint) | - getIconAtPosWithX:andY:
(GIcon *) | - getIconGicon:
(NSString *) | - getIconName:
(GdkPixbuf *) | - getIconPixbuf:
(BOOL) | - getIconSensitive:
(NSString *) | - getIconStock:
(GtkImageType) | - getIconStorageType:
(NSString *) | - getIconTooltipMarkup:
(NSString *) | - getIconTooltipText:
(const GtkBorder *) | - getInnerBorder
(GtkInputHints) | - getInputHints
(GtkInputPurpose) | - getInputPurpose
(gunichar) | - getInvisibleChar
(PangoLayout *) | - getLayout
(void) | - getLayoutOffsetsWithX:andY:
(gint) | - getMaxLength
(BOOL) | - getOverwriteMode
(NSString *) | - getPlaceholderText
(gdouble) | - getProgressFraction
(gdouble) | - getProgressPulseStep
(PangoTabArray *) | - getTabs
(NSString *) | - getText
(void) | - getTextArea:
(guint16) | - getTextLength
(BOOL) | - getVisibility
(gint) | - getWidthChars
(BOOL) | - imContextFilterKeypress:
(gint) | - layoutIndexToTextIndex:
(void) | - progressPulse
(void) | - resetImContext
(void) | - setActivatesDefault:
(void) | - setAlignment:
(void) | - setAttributes:
(void) | - setBuffer:
(void) | - setCompletion:
(void) | - setCursorHadjustment:
(void) | - setHasFrame:
(void) | - setIconActivatableWithIconPos:andActivatable:
(void) | - setIconDragSourceWithIconPos:andTargetList:andActions:
(void) | - setIconFromGiconWithIconPos:andIcon:
(void) | - setIconFromIconNameWithIconPos:andIconName:
(void) | - setIconFromPixbufWithIconPos:andPixbuf:
(void) | - setIconFromStockWithIconPos:andStockId:
(void) | - setIconSensitiveWithIconPos:andSensitive:
(void) | - setIconTooltipMarkupWithIconPos:andTooltip:
(void) | - setIconTooltipTextWithIconPos:andTooltip:
(void) | - setInnerBorder:
(void) | - setInputHints:
(void) | - setInputPurpose:
(void) | - setInvisibleChar:
(void) | - setMaxLength:
(void) | - setOverwriteMode:
(void) | - setPlaceholderText:
(void) | - setProgressFraction:
(void) | - setProgressPulseStep:
(void) | - setTabs:
(void) | - setText:
(void) | - setVisibility:
(void) | - setWidthChars:
(gint) | - textIndexToLayoutIndex:
(void) | - unsetInvisibleChar
Instance Methods inherited from CGTKWidget
(GtkWidget *) | - WIDGET
(BOOL) | - activate
(void) | - addAcceleratorWithAccelSignal:andAccelGroup:andAccelKey:andAccelMods:andAccelFlags:
(void) | - addDeviceEventsWithDevice:andEvents:
(void) | - addEvents:
(void) | - addMnemonicLabel:
(guint) | - addTickCallbackWithCallback:andUserData:andNotify:
(BOOL) | - canActivateAccel:
(BOOL) | - childFocus:
(void) | - childNotify:
(void) | - classPathWithPathLength:andPath:andPathReversed:
(BOOL) | - computeExpand:
(PangoContext *) | - createPangoContext
(PangoLayout *) | - createPangoLayout:
(void) | - destroy
(void) | - destroyed:
(BOOL) | - deviceIsShadowed:
(GdkDragContext *) | - gtkDragBeginWithTargets:andActions:andButton:andEvent:
(GdkDragContext *) | - gtkDragBeginWithCoordinatesWithTargets:andActions:andButton:andEvent:andX:andY:
(BOOL) | - gtkDragCheckThresholdWithStartX:andStartY:andCurrentX:andCurrentY:
(void) | - gtkDragDestAddImageTargets
(void) | - gtkDragDestAddTextTargets
(void) | - gtkDragDestAddUriTargets
(GdkAtom) | - gtkDragDestFindTargetWithContext:andTargetList:
(GtkTargetList *) | - gtkDragDestGetTargetList
(BOOL) | - gtkDragDestGetTrackMotion
(void) | - gtkDragDestSetWithFlags:andTargets:andNtargets:andActions:
(void) | - gtkDragDestSetProxyWithProxyWindow:andProtocol:andUseCoordinates:
(void) | - gtkDragDestSetTargetList:
(void) | - gtkDragDestSetTrackMotion:
(void) | - gtkDragDestUnset
(void) | - gtkDragGetDataWithContext:andTarget:andTime:
(void) | - gtkDragHighlight
(void) | - gtkDragSourceAddImageTargets
(void) | - gtkDragSourceAddTextTargets
(void) | - gtkDragSourceAddUriTargets
(GtkTargetList *) | - gtkDragSourceGetTargetList
(void) | - gtkDragSourceSetWithStartButtonMask:andTargets:andNtargets:andActions:
(void) | - gtkDragSourceSetIconGicon:
(void) | - gtkDragSourceSetIconName:
(void) | - gtkDragSourceSetIconPixbuf:
(void) | - gtkDragSourceSetIconStock:
(void) | - gtkDragSourceSetTargetList:
(void) | - gtkDragSourceUnset
(void) | - gtkDragUnhighlight
(void) | - draw:
(void) | - ensureStyle
(void) | - errorBell
(BOOL) | - event:
(void) | - freezeChildNotify
(AtkObject *) | - getAccessible
(int) | - getAllocatedBaseline
(int) | - getAllocatedHeight
(int) | - getAllocatedWidth
(void) | - getAllocation:
(CGTKWidget *) | - getAncestor:
(BOOL) | - getAppPaintable
(BOOL) | - getCanDefault
(BOOL) | - getCanFocus
(void) | - getChildRequisition:
(BOOL) | - getChildVisible
(GtkClipboard *) | - getClipboard:
(NSString *) | - getCompositeName
(BOOL) | - getDeviceEnabled:
(GdkEventMask) | - getDeviceEvents:
(GtkTextDirection) | - getDirection
(GdkDisplay *) | - getDisplay
(BOOL) | - getDoubleBuffered
(gint) | - getEvents
(GdkFrameClock *) | - getFrameClock
(GtkAlign) | - getHalign
(BOOL) | - getHasTooltip
(BOOL) | - getHasWindow
(BOOL) | - getHexpand
(BOOL) | - getHexpandSet
(BOOL) | - getMapped
(gint) | - getMarginBottom
(gint) | - getMarginLeft
(gint) | - getMarginRight
(gint) | - getMarginTop
(GdkModifierType) | - getModifierMask:
(GtkRcStyle *) | - getModifierStyle
(NSString *) | - getName
(BOOL) | - getNoShowAll
(double) | - getOpacity
(PangoContext *) | - getPangoContext
(CGTKWidget *) | - getParent
(GdkWindow *) | - getParentWindow
(GtkWidgetPath *) | - getPath
(void) | - getPointerWithX:andY:
(void) | - getPreferredHeightWithMinimumHeight:andNaturalHeight:
(void) | - getPreferredHeightAndBaselineForWidthWithWidth:andMinimumHeight:andNaturalHeight:andMinimumBaseline:andNaturalBaseline:
(void) | - getPreferredHeightForWidthWithWidth:andMinimumHeight:andNaturalHeight:
(void) | - getPreferredSizeWithMinimumSize:andNaturalSize:
(void) | - getPreferredWidthWithMinimumWidth:andNaturalWidth:
(void) | - getPreferredWidthForHeightWithHeight:andMinimumWidth:andNaturalWidth:
(BOOL) | - getRealized
(BOOL) | - getReceivesDefault
(GtkSizeRequestMode) | - getRequestMode
(void) | - getRequisition:
(GdkWindow *) | - getRootWindow
(gint) | - getScaleFactor
(GdkScreen *) | - getScreen
(BOOL) | - getSensitive
(GtkSettings *) | - getSettings
(void) | - getSizeRequestWithWidth:andHeight:
(GtkStateType) | - getState
(GtkStateFlags) | - getStateFlags
(GtkStyle *) | - getStyle
(GtkStyleContext *) | - getStyleContext
(BOOL) | - getSupportMultidevice
(GObject *) | - getTemplateChildWithWidgetType:andName:
(NSString *) | - getTooltipMarkup
(NSString *) | - getTooltipText
(GtkWindow *) | - getTooltipWindow
(CGTKWidget *) | - getToplevel
(GtkAlign) | - getValign
(GtkAlign) | - getValignWithBaseline
(BOOL) | - getVexpand
(BOOL) | - getVexpandSet
(BOOL) | - getVisible
(GdkVisual *) | - getVisual
(GdkWindow *) | - getWindow
(void) | - gtkGrabAdd
(void) | - grabDefault
(void) | - grabFocus
(void) | - gtkGrabRemove
(BOOL) | - hasDefault
(BOOL) | - hasFocus
(BOOL) | - hasGrab
(BOOL) | - hasRcStyle
(BOOL) | - hasScreen
(BOOL) | - hasVisibleFocus
(void) | - hide
(BOOL) | - hideOnDelete
(BOOL) | - inDestruction
(void) | - initTemplate
(void) | - inputShapeCombineRegion:
(void) | - insertActionGroupWithName:andGroup:
(BOOL) | - intersectWithArea:andIntersection:
(BOOL) | - isAncestor:
(BOOL) | - isComposited
(BOOL) | - isDrawable
(BOOL) | - isFocus
(BOOL) | - isSensitive
(BOOL) | - isToplevel
(BOOL) | - isVisible
(BOOL) | - keynavFailed:
(GList *) | - listAccelClosures
(GList *) | - listMnemonicLabels
(void) | - map
(BOOL) | - mnemonicActivate:
(void) | - modifyBaseWithState:andColor:
(void) | - modifyBgWithState:andColor:
(void) | - modifyCursorWithPrimary:andSecondary:
(void) | - modifyFgWithState:andColor:
(void) | - modifyFont:
(void) | - modifyStyle:
(void) | - modifyTextWithState:andColor:
(void) | - overrideBackgroundColorWithState:andColor:
(void) | - overrideColorWithState:andColor:
(void) | - overrideCursorWithCursor:andSecondaryCursor:
(void) | - overrideFont:
(void) | - overrideSymbolicColorWithName:andColor:
(void) | - pathWithPathLength:andPath:andPathReversed:
(void) | - queueComputeExpand
(void) | - queueDraw
(void) | - queueDrawAreaWithX:andY:andWidth:andHeight:
(void) | - queueDrawRegion:
(void) | - queueResize
(void) | - queueResizeNoRedraw
(void) | - realize
(cairo_region_t *) | - regionIntersect:
(void) | - registerWindow:
(BOOL) | - removeAcceleratorWithAccelGroup:andAccelKey:andAccelMods:
(void) | - removeMnemonicLabel:
(void) | - removeTickCallback:
(GdkPixbuf *) | - renderIconWithStockId:andSize:andDetail:
(GdkPixbuf *) | - renderIconPixbufWithStockId:andSize:
(void) | - reparent:
(void) | - resetRcStyles
(void) | - resetStyle
(gint) | - sendExpose:
(BOOL) | - sendFocusChange:
(void) | - setAccelPathWithAccelPath:andAccelGroup:
(void) | - setAllocation:
(void) | - setAppPaintable:
(void) | - setCanDefault:
(void) | - setCanFocus:
(void) | - setChildVisible:
(void) | - setCompositeName:
(void) | - setDeviceEnabledWithDevice:andEnabled:
(void) | - setDeviceEventsWithDevice:andEvents:
(void) | - setDirection:
(void) | - setDoubleBuffered:
(void) | - setEvents:
(void) | - setHalign:
(void) | - setHasTooltip:
(void) | - setHasWindow:
(void) | - setHexpand:
(void) | - setHexpandSet:
(void) | - setMapped:
(void) | - setMarginBottom:
(void) | - setMarginLeft:
(void) | - setMarginRight:
(void) | - setMarginTop:
(void) | - setName:
(void) | - setNoShowAll:
(void) | - setOpacity:
(void) | - setParent:
(void) | - setParentWindow:
(void) | - setRealized:
(void) | - setReceivesDefault:
(void) | - setRedrawOnAllocate:
(void) | - setSensitive:
(void) | - setSizeRequestWithWidth:andHeight:
(void) | - setState:
(void) | - setStateFlagsWithFlags:andClear:
(void) | - setStyle:
(void) | - setSupportMultidevice:
(void) | - setTooltipMarkup:
(void) | - setTooltipText:
(void) | - setTooltipWindow:
(void) | - setValign:
(void) | - setVexpand:
(void) | - setVexpandSet:
(void) | - setVisible:
(void) | - setVisual:
(void) | - setWindow:
(void) | - shapeCombineRegion:
(void) | - show
(void) | - showAll
(void) | - showNow
(void) | - sizeAllocate:
(void) | - sizeAllocateWithBaselineWithAllocation:andBaseline:
(void) | - sizeRequest:
(void) | - styleAttach
(void) | - styleGetPropertyWithPropertyName:andValue:
(void) | - styleGetValistWithFirstPropertyName:andVarArgs:
(void) | - thawChildNotify
(BOOL) | - translateCoordinatesWithDestWidget:andSrcX:andSrcY:andDestX:andDestY:
(void) | - triggerTooltipQuery
(void) | - unmap
(void) | - unparent
(void) | - unrealize
(void) | - unregisterWindow:
(void) | - unsetStateFlags:
Instance Methods inherited from CGTKBase
(id) | - initWithGObject:
(void) | - setGObject:
(GObject *) | - GOBJECT

## Additional Inherited Members
Class Methods inherited from CGTKWidget
(GtkTextDirection) | + getDefaultDirection
(GtkStyle *) | + getDefaultStyle
(void) | + popCompositeChild
(void) | + pushCompositeChild
(void) | + setDefaultDirection:
Class Methods inherited from CGTKBase
(CGTKBase *) | + withGObject:
Protected Attributes inherited from CGTKBase
GObject * | __gObject

## Detailed Description

Definition at line 34 of file CGTKSpinButton.h.

## Method Documentation

- (void) configureWithAdjustment: |  | (GtkAdjustment*) | adjustment
andClimbRate: |  | (gdouble) | climbRate
andDigits: |  | (guint) | digits

-(void*)configureWithAdjustment:(GtkAdjustment*) adjustment andClimbRate:(gdouble) climbRate andDigits:(guint) digits;

Parameters

  adjustment |
  climbRate |
  digits |

Definition at line 65 of file CGTKSpinButton.m.

- (GtkAdjustment *) getAdjustment |  |  |

-(GtkAdjustment**)getAdjustment;

Returns
  GtkAdjustment*

Definition at line 70 of file CGTKSpinButton.m.

- (guint) getDigits |  |  |

-(guint*)getDigits;

Returns
  guint

Definition at line 75 of file CGTKSpinButton.m.

- (void) getIncrementsWithStep: |  | (gdouble*) | step
andPage: |  | (gdouble*) | page

-(void*)getIncrementsWithStep:(gdouble*) step andPage:(gdouble*) page;

Parameters

  step |
  page |

Definition at line 80 of file CGTKSpinButton.m.

- (BOOL) getNumeric |  |  |

-(BOOL*)getNumeric;

Returns
  BOOL

Definition at line 85 of file CGTKSpinButton.m.

- (void) getRangeWithMin: |  | (gdouble*) | min
andMax: |  | (gdouble*) | max

-(void*)getRangeWithMin:(gdouble*) min andMax:(gdouble*) max;

Parameters

  min |
  max |

Definition at line 90 of file CGTKSpinButton.m.

- (BOOL) getSnapToTicks |  |  |

-(BOOL*)getSnapToTicks;

Returns
  BOOL

Definition at line 95 of file CGTKSpinButton.m.

- (GtkSpinButtonUpdatePolicy) getUpdatePolicy |  |  |

-(GtkSpinButtonUpdatePolicy*)getUpdatePolicy;

Returns
  GtkSpinButtonUpdatePolicy

Definition at line 100 of file CGTKSpinButton.m.

- (gdouble) getValue |  |  |

-(gdouble*)getValue;

Returns
  gdouble

Definition at line 105 of file CGTKSpinButton.m.

- (gint) getValueAsInt |  |  |

-(gint*)getValueAsInt;

Returns
  gint

Definition at line 110 of file CGTKSpinButton.m.

- (BOOL) getWrap |  |  |

-(BOOL*)getWrap;

Returns
  BOOL

Definition at line 115 of file CGTKSpinButton.m.

- (id) initWithAdjustment: |  | (GtkAdjustment*) | adjustment
andClimbRate: |  | (gdouble) | climbRate
andDigits: |  | (guint) | digits

Constructors

Definition at line 36 of file CGTKSpinButton.m.

- (void) setAdjustment: |  | (GtkAdjustment*) | adjustment |

-(void*)setAdjustment: adjustment;

Parameters

  adjustment |

Definition at line 120 of file CGTKSpinButton.m.

- (void) setDigits: |  | (guint) | digits |

-(void*)setDigits: digits;

Parameters

  digits |

Definition at line 125 of file CGTKSpinButton.m.

- (void) setIncrementsWithStep: |  | (gdouble) | step
andPage: |  | (gdouble) | page

-(void*)setIncrementsWithStep:(gdouble) step andPage:(gdouble) page;

Parameters

  step |
  page |

Definition at line 130 of file CGTKSpinButton.m.

- (void) setNumeric: |  | (BOOL) | numeric |

-(void*)setNumeric: numeric;

Parameters

  numeric |

Definition at line 135 of file CGTKSpinButton.m.

- (void) setRangeWithMin: |  | (gdouble) | min
andMax: |  | (gdouble) | max

-(void*)setRangeWithMin:(gdouble) min andMax:(gdouble) max;

Parameters

  min |
  max |

Definition at line 140 of file CGTKSpinButton.m.

- (void) setSnapToTicks: |  | (BOOL) | snapToTicks |

-(void*)setSnapToTicks: snapToTicks;

Parameters

  snapToTicks |

Definition at line 145 of file CGTKSpinButton.m.

- (void) setUpdatePolicy: |  | (GtkSpinButtonUpdatePolicy) | policy |

-(void*)setUpdatePolicy: policy;

Parameters

  policy |

Definition at line 150 of file CGTKSpinButton.m.

- (void) setValue: |  | (gdouble) | value |

-(void*)setValue: value;

Parameters

  value |

Definition at line 155 of file CGTKSpinButton.m.

- (void) setWrap: |  | (BOOL) | wrap |

-(void*)setWrap: wrap;

Parameters

  wrap |

Definition at line 160 of file CGTKSpinButton.m.

- (GtkSpinButton *) SPINBUTTON |  |  |

Methods

Definition at line 60 of file CGTKSpinButton.m.

- (void) spinWithDirection: |  | (GtkSpinType) | direction
andIncrement: |  | (gdouble) | increment

-(void*)spinWithDirection:(GtkSpinType) direction andIncrement:(gdouble) increment;

Parameters

  direction |
  increment |

Definition at line 165 of file CGTKSpinButton.m.

- (void) update |  |  |

-(void*)update;

Definition at line 170 of file CGTKSpinButton.m.

The documentation for this class was generated from the following files:

- CGTKSpinButton.h
- CGTKSpinButton.m