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/gtktogglebutton.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/gtktogglebutton.h')
-rw-r--r-- | gtk/gtktogglebutton.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gtk/gtktogglebutton.h b/gtk/gtktogglebutton.h index c00b98bad..40c8cd7b4 100644 --- a/gtk/gtktogglebutton.h +++ b/gtk/gtktogglebutton.h @@ -67,19 +67,21 @@ struct _GtkToggleButtonClass }; -GtkType gtk_toggle_button_get_type (void) G_GNUC_CONST; -GtkWidget* gtk_toggle_button_new (void); -GtkWidget* gtk_toggle_button_new_with_label (const gchar *label); -void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, - gboolean draw_indicator); -void gtk_toggle_button_set_active (GtkToggleButton *toggle_button, - gboolean is_active); -gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); -void gtk_toggle_button_toggled (GtkToggleButton *toggle_button); - -void gtk_toggle_button_set_inconsistent (GtkToggleButton *toggle_button, - gboolean setting); -gboolean gtk_toggle_button_get_inconsistent (GtkToggleButton *toggle_button); +GtkType gtk_toggle_button_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_toggle_button_new (void); +GtkWidget* gtk_toggle_button_new_with_label (const gchar *label); +GtkWidget* gtk_toggle_button_new_with_mnemonic (const gchar *label); +void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, + gboolean draw_indicator); +void gtk_toggle_button_set_active (GtkToggleButton *toggle_button, + gboolean is_active); +gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); +void gtk_toggle_button_toggled (GtkToggleButton *toggle_button); +void gtk_toggle_button_set_inconsistent (GtkToggleButton *toggle_button, + gboolean setting); +gboolean gtk_toggle_button_get_inconsistent (GtkToggleButton *toggle_button); + #ifdef __cplusplus } |