| Top |
| GtkWidget * | mate_image_menu_item_new () |
| GtkWidget * | mate_image_menu_item_new_with_label () |
| GtkWidget * | mate_image_menu_item_new_with_mnemonic () |
| void | mate_image_menu_item_set_image () |
| GtkWidget * | mate_image_menu_item_get_image () |
GtkWidget *
mate_image_menu_item_new (void);
Creates a new MateImageMenuItem with an empty label.
GtkWidget *
mate_image_menu_item_new_with_label (const gchar *label);
Creates a new MateImageMenuItem containing a label.
GtkWidget *
mate_image_menu_item_new_with_mnemonic
(const gchar *label);
Creates a new MateImageMenuItem containing a label. The label
will be created using gtk_label_new_with_mnemonic(), so underscores
in label
indicate the mnemonic for the menu item.
void mate_image_menu_item_set_image (MateImageMenuItem *image_menu_item,GtkWidget *image);
Sets the image of image_menu_item
to the given widget.
Note that it depends on the show-menu-images setting whether
the image will be displayed or not.
image_menu_item |
a MateImageMenuItem. |
|
image |
a widget to set as the image for the menu item. |
[allow-none] |
GtkWidget *
mate_image_menu_item_get_image (MateImageMenuItem *image_menu_item);
Gets the widget that is currently set as the image of image_menu_item
.
See mate_image_menu_item_set_image().