Using Glade with Perl under Ubuntu
Florian Diesch
diesch at spamfence.net
Sun Aug 27 15:29:18 UTC 2006
Rosalind Mitchell <rcmitchell at gmail.com> wrote:
> I am running Glade 2.12.1 under Dapper to generate data entry forms for
> use with Perl applications. I can easily get Glade to generate
> appropriate code in C, but I have a problem when I try to convert this
> code to Perl using the glade2perl utility
You don't need to create code. Instead you can use libglade to create
your form directly from Glade's XML files at run time.
,----[ ~/bin/pkgdesc libgtk2-gladexml-perl ]
| Package: libgtk2-gladexml-perl
| Description: Perl interface to use user interfaces created with glade-2
| libgtk2-gladexml-perl allows a Perl developer to use the gladexml part of
| the libglade library.
| .
| 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 module even allows developers to load a interface definition into a
| scalar to customize them just before loading the application itself.
| .
| Find out more about GNOME at http://www.gnome.org.
| .
| The perl bindings follow the C API very closely, and the C reference
| documentation should be considered the canonical source:
| http://developer.gnome.org/doc/API/2.0/libglade/index.html
| .
| This module is part of gtk2-perl.
| .
| To discuss gtk2-perl, ask questions and flame/praise the authors,
| join gtk-perl-list at gnome.org at lists.gnome.org.
| .
| Also have a look at the gtk2-perl website and sourceforge project page,
| http://gtk2-perl.sourceforge.net
`----
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list