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
CGTKButton Class Reference
Inheritance diagram for CGTKButton:
[legend]
Collaboration diagram for CGTKButton:
[legend]

## Instance Methods
(id) | - init
(id) | - initFromIconNameWithIconName:andSize:
(id) | - initFromStock:
(id) | - initWithLabel:
(id) | - initWithMnemonic:
(GtkButton *) | - BUTTON
(void) | - clicked
(void) | - enter
(void) | - getAlignmentWithXalign:andYalign:
(BOOL) | - getAlwaysShowImage
(GdkWindow *) | - getEventWindow
(BOOL) | - getFocusOnClick
(CGTKWidget *) | - getImage
(GtkPositionType) | - getImagePosition
(NSString *) | - getLabel
(GtkReliefStyle) | - getRelief
(BOOL) | - getUseStock
(BOOL) | - getUseUnderline
(void) | - leave
(void) | - pressed
(void) | - released
(void) | - setAlignmentWithXalign:andYalign:
(void) | - setAlwaysShowImage:
(void) | - setFocusOnClick:
(void) | - setImage:
(void) | - setImagePosition:
(void) | - setLabel:
(void) | - setRelief:
(void) | - setUseStock:
(void) | - setUseUnderline:
Instance Methods inherited from CGTKBin
(GtkBin *) | - BIN
(CGTKWidget *) | - getChild
Instance Methods inherited from CGTKContainer
(GtkContainer *) | - CONTAINER
(void) | - addWidget:withProperties:
(void) | - add:
(void) | - checkResize
(void) | - childGetPropertyWithChild:andPropertyName:andValue:
(void) | - childGetValistWithChild:andFirstPropertyName:andVarArgs:
(void) | - childNotifyWithChild:andChildProperty:
(void) | - childSetPropertyWithChild:andPropertyName:andValue:
(void) | - childSetValistWithChild:andFirstPropertyName:andVarArgs:
(GType) | - childType
(void) | - forallWithCallback:andCallbackData:
(void) | - foreachWithCallback:andCallbackData:
(guint) | - getBorderWidth
(GList *) | - getChildren
(BOOL) | - getFocusChain:
(CGTKWidget *) | - getFocusChild
(GtkAdjustment *) | - getFocusHadjustment
(GtkAdjustment *) | - getFocusVadjustment
(GtkWidgetPath *) | - getPathForChild:
(GtkResizeMode) | - getResizeMode
(void) | - propagateDrawWithChild:andCr:
(void) | - remove:
(void) | - resizeChildren
(void) | - setBorderWidth:
(void) | - setFocusChain:
(void) | - setFocusChild:
(void) | - setFocusHadjustment:
(void) | - setFocusVadjustment:
(void) | - setReallocateRedraws:
(void) | - setResizeMode:
(void) | - unsetFocusChain
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 CGTKButton.h.

## Method Documentation

- (GtkButton *) BUTTON |  |  |

Methods

Definition at line 96 of file CGTKButton.m.

- (void) clicked |  |  |

-(void*)clicked;

Definition at line 101 of file CGTKButton.m.

- (void) enter |  |  |

-(void*)enter;

Definition at line 106 of file CGTKButton.m.

- (void) getAlignmentWithXalign: |  | (gfloat*) | xalign
andYalign: |  | (gfloat*) | yalign

-(void*)getAlignmentWithXalign:(gfloat*) xalign andYalign:(gfloat*) yalign;

Parameters

  xalign |
  yalign |

Definition at line 111 of file CGTKButton.m.

- (BOOL) getAlwaysShowImage |  |  |

-(BOOL*)getAlwaysShowImage;

Returns
  BOOL

Definition at line 116 of file CGTKButton.m.

- (GdkWindow *) getEventWindow |  |  |

-(GdkWindow**)getEventWindow;

Returns
  GdkWindow*

Definition at line 121 of file CGTKButton.m.

- (BOOL) getFocusOnClick |  |  |

-(BOOL*)getFocusOnClick;

Returns
  BOOL

Definition at line 126 of file CGTKButton.m.

- (CGTKWidget *) getImage |  |  |

-(CGTKWidget**)getImage;

Returns
  CGTKWidget*

Definition at line 131 of file CGTKButton.m.

- (GtkPositionType) getImagePosition |  |  |

-(GtkPositionType*)getImagePosition;

Returns
  GtkPositionType

Definition at line 136 of file CGTKButton.m.

- (NSString *) getLabel |  |  |

-(NSString**)getLabel;

Returns
  NSString*

Definition at line 141 of file CGTKButton.m.

- (GtkReliefStyle) getRelief |  |  |

-(GtkReliefStyle*)getRelief;

Returns
  GtkReliefStyle

Definition at line 146 of file CGTKButton.m.

- (BOOL) getUseStock |  |  |

-(BOOL*)getUseStock;

Returns
  BOOL

Definition at line 151 of file CGTKButton.m.

- (BOOL) getUseUnderline |  |  |

-(BOOL*)getUseUnderline;

Returns
  BOOL

Definition at line 156 of file CGTKButton.m.

- (id) init |  |  |

Constructors

Reimplemented in CGTKToggleButton, CGTKVolumeButton, CGTKCheckButton, CGTKColorButton, CGTKFontButton, and CGTKMenuButton.

Definition at line 36 of file CGTKButton.m.

- (void) leave |  |  |

-(void*)leave;

Definition at line 161 of file CGTKButton.m.

- (void) pressed |  |  |

-(void*)pressed;

Definition at line 166 of file CGTKButton.m.

- (void) released |  |  |

-(void*)released;

Definition at line 171 of file CGTKButton.m.

- (void) setAlignmentWithXalign: |  | (gfloat) | xalign
andYalign: |  | (gfloat) | yalign

-(void*)setAlignmentWithXalign:(gfloat) xalign andYalign:(gfloat) yalign;

Parameters

  xalign |
  yalign |

Definition at line 176 of file CGTKButton.m.

- (void) setAlwaysShowImage: |  | (BOOL) | alwaysShow |

-(void*)setAlwaysShowImage: alwaysShow;

Parameters

  alwaysShow |

Definition at line 181 of file CGTKButton.m.

- (void) setFocusOnClick: |  | (BOOL) | focusOnClick |

-(void*)setFocusOnClick: focusOnClick;

Parameters

  focusOnClick |

Definition at line 186 of file CGTKButton.m.

- (void) setImage: |  | (CGTKWidget*) | image |

-(void*)setImage: image;

Parameters

  image |

Definition at line 191 of file CGTKButton.m.

- (void) setImagePosition: |  | (GtkPositionType) | position |

-(void*)setImagePosition: position;

Parameters

  position |

Definition at line 196 of file CGTKButton.m.

- (void) setLabel: |  | (NSString*) | label |

-(void*)setLabel: label;

Parameters

  label |

Definition at line 201 of file CGTKButton.m.

- (void) setRelief: |  | (GtkReliefStyle) | newstyle |

-(void*)setRelief: newstyle;

Parameters

  newstyle |

Definition at line 206 of file CGTKButton.m.

- (void) setUseStock: |  | (BOOL) | useStock |

-(void*)setUseStock: useStock;

Parameters

  useStock |

Definition at line 211 of file CGTKButton.m.

- (void) setUseUnderline: |  | (BOOL) | useUnderline |

-(void*)setUseUnderline: useUnderline;

Parameters

  useUnderline |

Definition at line 216 of file CGTKButton.m.

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

- CGTKButton.h
- CGTKButton.m