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

Re: Function to return Gtk2::Table



>> # 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]