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



 
Hi,
 
Thank your help, Pascal.
I had the change for add full path to Gtk2::GladeXML->new,
like:
my $gladexml = Gtk2::GladeXML->new("D:\\work_station\\new_gtk\\hello.glade");
 
so works fine now.
 
I'm sure, to add  $gladexml- >get_widget('window1')- >show(); 
for view actual interface.
 
Thank you very much again.
 
 
Sincerely,
 
Air
 
2008-06-28

lonelyair

发件人: Pascal Giard
发送时间: 2008-06-27  20:23:41
收件人: Air Kang; gtk-perl-list gnome org
抄送:
主题: 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
-- 
Debian GNU/Linux (http://www.debian.org)
LACIME: ?ole de technologie sup?ieure (http://lacime.etsmtl.ca)


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