summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckmenuitem.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1997-12-07 02:34:38 +0000
committerTim Janik <timj@src.gnome.org>1997-12-07 02:34:38 +0000
commit37f6b421f2a9860c353d06c0aaa303edea345dfe (patch)
treef08557eb2ddb0761990e0f82462eb2a88b776a3e /gtk/gtkcheckmenuitem.h
parent7e4ee8cb4f6cdba9adcd4f44de5e9a86563e1c28 (diff)
downloadgtk+-37f6b421f2a9860c353d06c0aaa303edea345dfe.tar.gz
applied jamesa-971010-0 for stability. applied jamesa-971010-2 for a small
* gtkfilesel.c: applied jamesa-971010-0 for stability. * gtkrc.c: applied jamesa-971010-2 for a small optimization. * gtkcheckmenuitem.h: * gtkcheckmenuitem.c: * gtkradiomenuitem.c: * testgtk.c: applied johannes-971113-0 which adds gtk_check_menu_item_set_show_toggle() to change the way check menu items and radio menu items look. -timj
Diffstat (limited to 'gtk/gtkcheckmenuitem.h')
-rw-r--r--gtk/gtkcheckmenuitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcheckmenuitem.h b/gtk/gtkcheckmenuitem.h
index 1dc816c7c7..e2b195dcfd 100644
--- a/gtk/gtkcheckmenuitem.h
+++ b/gtk/gtkcheckmenuitem.h
@@ -41,6 +41,7 @@ struct _GtkCheckMenuItem
GtkMenuItem menu_item;
guint active : 1;
+ guint always_show_toggle : 1;
};
struct _GtkCheckMenuItemClass
@@ -58,6 +59,8 @@ GtkWidget* gtk_check_menu_item_new (void);
GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label);
void gtk_check_menu_item_set_state (GtkCheckMenuItem *check_menu_item,
gint state);
+void gtk_check_menu_item_set_show_toggle(GtkCheckMenuItem *menu_item,
+ gboolean always);
void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item);