Re: multiple GtkVBoxs in one GtkFrame
| From: | Steph | Date: | Fri, 08 Feb 2002 15:36:00 +0000 |
| Subject: | Re: multiple GtkVBoxs in one GtkFrame | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1208@lists.php.net to get a copy of this message | ||
Yeah, you will. All GtkBin descendants can only have one child.
Have a GtkVBox $parent_box added directly to the frame, and add all the other boxes to the
$parent_box.
----- Original Message -----
From: "Gregory Kaczmarczyk" <casmar@mac.com>
To: <php-gtk-general@lists.php.net>
Sent: Friday, February 08, 2002 3:42 PM
Subject: [PHP-GTK] multiple GtkVBoxs in one GtkFrame
> I want to have multiple GtkVBoxes in one GtkFrame having only one VBox
> visible at a time (via hide_all & show_all). I $frame->add($vboxX) to
> each GtkVBox.
> However for each GtkVBox I add past the first, I get the following error
> in my terminal:
>
> Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
> `bin->child == NULL' failed.
>
> Regardless of the message, the app still works as intended.
> Is there any way to circumvent this error using my intentions?
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>