Gtk2-Perl

The topic of this article may not meet Wikipedia's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "Gtk2-Perl" – news · newspapers · books · scholar · JSTOR (April 2016) (Learn how and when to remove this message)

|

Gtk2-Perl and Gtk3-Perl

Stable release|

Gtk2: 1.24.92b
Gtk3:v0.017 / July 3, 2014; 11 years ago (2014-07-03)
July 3, 2014; 11 years ago (2014-07-03)

Written in| Perl
Type| Language binding
License| GNU Lesser General Public License 2.1
Website| gtk2-perl.sourceforge.net

Main article: List of language bindings for GTK

Gtk2-Perl is a set of wrappers for the Perl programming language around the GTK and further GNOME libraries. Gtk-Perl is free and open-source software licensed under the GNU Lesser General Public License (LGPL) version 2.1. Developers and interested parties can usually be found on the IRC channel #gtk-perl on irc.gnome.org.

Gtk2-Perl is part of the official GNOME Platform Bindings release.[1]

## Example

[edit]

use Gtk2 '-init';

$window = Gtk2::Window->new('toplevel');
$window->set_title("Hello World!");

$button = Gtk2::Button->new("Press me");
$button->signal_connect(clicked => sub { print "Hello again - the button was pressed\n"; });

$window->add($button);
$window->show_all;

Gtk2->main;

The sample program creates a GTK `Window` titled "Hello World!". The window contains a `Button` labelled "Press me." When the button is pressed, the message "Hello again - the button was pressed" is displayed on the console via the callback inside the anonymous subroutine connected to the "clicked" signal.

## References

[edit]

1. ^ TwoPointFifteen/Bindings - GNOME Wiki

## External links

[edit]

* GTK2-Perl homepage on SourceForge.net
* https://git.gnome.org/browse/perl-Gtk2/
* https://git.gnome.org/browse/perl-Gtk3/
* A tool helps compile gtk2-perl under Windows

* v
* t
* e

GTK and its applications

Platform|

| GTK|

* GTK
* GDK
* ATK
* ClutterActor
* GTK Scene Graph Kit
* Pango
* Language bindings
* PyGTK
* PyGObject
* GLib
* GObject
* GIO
* IBus
* Orca
* dconf
* Vala
* Keyring
* GNOME-DB
* GVfs
* Hildon
* Librsvg
* MetaTracker
* libxslt
* libxml2

|

freedesktop.org
(shared)|

* AppStream
* D-Bus
* GStreamer
* NetworkManager
* Poppler
* libcanberra
* Wayland
* X.Org Server
* PulseAudio
* PackageKit
* HarfBuzz
* Cairo

Development|

| GUI designer, RAD|

* Glade Interface Designer
* GNOME Builder

|

IDEs|

* Anjuta
* Builder
* Meld
* Devhelp
* Poedit
* Geany
* Gtranslator
* gPHPedit
* SciTE
* UberWriter
* PIDA

GNOME|

* GNOME Shell
* GNOME Games
* Core Applications
* Boxes
* Calculator
* Character Map
* Disks
* Files
* Software
* Terminal
* Videos
* Web
* other
* dconf editor

Cinnamon|

* Nemo

Xfce|

* Thunar

LXDE|

* PCMan File Manager
* LXMusic

Graphical shells|

* GNOME Shell
* GNOME Panel
* Docky
* GNOME Do
* Avant Window Navigator
* Phosh

3rd-party
applications|

| Office|

* AbiWord
* Dia
* Gnumeric
* Evince (PDF)
* Evolution
* OCRFeeder

|

Education|

* Gramps
* GCompris
* DrGeo
* GeoGebra
* Ghemical
* Celestia

Graphics|

* GIMP
* GNU Paint
* Inkscape
* gThumb
* gPhoto
* Eye of GNOME
* Sushi
* Shotwell
* F-Spot

Internet|

* Balsa
* Sylpheed
* Claws Mail
* Empathy
* Ekiga
* gtk-gnutella
* GNU Ring
* Vinagre
* Uzbl
* transmission-gtk

Audio|

* Audacious
* Banshee
* PulseEffects
* Buzztrax
* Exaile
* Rhythmbox
* Sound Juicer
* SoundConverter
* Quod Libet
* Ex Falso
* EasyTag
* Asunder

Video|

* Avidemux
* Cinelerra
* Cheese
* Gnome MPlayer
* Guvcview
* Kino
* LiVES
* OpenShot Video Editor
* Pitivi

Utilities|

* Archive Manager
* Brasero
* dconf-editor
* Diodon
* gedit
* gnote
* Screenshot
* GParted
* Guake
* Leafpad
* Tilda
* Tomboy
* Wine-Doors
* Workrave

* Category:GTK
* Category:Software that uses GTK
* Commons

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template