summaryrefslogtreecommitdiff
path: root/gtk/gtkimagemenuitem.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@gnome.org>2008-11-06 17:19:08 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2008-11-06 17:19:08 +0000
commit70a5f5388e7ebd416bf1c81dbacc49cdea9365f2 (patch)
tree72ff870c0fb7ad7063ea42d6e8c6478405f75b40 /gtk/gtkimagemenuitem.h
parent71f27b36de67fe83662cc0c5e98d2b13ed4da3b0 (diff)
downloadgdk-pixbuf-70a5f5388e7ebd416bf1c81dbacc49cdea9365f2.tar.gz
added new apis gtk_menu_item_[set/get]_label() and
2008-11-06 Tristan Van Berkom <tvb@gnome.org> * gtk/gtkmenuitem.[ch]: added new apis gtk_menu_item_[set/get]_label() and gtk_menu_item_[set/get]_use_underline() with "label" and "use-underline" properties, constructors cleaned up to use g_object_new(). GtkMenuItemClass take new vfuncs ->get/set_label(). * gtk/gtkcheckmenuitem.c: constructors cleaned up to use g_object_new(). * gtk/gtkimagemenuitem.[ch]: added new apis gtk_image_menu_item_[get/set]_use_stock() and gtk_image_menu_item_set_accel_group() with "use-stock" and write-only "accel-group" properties. constructors cleaned up to use g_object_new(). svn path=/trunk/; revision=21766
Diffstat (limited to 'gtk/gtkimagemenuitem.h')
-rw-r--r--gtk/gtkimagemenuitem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkimagemenuitem.h b/gtk/gtkimagemenuitem.h
index 121042719..d379f6a24 100644
--- a/gtk/gtkimagemenuitem.h
+++ b/gtk/gtkimagemenuitem.h
@@ -53,7 +53,8 @@ struct _GtkImageMenuItem
GtkMenuItem menu_item;
/*< private >*/
- GtkWidget *GSEAL (image);
+ GtkWidget *GSEAL (image);
+
};
struct _GtkImageMenuItemClass
@@ -71,6 +72,11 @@ GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id,
void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
GtkWidget *image);
GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item);
+void gtk_image_menu_item_set_use_stock (GtkImageMenuItem *image_menu_item,
+ gboolean use_stock);
+gboolean gtk_image_menu_item_get_use_stock (GtkImageMenuItem *image_menu_item);
+void gtk_image_menu_item_set_accel_group (GtkImageMenuItem *image_menu_item,
+ GtkAccelGroup *accel_group);
G_END_DECLS