
Last chance! 50% off unlimited learning
Sale ends in
gtkImageMenuItemSetImage(object, image = NULL)
gtkImageMenuItemGetImage(object)
gtkImageMenuItemNew(show = TRUE)
gtkImageMenuItemNewFromStock(stock.id, accel.group, show = TRUE)
gtkImageMenuItemNewWithLabel(label, show = TRUE)
gtkImageMenuItemNewWithMnemonic(label, show = TRUE)
gtkImageMenuItemGetUseStock(object)
gtkImageMenuItemSetUseStock(object, use.stock)
gtkImageMenuItemGetAlwaysShowImage(object)
gtkImageMenuItemSetAlwaysShowImage(object, always.show)
gtkImageMenuItemSetAccelGroup(object, accel.group)
gtkImageMenuItem(label, stock.id, accel.group, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkItem +----GtkMenuItem +----GtkImageMenuItem
GtkBuildable
and GtkActivatable
.gtkImageMenuItem
is the result of collapsing the constructors of GtkImageMenuItem
(gtkImageMenuItemNew
, gtkImageMenuItemNewWithLabel
, gtkImageMenuItemNewWithMnemonic
, gtkImageMenuItemNewFromStock
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.accel-group
[GtkAccelGroup
: * : Write]always-show-image
[logical : Read / Write / Construct]TRUE
, the menu item will ignore the "gtk-menu-images"
setting and always show the image, if available. Use this property if the menuitem would be useless or hard to use
without the image.
Default value: FALSE Since 2.16 image
[GtkWidget
: * : Read / Write]use-stock
[logical : Read / Write / Construct]TRUE
, the label set in the menuitem is used as a
stock id to select the stock item for the item.
Default value: FALSE Since 2.16