GtkMenuItemClass

Members

Variables

GtkReserved1
void function() GtkReserved1;
GtkReserved2
void function() GtkReserved2;
GtkReserved3
void function() GtkReserved3;
GtkReserved4
void function() GtkReserved4;
activate
void function(GtkMenuItem* menuItem) activate;

Signal emitted when the item is activated.

activateItem
void function(GtkMenuItem* menuItem) activateItem;

Signal emitted when the item is activated, but also if the menu item has a submenu.

deselect
void function(GtkMenuItem* menuItem) deselect;

Signal emitted when the item is deselected.

getLabel
const(char)* function(GtkMenuItem* menuItem) getLabel;

Gets @text from the #GtkMenuItem label

hideOnActivate
uint hideOnActivate;

If true, then we should always hide the menu when the gtk.menu_item.MenuItem is activated. Otherwise, it is up to the caller.

parentClass
GtkBinClass parentClass;

The parent class.

select
void function(GtkMenuItem* menuItem) select;

Signal emitted when the item is selected.

setLabel
void function(GtkMenuItem* menuItem, const(char)* label) setLabel;

Sets @text on the #GtkMenuItem label

toggleSizeAllocate
void function(GtkMenuItem* menuItem, int allocation) toggleSizeAllocate;
toggleSizeRequest
void function(GtkMenuItem* menuItem, int* requisition) toggleSizeRequest;