Learn R Programming

RGtk2 (version 2.8.8)

GtkImageMenuItem: GtkImageMenuItem

Description

A menu item with an icon

Arguments

Methods and Functions

gtkImageMenuItemSetImage(object, image = NULL) gtkImageMenuItemGetImage(object) gtkImageMenuItemNew(show = TRUE) gtkImageMenuItemNewFromStock(stock.id, accel.group, show = TRUE) gtkImageMenuItemNewWithLabel(label, show = TRUE) gtkImageMenuItemNewWithMnemonic(label, show = TRUE) gtkImageMenuItem(label, stock.id, accel.group, show = TRUE)

Hierarchy

\link{GObject} +----\link{GtkObject} +----\link{GtkWidget} +----\link{GtkContainer} +----\link{GtkBin} +----\link{GtkItem} +----\link{GtkMenuItem} +----GtkImageMenuItem

Interfaces

GtkImageMenuItem implements AtkImplementorIface.

Detailed Description

A GtkImageMenuItem is a menu item which has an icon next to the text label. Note that the user can disable display of menu icons, so make sure to still fill in the text label.

Convenient Construction

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.

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkImageMenuItem.html