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

Packing radio buttons into frames



Yet another question... (woooooooooow, I'm really having a very good
programming day today :-)

I want to put multiple radio buttons into a frame.  Is it necessary to
put those radiobuttons into a vbox first and then add that vbox to the
frame, or is it possible to add more than one button to the frame?  I
tried packing the buttons into the frame with gtk_container_add() but
that gave me the following errors at runtime:

Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.

Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.

Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.


Does this mean I have to pack my buttons into a vbox or hbox first
before i add them to the frame with gtk_container_add() ?

Tnx for the help.
Bart

-- 
Bart Vandewoestyne		http://hello.to/MC303		
Hugo Verrieststraat 48		Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM			ICQ# 21275340
BELGIUM - EUROPE		nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------
"If we knew what it was we were doing, it would not
 be called research, would it?"
				-- Albert Einstein --



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