CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
Instance Methods | List of all members
CGTKMenu Class Reference
Inheritance diagram for CGTKMenu:
CGTKMenuShell CGTKContainer CGTKWidget CGTKObject CGTKRecentChooserMenu

Instance Methods

(GtkMenu *) - MENU
 
(id) - init
 
(void) - popupWithParentMenuShell:andParentMenuItem:andGtkMenuPositionFuncfunc:andData:andButton:andActivateTime:
 
(void) - reposition
 
(void) - popdown
 
(CGTKWidget *) - getActive
 
(void) - setActive:
 
(void) - setAccelGroup:
 
(GtkAccelGroup *) - getAccelGroup
 
(NSString *) - getAccelPath
 
(void) - setAccelPath:
 
(void) - attachToWidgetWithAttachWidget:andDetacher:
 
(void) - detach
 
(CGTKWidget *) - getAttachWidget
 
(void) - setTearoffState:
 
(BOOL) - getTearoffState
 
(NSString *) - getTitle
 
(void) - setTitle:
 
(void) - reorderChildWithChild:andPosition:
 
(void) - setScreen:
 
(void) - attachWithChild:andLeftAttach:andRightAttach:andTopAttach:andBottomAttach:
 
(void) - setMonitor:
 
(NSNumber *) - getMonitor
 
(GList *) - getForAttachWidget:
 
(void) - setReserveToggleSize:
 
(BOOL) - getReserveToggleSize
 
- Instance Methods inherited from CGTKMenuShell
(GtkMenuShell *) - MENU_SHELL
 
(void) - append:
 
(void) - prepend:
 
(void) - insertWithChild:andPosition:
 
(void) - deactivate
 
(void) - selectItem:
 
(void) - deselect
 
(void) - activateItemWithMenuItem:andForceDeactivate:
 
(void) - selectFirst:
 
(void) - cancel
 
(BOOL) - getTakeFocus
 
(void) - setTakeFocus:
 
- Instance Methods inherited from CGTKContainer
(GtkContainer *) - CONTAINER
 
(void) - setBorderWidth:
 
(NSNumber *) - getBorderWidth
 
(void) - add:
 
(void) - remove:
 
(void) - setResizeMode:
 
(GtkResizeMode) - getResizeMode
 
(void) - checkResize
 
(void) - foreachWithCallback:andCallbackData:
 
(GList *) - getChildren
 
(void) - propagateExposeWithChild:andEvent:
 
(void) - setFocusChain:
 
(BOOL) - getFocusChain:
 
(void) - unsetFocusChain
 
(void) - setReallocateRedraws:
 
(void) - setFocusChild:
 
(CGTKWidget *) - getFocusChild
 
(void) - setFocusVadjustment:
 
(GtkAdjustment *) - getFocusVadjustment
 
(void) - setFocusHadjustment:
 
(GtkAdjustment *) - getFocusHadjustment
 
(void) - resizeChildren
 
(GType) - childType
 
(void) - classInstallChildPropertyWithCclass:andPropertyId:andPspec:
 
(GParamSpec *) - classFindChildPropertyWithCclass:andPropertyName:
 
(GParamSpec **) - classListChildPropertiesWithCclass:andNProperties:
 
(void) - childSetValistWithChild:andFirstPropertyName:andVarArgs:
 
(void) - childGetValistWithChild:andFirstPropertyName:andVarArgs:
 
(void) - childSetPropertyWithChild:andPropertyName:andValue:
 
(void) - childGetPropertyWithChild:andPropertyName:andValue:
 
(void) - forallWithCallback:andCallbackData:
 
- Instance Methods inherited from CGTKWidget
(id) - initWithGtkWidget:andIncrementRefCount:
 
(id) - initWithGtkWidget:
 
(id) - initWithWidget:
 
(GtkWidget *) - WIDGET
 
(void) - setWidget:
 
(void) - destroy
 
(void) - unparent
 
(void) - show
 
(void) - showNow
 
(void) - hide
 
(void) - showAll
 
(void) - map
 
(void) - unmap
 
(void) - realize
 
(void) - unrealize
 
(void) - queueDraw
 
(void) - queueResize
 
(void) - queueResizeNoRedraw
 
(void) - sizeRequest:
 
(void) - getChildRequisition:
 
(void) - sizeAllocate:
 
(void) - addAcceleratorWithSignal:andAccelGroup:andAccelKey:andAccelMods:andAccelFlags:
 
(BOOL) - removeAcceleratorWithGroup:andKey:andAccelMods:
 
(void) - setAccelPathWithAccelPath:andGroup:
 
(GList *) - listAccelClosures
 
(BOOL) - canActivateAccel:
 
(BOOL) - event:
 
(BOOL) - activate
 
(void) - reparent:
 
(BOOL) - intersectWithArea:andIntersection:
 
(BOOL) - isFocus
 
(void) - grabFocus
 
(void) - grabDefault
 
(void) - setName:
 
(NSString *) - getName
 
(void) - setState:
 
(void) - setSensitive:
 
(void) - setParent:
 
(void) - setParentWindow:
 
