Re: problem with libglade



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]