NAME
Gapp - Post-modern Gtk+ applications
SYNOPSIS
use Gapp;
use Gapp::Actions::Basic qw( Quit );
my $w = Gapp::Window->new(
title => 'Gapp Application',
signal_connect => [
[ 'delete-event' => Quit ],
],
content => [
Gapp::HBox->new(
content => [
Gapp::Label->new( text => 'hello world!' ),
Gapp::Button->new( action => Quit ),
]
)
]
);
$w->show_all;
Gapp->main;
NEW VERSION WARNING
*THIS IS NEW SOFTWARE. IT IS STILL IN DEVELOPMENT. THE API MAY CHANGE IN FUTURE VERSIONS WITH NO NOTICE. THE DOCUMENTATION MAY COVER FEATURES THAT ARE NOT COMPLETE IN THEIR IMPLEMENTATION. THE DOCUMENTATION MAY ALSO BE LACKING.*
DESCRIPTION
Gapp brings the post-modern feel of Moose to Gtk2-Perl applications.
The primary goal of Gapp is to make Perl 5 GUI programming easier and less tedious. With Gapp you can to think more about what you want to do and less about choreographing widgets or keeping them (and your data) up to date.
Gapp applicationss maintain a consistent look and feel without the need to hand -configure every widget. Gapp effectively separates GUI design from application logic and data structures, while keeping your widgets and data up-to-date.
New to Gapp?
The best place to start is the Gapp::Manual.
PROVIDED METHODS
- main
-
Delegates to
Gtk2::main
. - quit
-
Delegates to
Gtk2::main_quit
.
ACKNOWLEDGEMENTS
Thanks to everyone at Gtk2-Perl and Moose and all those who came before me for making this module possible. Thanks to Jörn Reder and the authors and contributors of MooseX::Types
.
Gapp::TableMap
uses code from Jörn Reder's Gtk2::Ex::FormFactory::Table (see Gapp::TableMap for more details.)
Gapp::Actions
is based off of MooseX::Types (see Gapp::Actions for more details.)
AUTHORS
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
COPYRIGHT & LICENSE
Copyright (c) 2010-2012 Jeffrey Ray Hallock.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Individual files in this package may have have multiple copyrights and/or licenses. Please refer to the documentation of indivdual packages for more information. (see Gapp::Actions, Gapp::TableMap)
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 159:
Non-ASCII character seen before =encoding in 'Jörn'. Assuming CP1252