Re: problem with libglade
- From: Pascal <evilynux yahoo com>
- To: Joe Smith <jes martnet com>
- Cc: gtk-perl-list gnome org
- Subject: Re: problem with libglade
- Date: Thu, 10 Jul 2003 21:39:17 +0200 (CEST)
I had no problem loading your Glade interface with the following code :
#!/usr/bin/perl -w
use strict;
use Gtk2::GladeXML;
use Gnome2;
use constant FALSE => 0;
use constant TRUE => !FALSE;
my $xml_root;
prepare_interface();
main Gtk2;
sub prepare_interface {
Gtk2->init;
Gnome2::Program->init ('Test with GladeXML', '0.1', 'libgnomeui');
$xml_root = new Gtk2::GladeXML ("gtemp.glade");
$xml_root->signal_autoconnect_from_package ('main');
}
-Pascal
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]