Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkMenuItem ╰── GpImageMenuItem
GpImageMenuItem implements AtkImplementorIface, GtkBuildable, GtkActivatable and GtkActionable.
GtkWidget *
gp_image_menu_item_new_with_label (const gchar *label
);
Creates a new GpImageMenuItem containing a label.
GtkWidget *
gp_image_menu_item_new_with_mnemonic (const gchar *label
);
Creates a new GpImageMenuItem 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 gp_image_menu_item_set_image (GpImageMenuItem *self
,GtkWidget *image
);
Sets the image of item
to the given widget.
#define GP_TYPE_IMAGE_MENU_ITEM (gp_image_menu_item_get_type ())
The type for GpImageMenuItem.
struct GpImageMenuItemClass { GtkMenuItemClass parent_class; };
The class structure for the GpImageMenuItem class.
typedef struct _GpImageMenuItem GpImageMenuItem;
GpImageMenuItem is an opaque data structure and can only be accessed using the following functions.