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;


main Gtk2;

sub prepare_interface {
  Gnome2::Program->init ('Test with GladeXML', '0.1', 'libgnomeui');
  $xml_root = new Gtk2::GladeXML ("");
  $xml_root->signal_autoconnect_from_package ('main');


Do You Yahoo!? -- Une adresse gratuite et en français !
Yahoo! Mail :

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