Re: Using togglebuttons like radiosbuttons



"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]