The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Gtk2::Ex::Builder - Gtk2::Widget Wrapper and Gtk2 Building DSL

SYNOPSIS

   use Gtk2 -init;
   use Gtk2::Ex::Builder;

   my $app = builder {
     info isa => 'Window';
     sets title => 'My Application';
     sets default_size => 400, 400;
     on delete_event => sub { Gtk2->main_quit };

     hav builder {
       info isa => 'Button';
       info is => 'my_button';
       sets label => 'Hello World';
       on clicked => sub { print "Hi\n" };
     };
   };

   $app->build;
   print $app->get_widget('my_button')->get_label, "\n";

   Gtk2->main;

PRE-ALPHA VERSION

This library is totally UNDER DEVELOPMENT and APIs COULD BE CHANGED WITHOUT NOTICE currently.

Any recommendations or criticisms or ideas are welcome.

DESCRIPTION

Gtk2::Ex::Builder is a Domain-specific Language to compose several Gtk2 widgets, and also a wrapper for a Gtk2 widget.

SUPPORT

The project is managed at http://github.com/am0c/Gtk2-Ex-Builder.

You can submit some issues here http://github.com/am0c/Gtk2-Ex-Builder/issues.

Any related mentions are welcome on irc.freenode.org in #perl-kr, and on http://twitter.com/am0c.

AUTHOR

Hojung Youn <amorette@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Hojung Youn.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.