|
Manpages GtkSection: User Contributed Perl Documentation (3)Updated: perl v5.6.1 Index Return to Main Contents NAMEGtk - Perl module for the Gimp Toolkit librarySYNOPSIS
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;
DESCRIPTIONThe 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". The "Gtk::objects" manpage contains a list of the arguments and signals for each of the classes available in the Gtk, Gnome and related modules. There is also a list of the flags and enumerations along with their possible values. More information can be found on http://www.gtkperl.org. AUTHORKenneth Albanowski, Paolo MolaroSEE ALSOperl(1), Gtk::reference(3pm)
IndexThis document was created by man2html, using the manual pages. Time: 23:25:20 GMT, March 13, 2026 |