1Gtk2::Ex::FormFactory::UBsuetrtoCno(n3t)ributed Perl DocGutmke2n:t:aEtxi:o:nFormFactory::Button(3)
2
3
4

NAME

6       Gtk2::Ex::FormFactory::Button - A Button in a FormFactory framework
7

SYNOPSIS

9         Gtk2::Ex::FormFactory::Button->new (
10           clicked_hook => Callback CODEREF / Closure
11           stock        => Name of a stock item for this button,
12           with_repeat  => Trigger callback continuously as long button is pressed,
13           image        => Filename of image to put on button,
14           ...
15           Gtk2::Ex::FormFactory::Widget attributes
16         );
17

DESCRIPTION

19       This module implements a Button in a Gtk2::Ex::FormFactory framework.
20       No application object attribute is associated with the button.
21

OBJECT HIERARCHY

23         Gtk2::Ex::FormFactory::Intro
24
25         Gtk2::Ex::FormFactory::Widget
26         +--- Gtk2::Ex::FormFactory::Button
27
28         Gtk2::Ex::FormFactory::Layout
29         Gtk2::Ex::FormFactory::Rules
30         Gtk2::Ex::FormFactory::Context
31         Gtk2::Ex::FormFactory::Proxy
32

ATTRIBUTES

34       Attributes are handled through the common get_ATTR(), set_ATTR() style
35       accessors, but they are mostly passed once to the object constructor
36       and must not be altered after the associated FormFactory was built.
37
38       clicked_hook = CODEREF [optional]
39           This is for convenience and connects the CODEREF to the clicked
40           signal of the button.
41
42       stock = SCALAR [optional]
43           You may specify the name of a stock item here, which should be
44           added to the button, e.g. 'gtk-edit' for the standard Gtk Edit
45           stock item. You may combine stock and label arbitrarily.
46
47       with_repeat = BOOLEAN [optional]
48           If you set this option the clicked_hook is called continuously as
49           long as the button is pressed, with a initial short delay, just
50           similar to keyboard repetition.
51
52       image = FILENAME [optional]
53           Use just this image for the button. No additional label is applied.
54
55       For more attributes refer to Gtk2::Ex::FormFactory::Widget.
56

AUTHORS

58        Jörn Reder <joern at zyn dot de>
59
61       Copyright 2004-2006 by Jörn Reder.
62
63       This library is free software; you can redistribute it and/or modify it
64       under the terms of the GNU Library General Public License as published
65       by the Free Software Foundation; either version 2.1 of the License, or
66       (at your option) any later version.
67
68       This library is distributed in the hope that it will be useful, but
69       WITHOUT ANY WARRANTY; without even the implied warranty of
70       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
71       Library General Public License for more details.
72
73       You should have received a copy of the GNU Library General Public
74       License along with this library; if not, write to the Free Software
75       Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307
76       USA.
77

POD ERRORS

79       Hey! The above document had some coding errors, which are explained
80       below:
81
82       Around line 109:
83           Non-ASCII character seen before =encoding in 'Jörn'. Assuming UTF-8
84
85
86
87perl v5.32.1                      2021-01-27  Gtk2::Ex::FormFactory::Button(3)
Impressum