Re: [gtk-list] Quick question about checkboxes.




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




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