Butterfly Container 2.1.9-beta (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Butterfly Container 2.1.9-beta (Default branch)
# 1  
Old 04-15-2008
Butterfly Container 2.1.9-beta (Default branch)

Butterfly Container is a Java dependency injection container. It is smaller (~100KB jar), yet more flexible and easier to use than Spring, Pico, and Guice (at least in the developers' opinion). Instead of XML, Butterfly Container is configured using a simple, flexible, Java-like configuration language, or by plugging plain non-annotation, non-reflection Java factories into the container. There are no external dependencies. License: The Apache License 2.0 Changes:
This release makes it possible to replace factories in the container at runtime. Factories that reference the replaced factory will automatically be updated to reference the new factory. The factory replacement feature is handy when unit testing a component using mock objects. Replace a real factory with a mock object factory to test if the component uses this collaborator (the mock object) correctly.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Gtk2::Container(3pm)					User Contributed Perl Documentation				      Gtk2::Container(3pm)

NAME
Gtk2::Container - wrapper for GtkContainer HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
$container->add ($widget) o $widget (Gtk2::Widget) $container->add_with_properties ($widget, ...) o $widget (Gtk2::Widget) o ... (list) list of property name/value pairs integer = $container->get_border_width $container->set_border_width ($border_width) o $border_width (integer) $container->check_resize list = $container->child_get ($child, ...) o $child (Gtk2::Widget) o ... (list) list of property names Returns a list of properties of the child. list = $container->child_get_property ($child, ...) o $child (Gtk2::Widget) o ... (list) Alias for child_get $container->child_set ($child, ...) o $child (Gtk2::Widget) o ... (list) list of property name/value pairs Sets a list of properties on the child. $container->child_set_property ($child, ...) o $child (Gtk2::Widget) o ... (list) Alias for child_set string = $container->child_type list = $container->get_children Returns a list of Gtk2::Widget's, the children of the container. pspec or undef = $object_or_class_name->find_child_property ($name) o $name (string) Return a "Glib::ParamSpec" for child property $name on container $object_or_class_name. If there's no property $name then return "undef". See Glib::Object "list_properties" for the fields in a ParamSpec. list = $container->get_focus_chain Returns a list of Gtk2::Widgets, the focus chain. $container->set_focus_chain (...) o ... (list) of Gtk2::Widget's, the focus chain Sets a focus chain, overriding the one computed automatically by GTK+. In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it's allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn't always packed. The necessary checks are done when the focus chain is actually traversed. widget or undef = $container->get_focus_child Since: gtk+ 2.14 $container->set_focus_child ($child) o $child (Gtk2::Widget or undef) adjustment or undef = $container->get_focus_hadjustment $container->set_focus_hadjustment ($adjustment) o $adjustment (Gtk2::Adjustment or undef) adjustment or undef = $container->get_focus_vadjustment $container->set_focus_vadjustment ($adjustment) o $adjustment (Gtk2::Adjustment or undef) $container->forall ($callback, $callback_data=undef) o $callback (subroutine) Code to invoke on each child widget o $callback_data (scalar) Invoke $callback on each child of $container, including "internal" children. Most applications should not use this function. Compare with Gtk2::Container::foreach. $container->foreach ($callback, $callback_data=undef) o $callback (subroutine) Code to invoke on each child widget o $callback_data (scalar) Invoke $callback on each child of $container, ignoring "internal" children. list = $object_or_class_name->list_child_properties Return a list of "Glib::ParamSpec" objects which are the child properties available for children of a container $object_or_class_name. See Glib::Object "list_properties" for the fields in a ParamSpec. $container->propagate_expose ($child, $event) o $child (Gtk2::Widget) o $event (Gtk2::Gdk::Event) $container->set_reallocate_redraws ($needs_redraws) o $needs_redraws (boolean) $container->remove ($widget) o $widget (Gtk2::Widget) $container->resize_children resizemode = $container->get_resize_mode $container->set_resize_mode ($resize_mode) o $resize_mode (Gtk2::ResizeMode) $container->unset_focus_chain PROPERTIES
'border-width' (Glib::UInt : default 0 : readable / writable / private) The width of the empty border outside the containers children 'child' (Gtk2::Widget : default undef : writable / private) Can be used to add a new child to the container 'resize-mode' (Gtk2::ResizeMode : default "parent" : readable / writable / private) Specify how resize events are handled SIGNALS
add (Gtk2::Container, Gtk2::Widget) remove (Gtk2::Container, Gtk2::Widget) check-resize (Gtk2::Container) set-focus-child (Gtk2::Container, Gtk2::Widget) ENUMS AND FLAGS
enum Gtk2::ResizeMode o 'parent' / 'GTK_RESIZE_PARENT' o 'queue' / 'GTK_RESIZE_QUEUE' o 'immediate' / 'GTK_RESIZE_IMMEDIATE' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Container(3pm)