GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::Ex::Constants(3) User Contributed Perl Documentation Gtk2::Ex::Constants(3)

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

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

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.

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

TRUE = 1
FALSE = 0

PAD_EDGE = 12
PAD_WIDGET = 8
PAD_ZERO = 0

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

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

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

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

Please report any bugs to the mailing list.

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.

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

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

 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
2005-02-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.