Re: Using togglebuttons like radiosbuttons
- From: Owen Taylor <otaylor redhat com>
- To: "Charles Petersen" <mauddib hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: Using togglebuttons like radiosbuttons
- Date: 19 Aug 2001 15:35:12 -0400
"Charles Petersen" <mauddib hotmail com> writes:
> I have a group of togglebuttons with pixmaps and labels in them, but
> I only want one of them to be toggled at a time, like a group of radio
> buttons. Is it possible to use these togglebuttons like a group of
> radios without writing special handling code?
Use radio buttons and use:
void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button,
gboolean draw_indicator);
With draw_indicator = FALSE, and they will be drawn in toggle button
style.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]