CoreGTK  3.18.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
CGTKMenuItem Class Reference
Inheritance diagram for CGTKMenuItem:
Collaboration diagram for CGTKMenuItem:

Instance Methods

(id) - init
 
(id) - initWithLabel:
 
(id) - initWithMnemonic:
 
(GtkMenuItem *) - MENUITEM
 
(void) - activate
 
(void) - deselect
 
(NSString *) - getAccelPath
 
(NSString *) - getLabel
 
(BOOL) - getReserveIndicator
 
(BOOL) - getRightJustified
 
(CGTKWidget *) - getSubmenu
 
(BOOL) - getUseUnderline
 
(void) - select
 
(void) - setAccelPath:
 
(void) - setLabel:
 
(void) - setReserveIndicator:
 
(void) - setRightJustified:
 
(void) - setSubmenu:
 
(void) - setUseUnderline:
 
(void) - toggleSizeAllocate:
 
(void) - toggleSizeRequest:
 
- 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) - childNotifyByPspecWithChild:andPspec:
 
(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
 
(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
 
(GActionGroup *) - getActionGroup:
 
(int) - getAllocatedBaseline
 
(int) - getAllocatedHeight
 
(int) - getAllocatedWidth
 
(void) - getAllocation:
 
(CGTKWidget *) - getAncestor:
 
(BOOL) - getAppPaintable
 
(BOOL) - getCanDefault
 
(BOOL) - getCanFocus
 
(void) - getChildRequisition:
 
(BOOL) - getChildVisible
 
(void) - getClip:
 
(GtkClipboard *) - getClipboard:
 
(NSString *) - getCompositeName
 
(BOOL) - getDeviceEnabled:
 
(GdkEventMask) - getDeviceEvents:
 
(GtkTextDirection) - getDirection
 
(GdkDisplay *) - getDisplay
 
(BOOL) - getDoubleBuffered
 
(gint) - getEvents
 
(PangoFontMap *) - getFontMap
 
(const cairo_font_options_t *) - getFontOptions
 
(GdkFrameClock *) - getFrameClock
 
(GtkAlign) - getHalign
 
(BOOL) - getHasTooltip
 
(BOOL) - getHasWindow
 
(BOOL) - getHexpand
 
(BOOL) - getHexpandSet
 
(BOOL) - getMapped
 
(gint) - getMarginBottom
 
(gint) - getMarginEnd
 
(gint) - getMarginLeft
 
(gint) - getMarginRight
 
(gint) - getMarginStart
 
(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
 
(const gchar **) - listActionPrefixes
 
(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) - setClip:
 
(void) - setCompositeName:
 
(void) - setDeviceEnabledWithDevice:andEnabled:
 
(void) - setDeviceEventsWithDevice:andEvents:
 
(void) - setDirection:
 
(void) - setDoubleBuffered:
 
(void) - setEvents:
 
(void) - setFontMap:
 
(void) - setFontOptions:
 
(void) - setHalign:
 
(void) - setHasTooltip:
 
(void) - setHasWindow:
 
(void) - setHexpand:
 
(void) - setHexpandSet:
 
(void) - setMapped:
 
(void) - setMarginBottom:
 
(void) - setMarginEnd:
 
(void) - setMarginLeft:
 
(void) - setMarginRight:
 
(void) - setMarginStart:
 
(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 CGTKMenuItem.h.

Method Documentation

- (void) activate

-(void*)activate;

Reimplemented from CGTKWidget.

Definition at line 77 of file CGTKMenuItem.m.

- (void) deselect

-(void*)deselect;

Definition at line 82 of file CGTKMenuItem.m.

- (NSString *) getAccelPath

-(NSString**)getAccelPath;

Returns
NSString*

Definition at line 87 of file CGTKMenuItem.m.

- (NSString *) getLabel

-(NSString**)getLabel;

Returns
NSString*

Definition at line 92 of file CGTKMenuItem.m.

- (BOOL) getReserveIndicator

-(BOOL*)getReserveIndicator;

Returns
BOOL

Definition at line 97 of file CGTKMenuItem.m.

- (BOOL) getRightJustified

-(BOOL*)getRightJustified;

Returns
BOOL

Definition at line 102 of file CGTKMenuItem.m.

- (CGTKWidget *) getSubmenu

-(CGTKWidget**)getSubmenu;

Returns
CGTKWidget*

Definition at line 107 of file CGTKMenuItem.m.

- (BOOL) getUseUnderline

-(BOOL*)getUseUnderline;

Returns
BOOL

Definition at line 112 of file CGTKMenuItem.m.

- (id) init

Constructors

Reimplemented in CGTKTearoffMenuItem, CGTKCheckMenuItem, CGTKImageMenuItem, and CGTKSeparatorMenuItem.

Definition at line 36 of file CGTKMenuItem.m.

- (GtkMenuItem *) MENUITEM

Methods

Definition at line 72 of file CGTKMenuItem.m.

- (void) select

-(void*)select;

Definition at line 117 of file CGTKMenuItem.m.

- (void) setAccelPath: (NSString*)  accelPath

-(void*)setAccelPath: accelPath;

Parameters
accelPath

Definition at line 122 of file CGTKMenuItem.m.

- (void) setLabel: (NSString*)  label

-(void*)setLabel: label;

Parameters
label

Definition at line 127 of file CGTKMenuItem.m.

- (void) setReserveIndicator: (BOOL)  reserve

-(void*)setReserveIndicator: reserve;

Parameters
reserve

Definition at line 132 of file CGTKMenuItem.m.

- (void) setRightJustified: (BOOL)  rightJustified

-(void*)setRightJustified: rightJustified;

Parameters
rightJustified

Definition at line 137 of file CGTKMenuItem.m.

- (void) setSubmenu: (CGTKWidget*)  submenu

-(void*)setSubmenu: submenu;

Parameters
submenu

Definition at line 142 of file CGTKMenuItem.m.

- (void) setUseUnderline: (BOOL)  setting

-(void*)setUseUnderline: setting;

Parameters
setting

Definition at line 147 of file CGTKMenuItem.m.

- (void) toggleSizeAllocate: (gint)  allocation

-(void*)toggleSizeAllocate: allocation;

Parameters
allocation

Definition at line 152 of file CGTKMenuItem.m.

- (void) toggleSizeRequest: (gint*)  requisition

-(void*)toggleSizeRequest: requisition;

Parameters
requisition

Definition at line 157 of file CGTKMenuItem.m.


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