Gtk2-Ex-FormFactory
view release on metacpan or search on metacpan
without an object reference if no object was currently
set instead of rendering the widget inactive in that case.
0.65 Sun Jul 2, 2006, joern
Bugfixes:
- Don't use for() loops with global $_ iterator, which interacts
badly with application method calls which modify $_ as well
0.64 Sat Jun 17, 2006, joern
Features:
- Gtk2::Ex::FormFactory
- Added options 'yes_label' and 'no_label' to open_confirm_window().
- Gtk2::Ex::FormFactory::Button
- Added 'with_repeat' option, which triggers the callback
continuously as long button is pressed.
Bugfixes:
- Gtk2::Ex::FormFactory::Label:
- Set initial text only if the widget object has no associated
object attribute.
- Gtk2::Ex::FormFactory::ToggleButton:
- Set button label only if no stock icon is given.
0.63 Sun Apr 23, 2006, joern
Bugfixes:
- Gtk2::Ex::FormFactory::Notebook:
- fixed an exception which occured if no object is
associated with the Notebook
- Gtk2::Ex::FormFactory::Layout
- fixed wrong set_gtk_widget/set_gtk_parent_widget for
Gtk2::Ex::FormFactory::GtkWidget objects
0.62 Sun Apr 9, 2006, joern
Bugfixes:
- Associate tab label widgets with the page content widget,
so if the page gets inactive the label greys out as well.
- Notebook: show page before switching to it, otherwise
page-switching is ignored. This was workarounded until now
by a delayed page-switching, which didn't work with recent
gtk2 versions anymore, so the true fix for this issue was
overdue ;) Thanks to Alex Petkov <alexandphyllis AT excite.com>
for the detailed bug report and debugging info.
0.61 Sun Apr 2, 2006, joern
Features:
- You can check whether an application object was changed
with the GUI using the new Proxy's 'object_changed'
attribute. Additionally you can control which attributes
shouldn't affect the object's changed state with a
regex passed as 'changes_attr_filter' when adding the
object to the Context.
- You can add icons to Notebook tab titles by prefixing the
title with the stock item named in square brackets.
Bugfix:
- Prevent double object update triggering when switching
Notebook tabs and Radiobuttons.
0.60 Mon Mar 27, 2006, joern
Features:
- Gtk2::Ex::FormFactory::Menu
- Add 'active_cond' and 'active_depends' keys to the
menu item definition to control widget activity not
just on a per object basis.
- Gtk2::Ex::FormFactory::Widget:
- active_cond may return not just a boolean but one of
the strings 'insensitive', 'invisible', 'sensitive',
'visible' to get the corresponding state.
- Gtk2::Ex::FormFactory::ExecFlow:
- New widget for displaying Event::ExecFlow job plans
- Gtk2::Ex::FormFactory::VPaned:
- New container widget for Gtk2::VPaned
- Gtk2::Ex::FormFactory::ToggleButton:
- Stock image support added
- Gtk2::Ex::FormFactory::Context
- Some internal cleanup to reduce memory footprint
Bugfixes:
- Gtk2::Ex::FormFactory::Menu
- On cleanup deregistering of objects the menu
depends on was not complete.
- Gtk2::Ex::FormFactory::Context
- Widgets with active_depends => "object.attr" (not just
an object) weren't updated if the object changed.
0.59 Wed Dec 28, 2005, joern
Features:
- Default layout implementaion for width/height now uses
set_size_request() only for non-window widgets and
set_default_size() for windows, which is better in
general.
Bugfixes:
- Small layout issue of buttons with stock image and
a defined but empty label fixed.
0.58 Sun Oct 9, 2005, joern
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.
0.57 Mon Aug 1, 2005, joern
Features:
- Gtk2::Ex::FormFactory::Window:
- on window close FormFactory->close is called automatically
( run in 1.042 second using v1.01-cache-2.11-cpan-524268b4103 )