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           ...
14           Gtk2::Ex::FormFactory::Widget attributes
15         );
16

DESCRIPTION

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

OBJECT HIERARCHY

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

ATTRIBUTES

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

AUTHORS

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-06-17  Gtk2::Ex::FormFactory::Button(3)
Impressum