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

Re: How to used Gtk2::GladeXML????



2008/6/27 Air Kang <lonelyair gmail com>:
> All,
>
> I am come up with the trouble, had the failed like:
> ---------- perl ----------
>
> (wperl.exe:3264): libglade-WARNING **: could not find glade file
> 'hello.glade'
> Can't call method "signal_autoconnect_from_package" on an undefined value at
> D:\work_station\new_gtk\hello1.pl line 10.

Weird... works fine for me.
Of course, hello.glade is in the same directory as hello.pl.

I had to add $gladexml->get_widget('window1')->show(); in order to
view the actual interface.

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)


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