CoreGTK  3.10.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKMenu Class Reference
Inheritance diagram for CGTKMenu:
Collaboration diagram for CGTKMenu:

Instance Methods

(id) - init
 
(id) - initFromModel:
 
(GtkMenu *) - MENU
 
(void) - attachWithChild:andLeftAttach:andRightAttach:andTopAttach:andBottomAttach:
 
(void) - attachToWidgetWithAttachWidget:andDetacher:
 
(void) - detach
 
(GtkAccelGroup *) - getAccelGroup
 
(NSString *) - getAccelPath
 
(CGTKWidget *) - getActive
 
(CGTKWidget *) - getAttachWidget
 
(gint) - getMonitor
 
(BOOL) - getReserveToggleSize
 
(BOOL) - getTearoffState
 
(NSString *) - getTitle
 
(void) - popdown
 
(void) - popupWithParentMenuShell:andParentMenuItem:andFunc:andData:andButton:andActivateTime:
 
(void) - popupForDeviceWithDevice:andParentMenuShell:andParentMenuItem:andFunc:andData:andDestroy:andButton:andActivateTime:
 
(void) - reorderChildWithChild:andPosition:
 
(void) - reposition
 
(void) - setAccelGroup:
 
(void) - setAccelPath:
 
(void) - setActive:
 
(void) - setMonitor:
 
(void) - setReserveToggleSize:
 
(void) - setScreen:
 
(void) - setTearoffState:
 
(void) - setTitle:
 
- Instance Methods inherited from CGTKMenuShell
(GtkMenuShell *) - MENUSHELL
 
(void) - activateItemWithMenuItem:andForceDeactivate:
 
(void) - append:
 
(void) - bindModelWithModel:andActionNamespace:andWithSeparators:
 
(void) - cancel
 
(void) - deactivate
 
(void) - deselect
 
(CGTKWidget *) - getParentShell
 
(CGTKWidget *) - getSelectedItem
 
(BOOL) - getTakeFocus
 
(void) - insertWithChild:andPosition:
 
(void) - prepend:
 
(void) - selectFirst:
 
(void) - selectItem:
 
(void) - setTakeFocus:
 
- Instance Methods inherited from CGTKContainer
(GtkContainer *) - CONTAINER
 
(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
 

Class Methods

(GList *) + getForAttachWidget:
 
- Class Methods inherited from CGTKWidget
(GtkTextDirection) + getDefaultDirection
 
(GtkStyle *) + getDefaultStyle
 
(void) + popCompositeChild
 
(void) + pushCompositeChild
 
(void) + setDefaultDirection:
 
- Class Methods inherited from CGTKBase
(CGTKBase *) + withGObject:
 

Additional Inherited Members

- Protected Attributes inherited from CGTKBase
GObject * __gObject
 

Detailed Description

Definition at line 34 of file CGTKMenu.h.

Method Documentation

- (void) attachToWidgetWithAttachWidget: (CGTKWidget*)  attachWidget
andDetacher: (GtkMenuDetachFunc)  detacher 

-(void*)attachToWidgetWithAttachWidget:(CGTKWidget*) attachWidget andDetacher:(GtkMenuDetachFunc) detacher;

Parameters
attachWidget
detacher

Definition at line 75 of file CGTKMenu.m.

- (void) attachWithChild: (CGTKWidget*)  child
andLeftAttach: (guint)  leftAttach
andRightAttach: (guint)  rightAttach
andTopAttach: (guint)  topAttach
andBottomAttach: (guint)  bottomAttach 

-(void*)attachWithChild:(CGTKWidget*) child andLeftAttach:(guint) leftAttach andRightAttach:(guint) rightAttach andTopAttach:(guint) topAttach andBottomAttach:(guint) bottomAttach;

Parameters
child
leftAttach
rightAttach
topAttach
bottomAttach

Definition at line 70 of file CGTKMenu.m.

- (void) detach

-(void*)detach;

Definition at line 80 of file CGTKMenu.m.

- (GtkAccelGroup *) getAccelGroup

-(GtkAccelGroup**)getAccelGroup;

Returns
GtkAccelGroup*

Definition at line 85 of file CGTKMenu.m.

- (NSString *) getAccelPath

-(NSString**)getAccelPath;

Returns
NSString*

Definition at line 90 of file CGTKMenu.m.

- (CGTKWidget *) getActive

-(CGTKWidget**)getActive;

Returns
CGTKWidget*

Definition at line 95 of file CGTKMenu.m.

- (CGTKWidget *) getAttachWidget

-(CGTKWidget**)getAttachWidget;

Returns
CGTKWidget*

Definition at line 100 of file CGTKMenu.m.

+ (GList *) getForAttachWidget: (CGTKWidget*)  widget

Functions

Definition at line 36 of file CGTKMenu.m.

- (gint) getMonitor

-(gint*)getMonitor;

Returns
gint

Definition at line 105 of file CGTKMenu.m.

- (BOOL) getReserveToggleSize

-(BOOL*)getReserveToggleSize;

Returns
BOOL

Definition at line 110 of file CGTKMenu.m.

- (BOOL) getTearoffState

-(BOOL*)getTearoffState;

Returns
BOOL

Definition at line 115 of file CGTKMenu.m.

- (NSString *) getTitle

-(NSString**)getTitle;

Returns
NSString*

Definition at line 120 of file CGTKMenu.m.

- (id) init

Constructors

Reimplemented in CGTKRecentChooserMenu.

Definition at line 41 of file CGTKMenu.m.

- (GtkMenu *) MENU

Methods

Definition at line 65 of file CGTKMenu.m.

- (void) popdown

-(void*)popdown;

Definition at line 125 of file CGTKMenu.m.

- (void) popupForDeviceWithDevice: (GdkDevice*)  device
andParentMenuShell: (CGTKWidget*)  parentMenuShell
andParentMenuItem: (CGTKWidget*)  parentMenuItem
andFunc: (GtkMenuPositionFunc)  func
andData: (gpointer)  data
andDestroy: (GDestroyNotify)  destroy
andButton: (guint)  button
andActivateTime: (guint32)  activateTime 

-(void*)popupForDeviceWithDevice:(GdkDevice*) device andParentMenuShell:(CGTKWidget*) parentMenuShell andParentMenuItem:(CGTKWidget*) parentMenuItem andFunc:(GtkMenuPositionFunc) func andData:(gpointer) data andDestroy:(GDestroyNotify) destroy andButton:(guint) button andActivateTime:(guint32) activateTime;

Parameters
device
parentMenuShell
parentMenuItem
func
data
destroy
button
activateTime

Definition at line 135 of file CGTKMenu.m.

- (void) popupWithParentMenuShell: (CGTKWidget*)  parentMenuShell
andParentMenuItem: (CGTKWidget*)  parentMenuItem
andFunc: (GtkMenuPositionFunc)  func
andData: (gpointer)  data
andButton: (guint)  button
andActivateTime: (guint32)  activateTime 

-(void*)popupWithParentMenuShell:(CGTKWidget*) parentMenuShell andParentMenuItem:(CGTKWidget*) parentMenuItem andFunc:(GtkMenuPositionFunc) func andData:(gpointer) data andButton:(guint) button andActivateTime:(guint32) activateTime;

Parameters
parentMenuShell
parentMenuItem
func
data
button
activateTime

Definition at line 130 of file CGTKMenu.m.

- (void) reorderChildWithChild: (CGTKWidget*)  child
andPosition: (gint)  position 

-(void*)reorderChildWithChild:(CGTKWidget*) child andPosition:(gint) position;

Parameters
child
position

Definition at line 140 of file CGTKMenu.m.

- (void) reposition

-(void*)reposition;

Definition at line 145 of file CGTKMenu.m.

- (void) setAccelGroup: (GtkAccelGroup*)  accelGroup

-(void*)setAccelGroup: accelGroup;

Parameters
accelGroup

Definition at line 150 of file CGTKMenu.m.

- (void) setAccelPath: (NSString*)  accelPath

-(void*)setAccelPath: accelPath;

Parameters
accelPath

Definition at line 155 of file CGTKMenu.m.

- (void) setActive: (guint)  index

-(void*)setActive: index;

Parameters
index

Definition at line 160 of file CGTKMenu.m.

- (void) setMonitor: (gint)  monitorNum

-(void*)setMonitor: monitorNum;

Parameters
monitorNum

Definition at line 165 of file CGTKMenu.m.

- (void) setReserveToggleSize: (BOOL)  reserveToggleSize

-(void*)setReserveToggleSize: reserveToggleSize;

Parameters
reserveToggleSize

Definition at line 170 of file CGTKMenu.m.

- (void) setScreen: (GdkScreen*)  screen

-(void*)setScreen: screen;

Parameters
screen

Definition at line 175 of file CGTKMenu.m.

- (void) setTearoffState: (BOOL)  tornOff

-(void*)setTearoffState: tornOff;

Parameters
tornOff

Definition at line 180 of file CGTKMenu.m.

- (void) setTitle: (NSString*)  title

-(void*)setTitle: title;

Parameters
title

Definition at line 185 of file CGTKMenu.m.


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