diff options
author | Havoc Pennington <hp@redhat.com> | 2001-06-05 18:22:30 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-06-05 18:22:30 +0000 |
commit | 8fd5c30b2fff090657936686d5c18d95157f4b4d (patch) | |
tree | 41e4de196cbe91b283df2a317dd8b7939bbd2c39 /gtk/gtkcheckmenuitem.h | |
parent | 40bd214919b35f8fb9d306d01180490a6db8a7ed (diff) | |
download | gdk-pixbuf-8fd5c30b2fff090657936686d5c18d95157f4b4d.tar.gz |
Use new mnemonic convenience functions
2001-06-05 Havoc Pennington <hp@redhat.com>
* gtk/gtkcolorsel.c: Use new mnemonic convenience functions
Applying patch from Jeff Franks, with function docs added.
* gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic):
remove call to set_mnemonic_widget, change docs a bit.
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic):
new function
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic):
new function
* gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function
* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new
function
(gtk_radio_button_new_with_mnemonic_from_widget): new function
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic):
new function
* gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new
function
* gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on
auto-selection of mnemonic widget.
Diffstat (limited to 'gtk/gtkcheckmenuitem.h')
-rw-r--r-- | gtk/gtkcheckmenuitem.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gtk/gtkcheckmenuitem.h b/gtk/gtkcheckmenuitem.h index 87317741f..15d9707af 100644 --- a/gtk/gtkcheckmenuitem.h +++ b/gtk/gtkcheckmenuitem.h @@ -67,16 +67,17 @@ struct _GtkCheckMenuItemClass }; -GtkType gtk_check_menu_item_get_type (void) G_GNUC_CONST; -GtkWidget* gtk_check_menu_item_new (void); -GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); -void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, - gboolean is_active); -void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); - -void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item, - gboolean setting); -gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item); +GtkType gtk_check_menu_item_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_check_menu_item_new (void); +GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); +GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label); +void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, + gboolean is_active); +void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); +void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item, + gboolean setting); +gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item); + #ifndef GTK_DISABLE_DEPRECATED void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item, |