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

NAME

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

SYNOPSIS

9         Gtk2::Ex::FormFactory::Window->new (
10           closed_hook   => Code reference to be called on window close,
11           quit_on_close => Quit Gtk2 mainloop if windows is closed
12           ...
13           Gtk2::Ex::FormFactory::Container attributes
14           Gtk2::Ex::FormFactory::Widget attributes
15         );
16

DESCRIPTION

18       This class implements a Window in a Gtk2::Ex::FormFactory framework.
19       The window title may be controlled by an associated application object.
20
21       By default a Window automatically is implemented with an VBox. So you
22       can add more than one widget to a Gtk2::Ex::FormFactory::Window in
23       contrast to a Gtk2::Window.
24
25       Note: if a window has a Gtk2::Ex::FormFactory parent, the FormFactory
26       is closed automatically when the window gets destroyed.
27

OBJECT HIERARCHY

29         Gtk2::Ex::FormFactory::Intro
30
31         Gtk2::Ex::FormFactory::Widget
32         +--- Gtk2::Ex::FormFactory::Container
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

ATTRIBUTES

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       closed_hook = CODEREF [optional]
46           This code reference is called, when the window gets destroyed, e.g.
47           because the user closes the window using the window manager's close
48           button, or the program calls GtkWindow->destroy directly.
49
50           If no closed_hook is set an internal hook is connected which closes
51           the Gtk2::Ex::FormFactory of this Window.
52
53       quit_on_close = BOOL [optional]
54           If this is set to true the Gtk2 mainloop quits when the window is
55           closed and no closed_hook is set. If you use a closed_hook quitting
56           the mainloop is up to you.
57

AUTHORS

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

POD ERRORS

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