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