How read glade file to gtk2?
- From: Xiao Yafeng <xyf xiao gmail com>
- To: gtk-perl-list gnome org
- Subject: How read glade file to gtk2?
- Date: Mon, 22 Mar 2010 16:55:34 +0800
Hi,
is there error in below code? it throw
Unhandled tag: 'requires' at test2.pl line 6.
use Gtk2 -init;
my $builder = Gtk2::Builder->new();
$builder->add_from_file("3.glade");
#$builder->connect_signals();
my $object = $builder->get_object("window1");
$object->show_all();
gtk_main();
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]