The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

DESCRIPTION

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

EXPORT TAGS

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

CONSTANTS BY TAG

:truth

TRUE = 1
FALSE = 0

:pad

PAD_EDGE = 12
PAD_WIDGET = 8
PAD_ZERO = 0

:pack

PACK_EXPAND = ( 1, 0 )
PACK_FILL = ( 0, 1 )
PACK_ZERO = ( 0, 0 )
PACK_GROW = ( 1, 1 )

:align

A_LEFT = 0.00
A_CENTRE = 0.50
A_RIGHT = 1.00
A_TOP = 0.00
A_MIDDLE = 0.50
A_BOTTOM = 1.00

:justify

J_LEFT = 'left'
J_CENTRE = 'center'
J_RIGHT = 'right'
J_FILL = 'fill'

:policy

P_ALWAYS = 'always'
P_AUTO = 'automatic'
P_NEVER = 'never'

BUGS

Please report any bugs to the mailing list.

CONTRIBUTE

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

MAILING LIST

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

AUTHORS

 Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
 James Greenhalgh, <jgreenhalgh@opendoorsoftware.com>

COPYRIGHT AND LICENSE

 Gtk2::Ex::Constants - Useful constants for working with Gnome2/Gtk2 Perl.
 Copyright (C) 2005 Open Door Software Inc. <ods@opendoorsoftware.com>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA