1Gtk2::Ex::FormFactory::UCsoemrboC(o3n)tributed Perl DocuGmtekn2t:a:tEixo:n:FormFactory::Combo(3)
2
3
4
6 Gtk2::Ex::FormFactory::Combo - A Combo in a FormFactory framework
7
9 Gtk2::Ex::FormFactory::Combo->new (
10 presets => List reference of preset values,
11 ...
12 Gtk2::Ex::FormFactory::Widget attributes
13 );
14
16 This class implements a text entry with a popdown list of presets in a
17 Gtk2::Ex::FormFactory framework. The content of the entry is the value
18 of the associated application object attribute.
19
21 Gtk2::Ex::FormFactory::Intro
22
23 Gtk2::Ex::FormFactory::Widget
24 +--- Gtk2::Ex::FormFactory::Combo
25
26 Gtk2::Ex::FormFactory::Layout
27 Gtk2::Ex::FormFactory::Rules
28 Gtk2::Ex::FormFactory::Context
29 Gtk2::Ex::FormFactory::Proxy
30
32 Attributes are handled through the common get_ATTR(), set_ATTR() style
33 accessors, but they are mostly passed once to the object constructor
34 and must not be altered after the associated FormFactory was built.
35
36 presets = LIST REF [optional]
37 You may specify a static list of preset values for the Combo with
38 this attribute. If preset is not set, you need to implement the
39 get_ATTR_presets method as explained beyond.
40
42 Application objects represented by a Gtk2::Ex::FormFactory::Combo may
43 define additional methods. The naming of the methods listed beyond uses
44 the standard get_ prefix for the attribute read accessor. ATTR needs to
45 be replaced by the actual name of the attribute associated with the
46 widget.
47
48 get_ATTR_presets
49 This method must return a reference to an array containing the
50 presets for this Combo box, but must be implemented only if you
51 didn't specify a static presets list using the presets attribute.
52
54 JA~Xrn Reder <joern at zyn dot de>
55
57 Copyright 2004-2006 by JA~Xrn Reder.
58
59 This library is free software; you can redistribute it and/or modify it
60 under the terms of the GNU Library General Public License as published
61 by the Free Software Foundation; either version 2.1 of the License, or
62 (at your option) any later version.
63
64 This library is distributed in the hope that it will be useful, but
65 WITHOUT ANY WARRANTY; without even the implied warranty of
66 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
67 Library General Public License for more details.
68
69 You should have received a copy of the GNU Library General Public
70 License along with this library; if not, write to the Free Software
71 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
72 USA.
73
74
75
76perl v5.12.0 2006-05-26 Gtk2::Ex::FormFactory::Combo(3)