Gtk2::GladeXML 1.005 review

Download
by rbytes.net on

Gtk2::GladeXML is a Perl module that create user interfaces directly from Glade XML files. SYNOPSIS # for a pure gtk+ glade p

License: Perl Artistic License
File size: 34K
Developer: Ross McFarland
0 stars award from rbytes.net

Gtk2::GladeXML is a Perl module that create user interfaces directly from Glade XML files.

SYNOPSIS

# for a pure gtk+ glade project
use Gtk2 -init;
use Gtk2::GladeXML;
$gladexml = Gtk2::GladeXML->new('example.glade');
$gladexml->signal_autoconnect_from_package('main');
$quitbtn = $gladexml->get_widget('Quit');
Gtk2->main;

# for glade files using gnome widgets, you must initialize Gnome2
# before loading the glade file.
use Gnome2;
use Gtk2::GladeXML;
# this call also initializes gtk+ for us
Gnome2::Program->init ($appname, $version);
$gladexml = Gtk2::GladeXML->new('gnomeapp.glade');
Gtk2->main;

ABSTRACT

Gtk2::GladeXML allows Perl programmers to use libglade, a C library which generates graphical user interfaces directly from the XML output of the Glade user interface designer.

Glade is a free user interface builder for GTK+ and GNOME. After designing a user interface with glade-2 the layout and configuration are saved in an XML file. libglade is a library which knows how to build and hook up the user interface described in the Glade XML file at application run time.

This extension module binds libglade to Perl so you can create and manipulate user interfaces in Perl code in conjunction with Gtk2 and even Gnome2. Better yet you can load a file's contents into a PERL scalar do a few magical regular expressions to customize things and the load up the app. It doesn't get any easier.

Requirements:
Perl

Gtk2::GladeXML 1.005 keywords