Re: Function to return Gtk2::Table
- From: Peter E Dennis <peter edwin dennis gmail com>
- To: Ryan Niebur <ryanryan52 gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Function to return Gtk2::Table
- Date: Fri, 15 May 2009 15:17:26 +1000
# Get vbox to hold created tables
$vbox2 = $gladexml->get_widget('vbox2');
you don't have a vbox2 defined in your glade file, so that won't work.
looking at the code, since you are packing $vbox2 into $vbox1, perhaps
you meant to create a new vbox?
try something like this:
$vbox2 = Gtk2::VBox->new();
note that I haven't looked very much at this, tho this appears to at
least run.
Wow, that's embarrassing, must have forgotten to actually save the
glade file after adding vbox2. Apologies for wasting your time.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]