Gtk2-Ex-FormFactory
view release on metacpan or search on metacpan
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.
0.57 Mon Aug 1, 2005, joern
Features:
- Gtk2::Ex::FormFactory::Window:
- on window close FormFactory->close is called automatically
if the Window is the 1st child of the FormFactory,
unless a closed_hook is set. Thanks to Kaare Rasmussen
for the hint.
- added 'quit_on_close' option, which quits the Gtk2
main loop as well in that case.
- Gtk2::Ex::FormFactory::List:
- scroll to selected row only on first show, to prevent
unneccessary scrolling.
- trigger selection dependency updates only when the
selection really changed (but only for Lists with
attr_select and attr_select_column set, because
otherwise a selection change can't be detected
safely)
- Documentation updates & fixes
Bugfixes:
- Gtk2::Ex::FormFactory::Layout: setting 'scrollbars'
for non-scrollable widgets didn't work
- Gtk2::Ex::FormFactory::Notebook: restore selected page
only if an object attribute is associated with the
Widget.
- Gtk2::Ex::FormFactory: POD typo fixed, thanks for the
report to Christian Marillat.
0.56 Wed Jul 20, 2005, joern
Features:
- Gtk2::Ex::FormFactory::Rules:
- added 'zero', 'non-zero', 'positive-zero-integer',
'negative-zero-integer', 'positive-zero-float',
'negative-zero-float' rules.
- added special 'or-empty' rule, refer to the man page
for details.
- added 'executable-command' rule.
- Gtk2::Ex::FormFactory::Context:
- added get_object_attr() helper method to retrieve
a specific application object attribute
- added 'accessor' option to the ->add_object() method
- Gtk2::Ex::FormFactory::Widget:
- added 'label_for' attribute, so auto-generated labels
can be bound to specific widgets as well.
- added 'avtive_cond' and 'active_depends' attributes
for direct activity control of the widget.
- added 'changed_hook_after'
- Gtk2::Ex::FormFactory::Popup:
- added 'items' attribute for static popup content
- Gtk2::Ex::FormFactory::Popup:
- default 'scale' to 1 of no other scaling options
are given, images would be invisible without this.
- Gtk2::Ex::FormFactory:
- added 'with_cancel' option to the ->open_confirm_window()
helper method
- Gtk2::Ex::FormFactory::CheckButtonGroup:
- dimensions can be configured through application
object attributes. Row and/or column labels may
be added.
- Gtk2::Ex::FormFactory::Label:
- added bold option.
- Gtk2::Ex::FormFactory::Layout:
- center button icons/labels.
Bugfixes:
- Gtk2::Ex::FormFactory::Combo: rule checking didn't work.
- Gtk2::Ex::FormFactory::Widget: rule checking in synchronized
FormFactories didn't work if no object attribute was
associated with the widget
- Gtk2::Ex::FormFactory::Table: due to missing outer whitespace
truncation parsing of some table layouts was messed up.
- Gtk2::Ex::FormFactory::List: dropped "selects_object"
feature introduced in 0.55 because this can be easily done
by defining attribute dependencies.
- Gtk2::Ex::FormFactory::Layout: setting a label group
didn't work for Label widgets, only for implicite labels
set through the Widget's label attribute.
- Gtk2::Ex::FormFactory::Loader: VSeparator setup was missing.
0.55 Mon Jul 11, 2005, joern
Features:
- Added a fully functional tutorial program (a simple music
database) which makes use of a lot of simple and advanced
Gtk2::Ex::FormFactory features. Not documented yet, but
nevertheless a good example to learn how Gtk2::Ex::FormFactory
works. More details in tutorial/README.
- On demand loading of widget modules saves some memory
- Gtk2::Ex::FormFactory::Context
- pass object aggregation information to define
dependencies between objects. This way all dependent
objects update automatically if their parent object
changes.
- defining constant attribute accessors is now possible,
e.g. for simple Combo presets not changing at runtime.
- new method set_object_attr() sets an specific application
object attribute and triggers corresponding GUI updates
- Gtk2::Ex::FormFactory::List
- new attribute "selects_object" for lists representing
an index of objects to select one of them. The
corresponding widgets are updated automatically
once the list selection changes.
- new attribute "visible" to control visibility of columns
- new attribute "no_header" to suppress list headers
- new attribute "attr_select_column" to have specific
column values instead of selected indices in the
"attr_select" attribute
- Gtk2::Ex::FormFactory::Label: declare an arbitrary Label
widget as the label of another widget, so this label is
deactivated/activated together with the assigned widget
( run in 0.999 second using v1.01-cache-2.11-cpan-364913b4093 )