[489] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Quick question about checkboxes.
daemon@ATHENA.MIT.EDU (Owen Taylor)
Mon Jul 21 10:20:20 1997
To: gtk-list@redhat.com
From: Owen Taylor <owt1@cornell.edu>
Date: 21 Jul 1997 10:21:29 -0400
In-Reply-To: Rob Browning's message of 21 Jul 1997 01:50:33 -0500
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Rob Browning <rlb@cs.utexas.edu> writes:
> I just started learning gtk, and I didn't see any way to query a the
> state of a checkbox. I know that you can set the state, but can you
> ask about it? Or are you just supposed to rely on catching all the
> signals and storing the state yourself?
Just look at the relevant structure member:
GTK_TOGGLE_BUTTON(widget)->active
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null