1Gtk2::Pango(3)        User Contributed Perl Documentation       Gtk2::Pango(3)
2
3
4

NAME

6       Gtk2::Pango - constants for use with Pango
7

SYNOPSIS

9         use Gtk2; # gets the actual Pango objects and methods
10
11         use Gtk2::Pango; # load extra constants
12

DESCRIPTION

14       To use Pango effectively, you need a few extra constants that are not
15       supplied in normal ways by the type system or by other means.
16
17       This module exports all of those extra constants when you load it.
18       They use the fully-prefixed names from the C documentation.
19

EXPORT

21       PangoWeight is indeed defined as an enumerated type whose values can be
22       used as nickname strings in the perl bindings, but in several places
23       where a weight is needed, a gint is requested instead.  This is because
24       PangoWeight is actually just a set of predefined values for an integer-
25       valued property.  The PANGO_WEIGHT_* constants give you the predefined
26       values:
27
28               PANGO_WEIGHT_ULTRALIGHT
29               PANGO_WEIGHT_LIGHT
30               PANGO_WEIGHT_NORMAL
31               PANGO_WEIGHT_BOLD
32               PANGO_WEIGHT_ULTRABOLD
33               PANGO_WEIGHT_HEAVY
34
35       These are #defined in the C source, and thus are not available anywhere
36       except here:
37
38               PANGO_SCALE_XX_SMALL
39               PANGO_SCALE_X_SMALL
40               PANGO_SCALE_SMALL
41               PANGO_SCALE_MEDIUM
42               PANGO_SCALE_LARGE
43               PANGO_SCALE_X_LARGE
44               PANGO_SCALE_XX_LARGE
45
46       PANGO_SCALE is needed to convert between Pango units and pixels.  It is
47       also available as Gtk2::Pango->scale.
48
49               PANGO_SCALE
50

BUGS

52       This module shouldn't exist, but some parts of the API just aren't
53       clean.
54
55       This stuff is hardcoded directly from the headers of pango 1.2.1.
56

SEE ALSO

58       perl(1), Gtk2(3pm)
59

AUTHOR

61       muppet <scott AT asofyet.org>
62
64       Copyright 2003 by muppet
65
66       This library is free software; you can redistribute it and/or modify it
67       under the terms of the GNU Library General Public License as published
68       by the Free Software Foundation; either version 2.1 of the License, or
69       (at your option) any later version.
70
71       This library is distributed in the hope that it will be useful, but
72       WITHOUT ANY WARRANTY; without even the implied warranty of
73       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
74       Library General Public License for more details.
75
76       You should have received a copy of the GNU Library General Public
77       License along with this library; if not, write to the Free Software
78       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
79       02110-1301  USA.
80
81
82
83perl v5.28.0                      2017-04-21                    Gtk2::Pango(3)
Impressum