The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Gtk - Perl module for the Gimp Toolkit library

SYNOPSIS

use Gtk '-init';
my $window = new Gtk::Window;
my $button = new Gtk::Button("Quit");
$button->signal_connect("clicked", sub {Gtk->main_quit});
$window->add($button);
$window->show_all;
Gtk->main;

DESCRIPTION

The Gtk module allows Perl access to the Gtk+ graphical user interface library. You can find more information about Gtk+ on http://www.gtk.org. The Perl binding tries to follow the C interface as much as possible, providing at the same time a fully object oriented interface and Perl-style calling conventions.

You will find the reference documentation for the Gtk module in the Gtk::reference manpage. There is also a cookbook style manual in Gtk::cookbook. More information can be found on http://gtkperl.org.

AUTHOR

Kenneth Albanowski, Paolo Molaro

SEE ALSO

perl(1), Gtk::reference(3pm)