(GdkWindow *) - getParentWindow
 
(void) - setEvents:
 
(void) - addEvents:
 
(void) - setExtensionEvents:
 
(GdkExtensionMode) - getExtensionEvents
 
(CGTKWidget *) - getToplevel
 
(CGTKWidget *) - getAncestor:
 
(GdkColormap *) - getColormap
 
(void) - setColormap:
 
(GdkVisual *) - getVisual
 
(NSNumber *) - getEvents
 
(void) - getPointerWithX:andY:
 
(BOOL) - isAncestor:
 
(BOOL) - hideOnDelete
 
(void) - setStyle:
 
(void) - ensureStyle
 
(GtkStyle *) - getStyle
 
(void) - resetRcStyles
 
(void) - setDirection:
 
(GtkTextDirection) - getDirection
 
(void) - shapeCombineMaskWithShapeMask:andOffsetX:andOffsetY:
 
(void) - inputShapeCombineMaskWithShapeMask:andOffsetX:andOffsetY:
 
(void) - pathWithPathLength:andPath:andPathReversed:
 
(void) - classPathWithPathLength:andPath:andPathReversed:
 
(NSString *) - getCompositeName
 
(void) - modifyStyleWithStyle:
 
(GtkRcStyle *) - getModifierStyle
 
(void) - modifyFgWithState:andColor:
 
(void) - modifyBgWithState:andColor:
 
(void) - modifyTextWithState:andColor:
 
(void) - modifyBaseWithState:andColor:
 
(void) - modifyFontWithFontDescription:
 
(void) - modifyCursorWithPrimary:andSecondary:
 
(PangoContext *) - createPangoContext
 
(PangoContext *) - getPangoContext
 
(PangoLayout *) - createPangoLayout:
 
(GdkPixbuf *) - renderIconWithStockId:andSize:andDetail:
 
(void) - queueDrawAreaWithX:andY:andWidth:andHeight:
 
(void) - setAppPaintable:
 
(void) - setDoubleBuffered:
 
(void) - setRedrawOnAllocate:
 
(void) - setCompositeName:
 
(BOOL) - setScrollAdjustmentsWithHadjustment:andVadjustment:
 
(BOOL) - mnemonicActivate:
 
(GdkRegion *) - regionIntersect:
 
(NSNumber *) - sendExpose:
 
(BOOL) - sendFocusChange:
 
(void) - styleGetPropertyWithName:andValue:
 
(void) - styleGetValistWithPropertyName:andVaList:
 
(void) - styleAttach
 
(AtkObject *) - getAccessible
 
(BOOL) - childFocus:
 
(void) - childNotify:
 
(void) - freezeChildNotify
 
(BOOL) - getChildVisible
 
(CGTKWidget *) - getParent
 
(GtkSettings *) - getSettings
 
(GtkClipboard *) - getClipboard:
 
(GdkDisplay *) - getDisplay
 
(GdkWindow *) - getRootWindow
 
(GdkScreen *) - getScreen
 
(BOOL) - hasScreen
 
(void) - getSizeRequestWithWidth:andHeight:
 
(void) - setChildVisible:
 
(void) - setSizeRequestWithWidth:andHeight:
 
(void) - thawChildNotify
 
(void) - setNoShowAll:
 
(BOOL) - getNoShowAll
 
(GList *) - listMnemonicLabels
 
(void) - addMnemonicLabel:
 
(void) - removeMnemonicLabel:
 
(BOOL) - isComposited
 
(void) - errorBell
 
(BOOL) - keynavFailed:
 
(NSString *) - getTooltipMarkup
 
(void) - setTooltipMarkup:
 
(NSString *) - getTooltipText
 
(void) - setTooltipText:
 
(BOOL) - getHasTooltip
 
(void) - setHasTooltip:
 
(void) - triggerTooltipQuery
 
(GdkPixmap *) - getSnapshot:
 
(GdkWindow *) - getWindow
 
(void) - getAllocation:
 
(void) - setAllocation:
 
(BOOL) - getAppPaintable
 
(BOOL) - getCanDefault
 
(void) - setCanDefault:
 
(BOOL) - getCanFocus
 
(void) - setCanFocus:
 
(BOOL) - getDoubleBuffered
 
(BOOL) - getHasWindow
 
(void) - setHasWindow:
 
(BOOL) - getSensitive
 
(BOOL) - isSensitive
 
(GtkStateType) - getState
 
(BOOL) - getVisible
 
(void) - setVisible:
 
(BOOL) - hasDefault
 
(BOOL) - hasFocus
 
(BOOL) - hasGrab
 
(BOOL) - hasRcStyle
 
(BOOL) - isDrawable
 
(BOOL) - isTopLevel
 
(void) - setWindow:
 
(void) - setReceivesDefault:
 
(BOOL) - getReceivesDefault
 
(void) - setRealized:
 
(BOOL) - getRealized
 
(void) - setMapped:
 
(BOOL) - getMapped
 
(void) - getRequisition:
 
(void) - grabAdd
 
(void) - grabRemove
 
(void) - propagateEvent:
 
