1Gtk2::Ex::Constants(3)User Contributed Perl DocumentationGtk2::Ex::Constants(3)
2
3
4

NAME

6       Gtk2 Ex Constants - Extra Constants for working with Gnome2/Gtk2 in
7       Perl.
8

SYNOPSIS

10        # import only the PACKing and PADing constants
11        use Gtk2::Constants qw( :pack :pad );
12

DESCRIPTION

14       This module provides many constant values for specific aspects of
15       working with Gnome2/Gtk2 Perl. The main purpose of these constants
16       (aside from unified values) is to aide in the creation of human
17       readable code that follows consistent naming conventions.
18

EXPORT TAGS

20           :all :truth :pad :pack :align :justify :policy
21

CONSTANTS BY TAG

23   :truth
24       TRUE = 1
25       FALSE = 0
26
27   :pad
28       PAD_EDGE = 12
29       PAD_WIDGET = 8
30       PAD_ZERO = 0
31
32   :pack
33       PACK_EXPAND = ( 1, 0 )
34       PACK_FILL = ( 0, 1 )
35       PACK_ZERO = ( 0, 0 )
36       PACK_GROW = ( 1, 1 )
37
38   :align
39       A_LEFT = 0.00
40       A_CENTRE = 0.50
41       A_RIGHT = 1.00
42       A_TOP = 0.00
43       A_MIDDLE = 0.50
44       A_BOTTOM = 1.00
45
46   :justify
47       J_LEFT = 'left'
48       J_CENTRE = 'center'
49       J_RIGHT = 'right'
50       J_FILL = 'fill'
51
52   :policy
53       P_ALWAYS = 'always'
54       P_AUTO = 'automatic'
55       P_NEVER = 'never'
56

BUGS

58       Please report any bugs to the mailing list.
59

CONTRIBUTE

61       If you've got constants that are related to Gnome2/Gtk2 Perl, that are
62       not already implemented in here and feel that others may benefit from
63       their inclusion here, please do not hesitate to send them to the
64       mailing list.
65

MAILING LIST

67        http://opendoorsoftware.com/lists/gtk2-ex-list
68        gtk2-ex-list@opendoorsoftware.com
69

AUTHORS

71        Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
72        James Greenhalgh, <jgreenhalgh@opendoorsoftware.com>
73
75        Gtk2::Ex::Constants - Useful constants for working with Gnome2/Gtk2 Perl.
76        Copyright (C) 2005 Open Door Software Inc. <ods@opendoorsoftware.com>
77
78        This library is free software; you can redistribute it and/or
79        modify it under the terms of the GNU Lesser General Public
80        License as published by the Free Software Foundation; either
81        version 2.1 of the License, or (at your option) any later version.
82
83        This library is distributed in the hope that it will be useful,
84        but WITHOUT ANY WARRANTY; without even the implied warranty of
85        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
86        Lesser General Public License for more details.
87
88        You should have received a copy of the GNU Lesser General Public
89        License along with this library; if not, write to the Free Software
90        Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
91
92
93
94perl v5.34.0                      2022-01-21            Gtk2::Ex::Constants(3)
Impressum