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.
|
Public Member Functions |
virtual | ~ImageMenuItem () |
GtkImageMenuItem* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkImageMenuItem* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| ImageMenuItem () |
| ImageMenuItem (Widget& image, const Glib::ustring& label, bool mnemonic=false) |
| ImageMenuItem (const Glib::ustring& label, bool mnemonic=false) |
| ImageMenuItem (const StockID& id) |
void | set_image (Widget& image) |
| Sets the image of image_menu_item to the given widget.
|
Widget* | get_image () |
| Gets the widget that is currently set as the image of image_menu_item .
|
const Widget* | get_image () const |
| Gets the widget that is currently set as the image of image_menu_item .
|
Related Functions |
(Note that these are not member functions.)
|
Gtk::ImageMenuItem* | wrap (GtkImageMenuItem* object, bool take_copy=false) |