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


Manual Reference Pages  -  GTK2::PANGO (3)

.ds Aq ’

NAME

Gtk2::Pango - constants for use with Pango

CONTENTS

SYNOPSIS



  use Gtk2; # gets the actual Pango objects and methods

  use Gtk2::Pango; # load extra constants



DESCRIPTION

To use Pango effectively, you need a few extra constants that are not supplied in normal ways by the type system or by other means.

This module exports all of those extra constants when you load it. They use the fully-prefixed names from the C documentation.

EXPORT

PangoWeight is indeed defined as an enumerated type whose values can be used as nickname strings in the perl bindings, but in several places where a weight is needed, a gint is requested instead. This is because PangoWeight is actually just a set of predefined values for an integer-valued property. The PANGO_WEIGHT_* constants give you the predefined values:



        PANGO_WEIGHT_ULTRALIGHT
        PANGO_WEIGHT_LIGHT
        PANGO_WEIGHT_NORMAL
        PANGO_WEIGHT_BOLD
        PANGO_WEIGHT_ULTRABOLD
        PANGO_WEIGHT_HEAVY



These are #defined in the C source, and thus are not available anywhere except here:



        PANGO_SCALE_XX_SMALL
        PANGO_SCALE_X_SMALL
        PANGO_SCALE_SMALL
        PANGO_SCALE_MEDIUM
        PANGO_SCALE_LARGE
        PANGO_SCALE_X_LARGE
        PANGO_SCALE_XX_LARGE



PANGO_SCALE is needed to convert between Pango units and pixels. It is also available as Gtk2::Pango->scale.



        PANGO_SCALE



BUGS

This module shouldn’t exist, but some parts of the API just aren’t clean.

This stuff is hardcoded directly from the headers of pango 1.2.1.

SEE ALSO

perl(1), Gtk2(3pm)

AUTHOR

muppet <scott AT asofyet.org>

COPYRIGHT AND LICENSE

Copyright 2003 by muppet

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library 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 Library General Public License for more details.

You should have received a copy of the GNU Library 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.

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


perl v5.20.3 GTK2::PANGO (3) 2011-11-24

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