Re: Gtk2::GladeXML... Don't seem window...



Hi,

2006. november 9. 14.49 dátummal muppet ezt írta:
Simon Péter wrote:
I just try at first time to use glade3 to design my Perl Gtk2
application. I generated a simply window using glade3 and tried to start
it from a Perl code.

Try either $main_window->show; or setting the main window's "visible"
property to "true" in glade-3.


Thanks, muppet. Cyrill was a little faster he wrote me this.

 my $main_window = Gtk2::GladeXML->new('./3.glade');
 my $win = $main_window->get_widget('window1');
 $win->show;

This works.


Many thanks for you all.



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