Gapp - Post-modern Gtk+ applications
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;
*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.*
Gapp brings the post-modern feel of Moose to Gtk2-Perl.
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 effectively separates user interface design from business logic and data structures. By defining the appearance and layout of widgets at a single point in your program, your entire application maintains a consistent look and feel.
Combining the features of Moose with Gtk2 yields a powerful framework for building GUI applications. Declarative syntax results in code that is clearer and easier to maintain. Roles and traits can by applied to widgets like any other Moose object.
The best place to start is the Gapp::Manual.
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.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010-2012 Jeffrey Ray Hallock.
This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)