Inheritance diagram for Menu:

Public Member Functions | |
| this () | |
| Creates a new menu. | |
| this (String title) | |
| Creates a new menu with a title. | |
| void | setTitle (String title) |
| Sets this menu title. | |
| Menu | appendSubmenu (char[] label) |
| Creates and append a submenu to this menu. | |
| void | popup (guint button, guint32 activateTime) |
| Popups up this menu. | |
| void | popup (Widget parentMenuShell, Widget parentMenuItem, void *func, gpointer data, guint button, guint32 activateTime) |
| Display the menu onscreen. | |
| void | reposition () |
| Position the menu according to its position function. | |
| void | popdown () |
| Closes the popup menu. | |
| Widget | getActive () |
| Keep track of the last menu item selected. | |
| void | setActive (guint index) |
| Sets the active item. | |
| AccelGroup | getAccelGroup () |
| Gets the accel group. | |
| void | attachToWidget (Widget attachWidget) |
| A reference count is kept for a widget when it is attached to a particular widget. | |
| void | detach () |
| Detaches this menu. | |
| Widget | getAttachWidget () |
| This should be dumped in favor of data set when the menu is popped up - that is currently in the ItemFactory code, but should be in the Menu code. | |
| void | setTearoffState (bit tornOff) |
| Set tear off state ??? | |
| bit | getTearoffState () |
| Get tear off state. | |
| String | getTitle () |
| Gets the menu title. | |
| void | reorderChild (Widget child, gint position) |
| Reset the position one menu item. | |
| void | setScreen (Screen screen) |
| Sets the screen for this menu. | |
Static Public Member Functions | |
| GType | getType () |
| Gets this class type. | |
|
|
Creates and append a submenu to this menu. This menu item that actualy has the sub menu is also created.
|
|
|
A reference count is kept for a widget when it is attached to a particular widget. This is typically a menu item; it may also be a widget with a popup menu - for instance, the Notebook widget.
|
|
|
Detaches this menu.
|
|
|
Gets the accel group.
|
|
|
Keep track of the last menu item selected. (For the purposes of the option menu
|
|
|
This should be dumped in favor of data set when the menu is popped up - that is currently in the ItemFactory code, but should be in the Menu code.
|
|
|
Get tear off state.
|
|
|
Gets the menu title.
|
|
|
Gets this class type.
Reimplemented from MenuShell. |
|
|
Closes the popup menu.
|
|
||||||||||||||||||||||||||||
|
Display the menu onscreen.
|
|
||||||||||||
|
Popups up this menu.
|
|
||||||||||||
|
Reset the position one menu item.
|
|
|
Position the menu according to its position function. Called from gtkmenuitem.c when a menu-item changes its allocation |
|
|
Sets the active item.
|
|
|
Sets the screen for this menu.
|
|
|
Set tear off state ???
|
|
|
Sets this menu title.
|
|
|
Creates a new menu with a title.
|
|
|
Creates a new menu.
|
|
|
|
|