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

Hi All,

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 

I tried this:
#!/usr/bin/perl -w

use Gtk2 '-init';
use Gtk2::GladeXML;
my $main_window = Gtk2::GladeXML->new('./');

This is the

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.0.2 on Thu Nov  9 10:58:44 2006 by 
don AMD-laptop-->
  <widget class="GtkWindow" id="window1">
      <widget class="GtkVBox" id="vbox1">
        <property name="visible">True</property>
          <widget class="GtkColorSelection" id="colorselection1">
            <property name="visible">True</property>

When I start: nothing happens... No Perl errors, only no prompt just using 

What's wrong?


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