Jeffrey Ray Hallock > Gapp-0.484 > Gapp

Download:
Gapp-0.484.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.484   Source   Latest Release: Gapp-0.60

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.

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.

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)

syntax highlighting: