1Gtk2::Pango::FontDescriUpsteironC(o3n)tributed Perl DocuGmtekn2t:a:tPiaonngo::FontDescription(3)
2
3
4

NAME

6       Gtk2::Pango::FontDescription
7

HIERARCHY

9         Glib::Boxed
10         +----Gtk2::Pango::FontDescription
11

METHODS

13   fontdescription = Gtk2::Pango::FontDescription->new
14   double = Gtk2::Pango->PANGO_PIXELS ($d)
15           ·   $d (double)
16
17   $desc->set_absolute_size ($size)
18           ·   $size (double)
19
20           Since: pango 1.8
21
22   boolean = $desc->better_match ($old_match, $new_match)
23           ·   $old_match (Gtk2::Pango::FontDescription or undef)
24
25           ·   $new_match (Gtk2::Pango::FontDescription)
26
27   boolean = $desc1->equal ($desc2)
28           ·   $desc2 (Gtk2::Pango::FontDescription)
29
30   string = $desc->get_family
31   $desc->set_family ($family)
32           ·   $family (string)
33
34   $desc->set_family_static ($family)
35           ·   $family (string)
36
37   fontdescription = Gtk2::Pango::FontDescription->from_string ($str)
38           ·   $str (string)
39
40   gravity = $desc->get_gravity
41           Since: pango 1.16
42
43   $desc->set_gravity ($gravity)
44           ·   $gravity (Gtk2::Pango::Gravity)
45
46           Since: pango 1.16
47
48   integer = $desc->hash
49   $desc->merge ($desc_to_merge, $replace_existing)
50           ·   $desc_to_merge (Gtk2::Pango::FontDescription)
51
52           ·   $replace_existing (boolean)
53
54   $desc->merge_static ($desc_to_merge, $replace_existing)
55           ·   $desc_to_merge (Gtk2::Pango::FontDescription)
56
57           ·   $replace_existing (boolean)
58
59   double = Gtk2::Pango->pixels ($d)
60           ·   $d (double)
61
62   double = Gtk2::Pango->scale
63   double = Gtk2::Pango->scale_large
64   double = Gtk2::Pango->scale_medium
65   double = Gtk2::Pango->scale_small
66   double = Gtk2::Pango->scale_x_large
67   double = Gtk2::Pango->scale_x_small
68   double = Gtk2::Pango->scale_xx_large
69   double = Gtk2::Pango->scale_xx_small
70   fontmask = $desc->get_set_fields
71   integer = $desc->get_size
72   boolean = $desc->get_size_is_absolute
73           Since: pango 1.8
74
75   $desc->set_size ($size)
76           ·   $size (integer)
77
78   stretch = $desc->get_stretch
79   $desc->set_stretch ($stretch)
80           ·   $stretch (Gtk2::Pango::Stretch)
81
82   style = $desc->get_style
83   $desc->set_style ($style)
84           ·   $style (Gtk2::Pango::Style)
85
86   string = $desc->to_filename
87   string = $desc->to_string
88   $desc->unset_fields ($to_unset)
89           ·   $to_unset (Gtk2::Pango::FontMask)
90
91   variant = $desc->get_variant
92   $desc->set_variant ($variant)
93           ·   $variant (Gtk2::Pango::Variant)
94
95   weight = $desc->get_weight
96   $desc->set_weight ($weight)
97           ·   $weight (Gtk2::Pango::Weight)
98

ENUMS AND FLAGS

100   flags Gtk2::Pango::FontMask
101       ·   'family' / 'PANGO_FONT_MASK_FAMILY'
102
103       ·   'style' / 'PANGO_FONT_MASK_STYLE'
104
105       ·   'variant' / 'PANGO_FONT_MASK_VARIANT'
106
107       ·   'weight' / 'PANGO_FONT_MASK_WEIGHT'
108
109       ·   'stretch' / 'PANGO_FONT_MASK_STRETCH'
110
111       ·   'size' / 'PANGO_FONT_MASK_SIZE'
112
113       ·   'gravity' / 'PANGO_FONT_MASK_GRAVITY'
114
115   enum Gtk2::Pango::Gravity
116       ·   'south' / 'PANGO_GRAVITY_SOUTH'
117
118       ·   'east' / 'PANGO_GRAVITY_EAST'
119
120       ·   'north' / 'PANGO_GRAVITY_NORTH'
121
122       ·   'west' / 'PANGO_GRAVITY_WEST'
123
124       ·   'auto' / 'PANGO_GRAVITY_AUTO'
125
126   enum Gtk2::Pango::Stretch
127       ·   'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
128
129       ·   'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
130
131       ·   'condensed' / 'PANGO_STRETCH_CONDENSED'
132
133       ·   'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
134
135       ·   'normal' / 'PANGO_STRETCH_NORMAL'
136
137       ·   'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
138
139       ·   'expanded' / 'PANGO_STRETCH_EXPANDED'
140
141       ·   'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
142
143       ·   'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
144
145   enum Gtk2::Pango::Style
146       ·   'normal' / 'PANGO_STYLE_NORMAL'
147
148       ·   'oblique' / 'PANGO_STYLE_OBLIQUE'
149
150       ·   'italic' / 'PANGO_STYLE_ITALIC'
151
152   enum Gtk2::Pango::Variant
153       ·   'normal' / 'PANGO_VARIANT_NORMAL'
154
155       ·   'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
156
157   enum Gtk2::Pango::Weight
158       ·   'thin' / 'PANGO_WEIGHT_THIN'
159
160       ·   'ultralight' / 'PANGO_WEIGHT_ULTRALIGHT'
161
162       ·   'light' / 'PANGO_WEIGHT_LIGHT'
163
164       ·   'book' / 'PANGO_WEIGHT_BOOK'
165
166       ·   'normal' / 'PANGO_WEIGHT_NORMAL'
167
168       ·   'medium' / 'PANGO_WEIGHT_MEDIUM'
169
170       ·   'semibold' / 'PANGO_WEIGHT_SEMIBOLD'
171
172       ·   'bold' / 'PANGO_WEIGHT_BOLD'
173
174       ·   'ultrabold' / 'PANGO_WEIGHT_ULTRABOLD'
175
176       ·   'heavy' / 'PANGO_WEIGHT_HEAVY'
177
178       ·   'ultraheavy' / 'PANGO_WEIGHT_ULTRAHEAVY'
179

SEE ALSO

181       Gtk2, Glib::Boxed
182
184       Copyright (C) 2003-2008 by the gtk2-perl team.
185
186       This software is licensed under the LGPL.  See Gtk2 for a full notice.
187
188
189
190perl v5.12.0                      2010-05-02   Gtk2::Pango::FontDescription(3)
Impressum