Gtk2 1.133 review
DownloadGtk2 is a Perl interface to the 2.x series of the Gimp Toolkit library. SYNOPSIS use Gtk2 -init; # Gtk2->init; works if yo
|
|
Gtk2 is a Perl interface to the 2.x series of the Gimp Toolkit library.
SYNOPSIS
use Gtk2 -init;
# Gtk2->init; works if you didn't use -init on use
my $window = Gtk2::Window->new ('toplevel');
my $button = Gtk2::Button->new ('Quit');
$button->signal_connect (clicked => sub { Gtk2->main_quit });
$window->add ($button);
$window->show_all;
Gtk2->main;
ABSTRACT
Perl bindings to the 2.x series of the Gtk+ widget set. This module allows you to write graphical user interfaces in a perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API.
The Gtk2 module allows a perl developer to use the Gtk+ graphical user interface library. Find out more about Gtk+ at http://www.gtk.org.
The GTK+ Reference Manual is also a handy companion when writing Gtk programs in any language. http://developer.gnome.org/doc/API/2.0/gtk/ The perl bindings follow the C API very closely, and the C reference documentation should be considered the canonical source.
Requirements:
Perl
Gtk2 1.133 search tags