Gtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::Layout can do layout in a FormFactory framework. | |
Download |
Gtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::Layout Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jrn Reder
- Publisher web site:
- http://search.cpan.org/~jred/
Gtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::Layout Tags
Gtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::Layout Description
Gtk2::Ex::FormFactory::Layout can do layout in a FormFactory framework. Gtk2::Ex::FormFactory::Layout can do layout in a FormFactory framework.SYNOPSIS package My::Layout; use base qw/Gtk2::Ex::FormFactory::Layout/; sub build_form { ... } sub add_widget_to_form { ... } ... package main; $ff = Gtk2::Ex::FormFactory->new ( layouter => My::Layout->new(), ... );This class implements the layout of Containers and their Widgets in a Gtk2::Ex::FormFactory framework. "Layout" means, how are the widgets aligned to each other, how much space is between them, how are titles rendered, how labels, etc.The idea behind Gtk2::Ex::FormFactory::Layout is to have a unique point in a GUI application which actually implements these things. The advantage of this approach is obvious: the implementation is very generic and if you want to change layout things you subclass from Gtk2::Ex::FormFactory::Layout and implement your changes there, and not at hundreds of spots distributed over the source code of your application.The natural result: a consistent looking GUI. Requirements: · Perl
Gtk2::Ex::FormFactory::LayoutGtk2::Ex::FormFactory::Layout Related Software