- Instance Methods inherited from CGTKObject
(id) - initWithGtkObject:
 
(void) - setGtkObject:
 

Additional Inherited Members

- Class Methods inherited from CGTKWidget
(id) + widgetWithGtkWidget:
 
(BOOL) + translateCoordinatesWithSrc:andDest:andSrcX:andSrcY:andDestX:andDestY:
 
(void) + pushColormap:
 
(void) + popColormap
 
(void) + setDefaultColormap:
 
(GtkStyle *) + getDefaultStyle
 
(GdkColormap *) + getDefaultColormap
 
(GdkVisual *) + getDefaultVisual
 
(void) + setDefaultDirection:
 
(GtkTextDirection) + getDefaultDirection
 
(void) + popCompositeChild
 
(void) + pushCompositeChild
 
(void) + classInstallStylePropertyWithClass:andParamSpec:
 
(void) + classInstallStylePropertyParserWithClass:andParamSpec:andParser:
 
(GParamSpec *) + classFindStylePropertyWithClass:andPropertyName:
 
(GParamSpec **) + classListStylePropertiesWithClass:andNumberOfProperties:
 
(GtkRequisition *) + requisitionCopy:
 
(void) + requisitionFree:
 
(CGTKWidget *) + grabGetCurrent
 
(CGTKWidget *) + getEventWidget:
 
- Class Methods inherited from CGTKObject
(CGTKObject *) + objectWithGtkObject:
 
- Protected Attributes inherited from CGTKObject
GtkObject * __gtkObject
 

Method Documentation

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

Forwards message to: void gtk_menu_attach_to_widget (GtkMenu* menu, GtkWidget* attach_widget, GtkMenuDetachFuncdetacher)

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

Forwards message to: void gtk_menu_attach (GtkMenu* menu, GtkWidget* child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach)

- (void) detach

Forwards message to: void gtk_menu_detach (GtkMenu* menu)

- (GtkAccelGroup *) getAccelGroup

Forwards message to: GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu* menu)

- (NSString *) getAccelPath

Forwards message to: const gchar* gtk_menu_get_accel_path (GtkMenu* menu)

- (CGTKWidget *) getActive

Forwards message to: GtkWidget* gtk_menu_get_active (GtkMenu* menu)

- (CGTKWidget *) getAttachWidget

Forwards message to: GtkWidget* gtk_menu_get_attach_widget (GtkMenu* menu)

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

Forwards message to: GList* gtk_menu_get_for_attach_widget (GtkWidget* widget)

- (NSNumber *) getMonitor

Forwards message to: gint gtk_menu_get_monitor (GtkMenu* menu)

- (BOOL) getReserveToggleSize

Forwards message to: gboolean gtk_menu_get_reserve_toggle_size (GtkMenu* menu)

- (BOOL) getTearoffState

Forwards message to: gboolean gtk_menu_get_tearoff_state (GtkMenu* menu)

- (NSString *) getTitle

Forwards message to: const gchar* gtk_menu_get_title (GtkMenu* menu)

- (id) init

Forwards message to: GtkWidget* gtk_menu_new (void)

Implements CGTKWidget.

Implemented in CGTKRecentChooserMenu.

- (GtkMenu *) MENU

Returns internal GtkMenu

- (void) popdown

Forwards message to: void gtk_menu_popdown (GtkMenu* menu)

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

Forwards message to: void gtk_menu_popup (GtkMenu* menu, GtkWidget* parent_menu_shell, GtkWidget* parent_menu_item, GtkMenuPositionFuncfunc, gpointerdata, guintbutton, guint32activate_time)

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

Forwards message to: void gtk_menu_reorder_child (GtkMenu* menu, GtkWidget* child, gint position)

- (void) reposition

Forwards message to: void gtk_menu_reposition (GtkMenu* menu)

- (void) setAccelGroup: (GtkAccelGroup *)  accelGroup

Forwards message to: void gtk_menu_set_accel_group (GtkMenu* menu, GtkAccelGroup* accel_group)

- (void) setAccelPath: (NSString *)  accelPath

Forwards message to: void gtk_menu_set_accel_path (GtkMenu* menu, const gchar* accel_path)

- (void) setActive: (NSNumber *)  index

Forwards message to: void gtk_menu_set_active (GtkMenu* menu, guint index_)

- (void) setMonitor: (NSNumber *)  monitorNum

Forwards message to: void gtk_menu_set_monitor (GtkMenu* menu, gint monitor_num)

- (void) setReserveToggleSize: (BOOL)  reserveToggleSize

Forwards message to: void gtk_menu_set_reserve_toggle_size (GtkMenu* menu, gboolean reserve_toggle_size)

- (void) setScreen: (GdkScreen *)  screen

Forwards message to: void gtk_menu_set_screen (GtkMenu* menu, GdkScreen* screen)

- (void) setTearoffState: (BOOL)  tornOff

Forwards message to: void gtk_menu_set_tearoff_state (GtkMenu* menu, gboolean torn_off)

- (void) setTitle: (NSString *)  title

Forwards message to: void gtk_menu_set_title (GtkMenu* menu, const gchar* title)


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