Module dui.MenuItem
| Constructor Summary | |
|---|---|
|
(GtkWidget* gtkWidget) |
|
|
() Creates a new menu item |
|
|
(char label) Creates a new menu item with a label |
|
|
(String label) |
|
|
(char label, void delegate(MenuItem)dlg) Creates a new menu item with a label and a listener |
|
|
(String label, void delegate(MenuItem)dlg) |
|
|
(char label, void delegate(MenuItem)dlg, char action) Creates a new menu item with a label and a listener and a action |
|
|
(String label, void delegate(MenuItem)dlg, String action) |
|
|
(MenuItemListener listener, char label, char action) Creates a new menu item with a label an action and set the MenuItemListener |
|
|
(MenuItemListener listener, String label, String action) |
|
| Methods Summary | |
|---|---|
| alias |
EventHandler!(MenuItem ) |
| alias |
EventHandler!(MenuItem ) |
| protected public static GType |
getType() Gets this class type |
| public void |
addOnActivate(void delegate(MenuItem)) |
| void |
addOnActivateItem(void delegate(MenuItem)) |
| void |
connect(MenuItemListener listener, String action) Connects this menu item to a listener |
| void |
setSubmenu(Widget subMenu) Sets a submenu for this item |
| Menu |
setSubmenu(String label) Creates a new submenu on this menu item. |
| Widget |
getSubmenu() getSubmenu |
| void |
removeSubmenu() removeSubmenu |
| void |
select() select |
| void |
deselect() deselect |
| void |
select(bit stat) select |
| void |
activateItem() activate |
| void |
toggleSizeRequest(gint* requisition) toggleSizeRequest |
| void |
toggleSizeAllocate(gint allocation) toggleSizeAllocate |
| void |
setRightJustified(ushort right) Set something to the right ??? |
| bit |
getRightJustufued() |
| void |
setAccelPath(String accelPath) |