Re: dialog box outside its parrent window
- From: Jens Luedicke <jens luedicke gmail com>
- To: Gtk2-Perl List <gtk-perl-list gnome org>
- Subject: Re: dialog box outside its parrent window
- Date: Thu, 21 Jul 2005 14:29:38 +0200
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
About.pm 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
--
Jens Luedicke
web: http://perldude.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]