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
15       double = Gtk2::Pango->PANGO_PIXELS ($d)
16
17           * $d (double)
18
19       $desc->set_absolute_size ($size)
20
21           * $size (double)
22
23       boolean = $desc->better_match ($old_match, $new_match)
24
25           * $old_match (Gtk2::Pango::FontDescription or undef)
26           * $new_match (Gtk2::Pango::FontDescription)
27
28       boolean = $desc1->equal ($desc2)
29
30           * $desc2 (Gtk2::Pango::FontDescription)
31
32       string = $desc->get_family
33
34       $desc->set_family ($family)
35
36           * $family (string)
37
38       $desc->set_family_static ($family)
39
40           * $family (string)
41
42       fontdescription = Gtk2::Pango::FontDescription->from_string ($str)
43
44           * $str (string)
45
46       integer = $desc->hash
47
48       $desc->merge ($desc_to_merge, $replace_existing)
49
50           * $desc_to_merge (Gtk2::Pango::FontDescription)
51           * $replace_existing (boolean)
52
53       $desc->merge_static ($desc_to_merge, $replace_existing)
54
55           * $desc_to_merge (Gtk2::Pango::FontDescription)
56           * $replace_existing (boolean)
57
58       double = Gtk2::Pango->pixels ($d)
59
60           * $d (double)
61
62       double = Gtk2::Pango->scale
63
64       double = Gtk2::Pango->scale_large
65
66       double = Gtk2::Pango->scale_medium
67
68       double = Gtk2::Pango->scale_small
69
70       double = Gtk2::Pango->scale_x_large
71
72       double = Gtk2::Pango->scale_x_small
73
74       double = Gtk2::Pango->scale_xx_large
75
76       double = Gtk2::Pango->scale_xx_small
77
78       fontmask = $desc->get_set_fields
79
80       integer = $desc->get_size
81
82       boolean = $desc->get_size_is_absolute
83
84       $desc->set_size ($size)
85
86           * $size (integer)
87
88       stretch = $desc->get_stretch
89
90       $desc->set_stretch ($stretch)
91
92           * $stretch (Gtk2::Pango::Stretch)
93
94       style = $desc->get_style
95
96       $desc->set_style ($style)
97
98           * $style (Gtk2::Pango::Style)
99
100       string = $desc->to_filename
101
102       string = $desc->to_string
103
104       $desc->unset_fields ($to_unset)
105
106           * $to_unset (Gtk2::Pango::FontMask)
107
108       variant = $desc->get_variant
109
110       $desc->set_variant ($variant)
111
112           * $variant (Gtk2::Pango::Variant)
113
114       weight = $desc->get_weight
115
116       $desc->set_weight ($weight)
117
118           * $weight (Gtk2::Pango::Weight)
119

ENUMS AND FLAGS

121       flags Gtk2::Pango::FontMask
122
123       * 'family' / 'PANGO_FONT_MASK_FAMILY'
124       * 'style' / 'PANGO_FONT_MASK_STYLE'
125       * 'variant' / 'PANGO_FONT_MASK_VARIANT'
126       * 'weight' / 'PANGO_FONT_MASK_WEIGHT'
127       * 'stretch' / 'PANGO_FONT_MASK_STRETCH'
128       * 'size' / 'PANGO_FONT_MASK_SIZE'
129       * 'gravity' / 'PANGO_FONT_MASK_GRAVITY'
130
131       enum Gtk2::Pango::Stretch
132
133       * 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
134       * 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
135       * 'condensed' / 'PANGO_STRETCH_CONDENSED'
136       * 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
137       * 'normal' / 'PANGO_STRETCH_NORMAL'
138       * 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
139       * 'expanded' / 'PANGO_STRETCH_EXPANDED'
140       * 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
141       * 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
142
143       enum Gtk2::Pango::Style
144
145       * 'normal' / 'PANGO_STYLE_NORMAL'
146       * 'oblique' / 'PANGO_STYLE_OBLIQUE'
147       * 'italic' / 'PANGO_STYLE_ITALIC'
148
149       enum Gtk2::Pango::Variant
150
151       * 'normal' / 'PANGO_VARIANT_NORMAL'
152       * 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
153
154       enum Gtk2::Pango::Weight
155
156       * 'ultralight' / 'PANGO_WEIGHT_ULTRALIGHT'
157       * 'light' / 'PANGO_WEIGHT_LIGHT'
158       * 'normal' / 'PANGO_WEIGHT_NORMAL'
159       * 'semibold' / 'PANGO_WEIGHT_SEMIBOLD'
160       * 'bold' / 'PANGO_WEIGHT_BOLD'
161       * 'ultrabold' / 'PANGO_WEIGHT_ULTRABOLD'
162       * 'heavy' / 'PANGO_WEIGHT_HEAVY'
163

SEE ALSO

165       Gtk2, Glib::Boxed
166
168       Copyright (C) 2003-2007 by the gtk2-perl team.
169
170       This software is licensed under the LGPL.  See Gtk2 for a full notice.
171
172
173
174perl v5.8.8                       2007-03-18   Gtk2::Pango::FontDescription(3)
Impressum