1Gtk2::Ex::FormFactory::UYseesrNoC(o3n)tributed Perl DocuGmtekn2t:a:tEixo:n:FormFactory::YesNo(3)
2
3
4
6 Gtk2::Ex::FormFactory::YesNo - Yes/No radio buttons in a FormFactory
7 framework
8
10 Gtk2::Ex::FormFactory::YesNo->new (
11 true_label => Label of the "Yes" button,
12 false_label => Label of the "No" button,
13 ...
14 Gtk2::Ex::FormFactory::Widget attributes
15 );
16
18 This class implements two RadioButton's grouped together as a Yes and a
19 No button. The state of both RadioButton's is controlled by one
20 associated application object attribute, which should has a boolean
21 value.
22
24 Gtk2::Ex::FormFactory::Intro
25
26 Gtk2::Ex::FormFactory::Widget
27 +--- Gtk2::Ex::FormFactory::YesNo
28
29 Gtk2::Ex::FormFactory::Layout
30 Gtk2::Ex::FormFactory::Rules
31 Gtk2::Ex::FormFactory::Context
32 Gtk2::Ex::FormFactory::Proxy
33
35 Attributes are handled through the common get_ATTR(), set_ATTR() style
36 accessors, but they are mostly passed once to the object constructor
37 and must not be altered after the associated FormFactory was built.
38
39 true_label = SCALAR [optional]
40 This is the label of the button which is activated when the
41 associated application object attribute is TRUE. Defaults to "Yes".
42
43 false_label = SCALAR [optional]
44 This is the label of the button which is activated when the
45 associated application object attribute is FALSE. Defaults to "No".
46
47 For more attributes refer to Gtk2::Ex::FormFactory::Widget.
48
50 Jörn Reder <joern at zyn dot de>
51
53 Copyright 2004-2006 by Jörn Reder.
54
55 This library is free software; you can redistribute it and/or modify it
56 under the terms of the GNU Library General Public License as published
57 by the Free Software Foundation; either version 2.1 of the License, or
58 (at your option) any later version.
59
60 This library is distributed in the hope that it will be useful, but
61 WITHOUT ANY WARRANTY; without even the implied warranty of
62 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
63 Library General Public License for more details.
64
65 You should have received a copy of the GNU Library General Public
66 License along with this library; if not, write to the Free Software
67 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307
68 USA.
69
71 Hey! The above document had some coding errors, which are explained
72 below:
73
74 Around line 158:
75 Non-ASCII character seen before =encoding in 'Jörn'. Assuming UTF-8
76
77
78
79perl v5.36.0 2023-01-20 Gtk2::Ex::FormFactory::YesNo(3)