Graphics::Primitive::Container(3pm) | User Contributed Perl Documentation | Graphics::Primitive::Container(3pm) |
Graphics::Primitive::Container - Component that holds other Components
Containers are components that contain other components. They can also hold an instance of a Layout::Manager for automatic layout of their internal components. See the Component's Lifecycle Section for more information.
my $c = Graphics::Primitive::Container->new( width => 500, height => 350, layout_manager => Layout::Manager::Compass->new ); $c->add_component($comp, { meta => 'data' });
Before the component is added, it is passed to the validate_component method. If validate_component does not return a true value, then the component is not added.
Cory Watson, "<gphat@cpan.org>"
Please report any bugs or feature requests to "bug-geometry-primitive at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geometry-Primitive>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2008-2009 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2022-06-14 | perl v5.34.0 |