Re: Problem in GTK+ box?



>Dear All,
>
>I have type the following, but error occurs.  What is
>the reason?

>The error is:

actually, this is the reason, not the error:

>(clabel:1197): Gtk-WARNING **: Attempting to add a
>widget with type GtkFrame to a GtkWindow, but as a
>GtkBin subclass a GtkWindow can only contain one
>widget at a time; it already
>contains a widget of type GtkVBox

as it says, you have tried to add 2 widgets to the window. a window
can have only 1 widget added (directly) to it. if you want more, put
them in a container and add the container to the window.




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