How to check if a radiobutton is activated?



Hello!
In my program (created with glade/libglade) i use a dialog
with some radiobuttons in it. When the user clicks 'ok' the
function connected to the 'ok'-button should check witch
radiobutton is activated.
I looked in the archives but could only find something about
GTK_TOGGLE_BUTTON(radiobutton)->active but that 
always gives me '1' no matter what
radiobutton is active.

Can some one recomend a good example of how to check
radiobuttons? The GTK tutorial-examples does not cover my 
problem, it only creates radiobuttons and leaves them. :(



If some one could help me i would be very glad!






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]