1Gtk2::Ex::FormFactory::UCsoenrtaCionnetrr(i3b)uted PerlGDtokc2u:m:eEnxt:a:tFioornmFactory::Container(3)
2
3
4
6 Gtk2::Ex::FormFactory::Container - A container in a FormFactory
7 framework
8
10 Gtk2::Ex::FormFactory::Container->new (
11 title => Visible title of this container,
12 content => [ List of children ],
13 ...
14 Gtk2::Ex::FormFactory::Widget attributes
15 );
16
18 This is an abstract base class for all containers in the
19 Gtk2::Ex::FormFactory framework.
20
22 Gtk2::Ex::FormFactory::Intro
23
24 Gtk2::Ex::FormFactory::Widget
25 +--- Gtk2::Ex::FormFactory::Container
26 +--- Gtk2::Ex::FormFactory::Buttons
27 +--- Gtk2::Ex::FormFactory::Expander
28 +--- Gtk2::Ex::FormFactory::Form
29 +--- Gtk2::Ex::FormFactory::HBox
30 +--- Gtk2::Ex::FormFactory::Notebook
31 +--- Gtk2::Ex::FormFactory::Table
32 +--- Gtk2::Ex::FormFactory::VBox
33 +--- Gtk2::Ex::FormFactory::Window
34
35 Gtk2::Ex::FormFactory::Layout
36 Gtk2::Ex::FormFactory::Rules
37 Gtk2::Ex::FormFactory::Context
38 Gtk2::Ex::FormFactory::Proxy
39
41 Attributes are handled through the common get_ATTR(), set_ATTR() style
42 accessors, but they are mostly passed once to the object constructor
43 and must not be altered after the associated FormFactory was built.
44
45 title = SCALAR [optional]
46 Each container may have a title. How this title actually is
47 rendered depends on the implementation of a particular container
48 resp. the implementation of this container in
49 Gtk2::Ex::FormFactory::Layout. Default is to draw a frame with
50 this title around the container widget.
51
52 content = ARRAYREF of Gtk2::Ex::FormFactory::Widget's [optional]
53 This is a reference to an array containing the children of this
54 container.
55
56 For more attributes refer to Gtk2::Ex::FormFactory::Widget.
57
59 $container->add_child_widget ( $widget )
60 With this method you add a child widget to a container widget. If
61 the container actually wasn't built yet the widget is just appended
62 to the content list of the container and will be built later
63 together with the container.
64
65 Otherwise the widget will be built, shown and updated, so adding
66 widgets at runtime is no problem.
67
68 $container->remove_child_widget ( $widget )
69 Removes a child widget from this container. If the container is
70 built the widget will be destroyed completely and the $widget
71 reference may not be used furthermore.
72
74 Jörn Reder <joern at zyn dot de>
75
77 Copyright 2004-2006 by Jörn Reder.
78
79 This library is free software; you can redistribute it and/or modify it
80 under the terms of the GNU Library General Public License as published
81 by the Free Software Foundation; either version 2.1 of the License, or
82 (at your option) any later version.
83
84 This library is distributed in the hope that it will be useful, but
85 WITHOUT ANY WARRANTY; without even the implied warranty of
86 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87 Library General Public License for more details.
88
89 You should have received a copy of the GNU Library General Public
90 License along with this library; if not, write to the Free Software
91 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
92 USA.
93
95 Hey! The above document had some coding errors, which are explained
96 below:
97
98 Around line 335:
99 Non-ASCII character seen before =encoding in 'Jörn'. Assuming UTF-8
100
101
102
103perl v5.34.0 2021-07-22Gtk2::Ex::FormFactory::Container(3)