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 work‐
15       ing with Gnome2/Gtk2 Perl. The main purpose of these constants (aside
16       from unified values) is to aide in the creation of human readable code
17       that follows consistent naming conventions.
18

EXPORT TAGS

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

CONSTANTS BY TAG

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

BUGS

64       Please report any bugs to the mailing list.
65

CONTRIBUTE

67       If you've got constants that are related to Gnome2/Gtk2 Perl, that are
68       not already implemented in here and feel that others may benefit from
69       their inclusion here, please do not hesitate to send them to the mail‐
70       ing list.
71

MAILING LIST

73        http://opendoorsoftware.com/lists/gtk2-ex-list
74        gtk2-ex-list@opendoorsoftware.com
75

AUTHORS

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