Re: [gtk-list] Re: radio buttons in GTK--
- From: Max Watson <redline pdq net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: radio buttons in GTK--
- Date: Wed, 08 Apr 1998 19:39:20 -0500
At 11:20 AM 4/8/98 +0300, Tero Pulkkinen wrote:
>
>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.
This does not work for me. Even a simple app with just a window and a radio
button sigsegvs upon creation of the radio button. I am using the gtk &
gtk-- from the CVS. I have had to resort to a hack where I initialize my
radio button in gtk, then stuff them into the gtkobject of a checkbutton.
It works fine this way, but man, what a mess.
M.Watson <redline@pdq.net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]