Re: dialog box outside its parrent window

On 7/21/05, Beast <beast i6x org> wrote:

However, I got this warning when trying to add VBox to Dialog window :

Gtk-WARNING **: Attempting to add a widget with type GtkVBox to a
GtkDialog, but as a GtkBin subclass a GtkDialog can only contain one
widget at a time; it already contains a widget of type GtkVBox at line 20, <DATA> line 225.

What happen? I could not add Box to Dialog window?

you tried to add a Gtk2::VBox to a Gtk2::Dialog. 

You don't need to add a vbox. The dialog already features a
vbox for you to use:

$dialog->vbox->pack_start($widget, ...); 


Jens Luedicke

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