]> Pileus Git - ~andy/gtk/commit
Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 3 Jun 2007 23:39:43 +0000 (23:39 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Sun, 3 Jun 2007 23:39:43 +0000 (23:39 +0000)
commit1fff6b4fbd658e92eb67f70ecf15bbe274fd41b2
treef382d9e0d2bbae37be5c77a29d3178ac339f97dc
parent5b12bfdad2c40923c48b7bafc1a0044032f6548b
Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and

2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkradiobutton.h:
* gtk/gtkradiobutton.c:
* gtk/gtk.symbols: Add gtk_radio_button_set_value(),
gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
Use these functions to set and get an arbitrary integer associated to
a GtkRadioButton in a group, like the value associated to a
GtkRadioAction.

* tests/testgtk.c:
(create_radio_buttons), (radio_toggled_cb): Exercise the new API.

svn path=/trunk/; revision=18019
ChangeLog
gtk/gtk.symbols
gtk/gtkradiobutton.c
gtk/gtkradiobutton.h
tests/testgtk.c