[Glade-users] XML to perl



Greetings.

law the tutorials and has gone to me very well. but, i need know how to:
pass "XML" .glade files to "PERL" .pl files.

I used this script:

use Gtk2 -init;
use Gtk2::GladeXML;
$my_window = Gtk2::GladeXML->new("path/to/glade/files/some_glade_file.glade")
);
$window->signal_autoconnect_from_package;
Gtk2->main;

Its nice. But is possible to pass .glade to .pl?  without this script.

... a question: Its better execute this escript[1] or pass .glade to .pl?

[1] executing directly from XML file

Thanks.

-- 
Jos? Luis Regalado
Linux User 280381.
San Crist?bal Edo. T?chira - Venezuela
0276-766.72.20  0276-340.01.90  0414-710.48.57
"Donde  hay  ignorancia  hay  fanatismo  donde
hay fanatismo  no hay tolerancia, donde no hay
tolerancia no hay _paz_" 
















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