Re: [gtk-list] radio buttons in GTK--
- From: Tero Pulkkinen <terop students cc tut fi>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] radio buttons in GTK--
- Date: 08 Apr 1998 11:20:50 +0300
Max Watson <redline@pdq.net> writes:
> Can someone tell me the correct way to set a group of radio buttons in
> gtk--. I can not seem to figure it out. Any help is appreciated.
Check glib.h and from there g_slist_alloc() etc functions.
GSList *l=g_slist_alloc();
Gtk_RadioButton b1(l,"foo"),
b2(l,"foo1"),
b3(l,"foo2");
I.e. just give one GSList instance to constructor argument of the
Gtk_RadioButton.
--
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]