diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-04-07 13:03:20 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-04-07 13:03:20 +0000 |
commit | 97f2e3101910fb4ceb51aff396d65d6aae99e6a0 (patch) | |
tree | 6c3bf13e70fb852c1e2d0ac2979f869cd264c9fd | |
parent | be133686bce9a45f49a38db433b8c358886325ca (diff) | |
download | gtk+-97f2e3101910fb4ceb51aff396d65d6aae99e6a0.tar.gz |
Add a sentence about toggling. (#159382, Worik Stanton)
2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
toggling. (#159382, Worik Stanton)
-rw-r--r-- | docs/reference/ChangeLog | 5 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkradiobutton.sgml | 16 |
2 files changed, 15 insertions, 6 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index dcd87cbf7e..5a7793dd6e 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-04-07 Matthias Clasen <mclasen@redhat.com> + + * gtk/tmpl/gtkradiobutton.sgml: Add a sentence about + toggling. (#159382, Worik Stanton) + 2005-04-05 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtktooltips.sgml: Mention enter and leave diff --git a/docs/reference/gtk/tmpl/gtkradiobutton.sgml b/docs/reference/gtk/tmpl/gtkradiobutton.sgml index 089bb22329..878bbb82a0 100644 --- a/docs/reference/gtk/tmpl/gtkradiobutton.sgml +++ b/docs/reference/gtk/tmpl/gtkradiobutton.sgml @@ -11,9 +11,9 @@ as its position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right.</para> <para> -Every radio button is a member of some group of radio buttons. When one is selected, all other -radio buttons in the same group are deselected. A #GtkRadioButton is one way -of giving the user a choice from many options. +Every radio button is a member of some group of radio buttons. When one is +selected, all other radio buttons in the same group are deselected. A +#GtkRadioButton is one way of giving the user a choice from many options. </para> <para> Radio button widgets are created with gtk_radio_button_new(), passing NULL @@ -71,6 +71,13 @@ void create_radio_buttons (void) { </programlisting> </example> </para> +<para> +When an unselected button in the group is clicked the clicked button +receives the "toggled" signal, as does the previously selected button. +Inside the "toggled" handler, gtk_toggle_button_get_active() can be used +to determine if the button has been selected or deselected. +</para> + <!-- ##### SECTION See_Also ##### --> <para> @@ -84,9 +91,6 @@ many.</para></listitem> </para> -<!-- ##### SECTION Stability_Level ##### --> - - <!-- ##### STRUCT GtkRadioButton ##### --> <para> Contains only private data that should be read and manipulated using the |