Changes for version 0.58

  • Features:
  • Gtk2::Ex::FormFactory::Container:
    • new methods add_child_widget() and remove_child_widget() to add/remove Widgets at runtime. E.g. you can extend a notebook at runtime. Thanks to Kaare Rasmussen for the suggestions.
  • Buffered context objects: EXPERIMENTAL!
    • if you specify 'buffered => 1' on Context->add_object a buffering Proxy will be used for this object. That means all attribute updates are buffered in the proxy object instead of passing them through to the underlying application object immediately. This way you can use a synchronized FormFactory (with all the advantages of automatically widget updating/activating stuff) but the possibility to cancel all changes easily. DialogButtons take care of this, so a "Cancel" button is displayed in a FormFactory automatically if all widgets in this factory are connected to a buffered context object. Tested with simpler forms and works for me, but this may not work in very complex forms with a lot of internal dependencies, in particular if your callbacks for activation checking and stuff don't use the Context but access the original object directly, which doesn't see any changes until the FormFactory is applied!
  • Gtk2::Ex::FormFactory::List: prevent unnecessary selection updates not only for lists with the attr_select_column property set
  • Gtk2::Ex::FormFactory::Widget: active_cond callback now gets the current application object passed.
  • Bugfixes:
  • Gtk2::Ex::FormFactory::Context: active_depends property didn't work with an array ref of attributes as stated in the docs.
  • Gtk2::Ex::FormFactory::Label: don't try to update from an object atribute without any set.

Modules

Makes building complex GUI's easy
A Button in a FormFactory framework
A CheckButton in a FormFactory framework
A group of checkbuttons
A Combo in a FormFactory framework
A container in a FormFactory framework
Context in a FormFactory framework
Standard Ok, Apply, Cancel Buttons
An Entry in a FormFactory framework
An Expander in a FormFactory framework
A Form in a FormFactory framework
Wrap arbitrary Gtk widgets
A HBox in a FormFactory framework
A HSeparator in a FormFactory framework
An Image in a FormFactory framework
Introduction into the FormFactory framework
A Label in a FormFactory framework
Do layout in a FormFactory framework
A List in a FormFactory framework
Dynamic loading of FormFactory modules
A Menu in a FormFactory framework
A Notebook in a FormFactory framework
A Popup in a FormFactory framework
A ProgressBar in a FormFactory framework
Proxy class for application objects
Buffering object proxy
A RadioButton in a FormFactory framework
Rule checking in a FormFactory framework
Complex table layouts made easy
A TextView in a FormFactory framework
Enter a valid timestamp
A ToggleButton in a FormFactory framework
A VBox in a FormFactory framework
A VSeparator in a FormFactory framework
Base class for all FormFactory Widgets
A Window in a FormFactory framework
Yes/No radio buttons in a FormFactory framework

Provides

in tutorial/model.pm
in tutorial/model.pm
in tutorial/config.pm
in tutorial/model.pm
in tutorial/model.pm
in tutorial/model.pm