1Gtk2::Pango::Context(3)User Contributed Perl DocumentatioGntk2::Pango::Context(3)
2
3
4
6 Gtk2::Pango::Context
7
9 Glib::Object
10 +----Gtk2::Pango::Context
11
13 direction = $context->get_base_dir
14 $context->set_base_dir ($direction)
15 · $direction (Gtk2::Pango::Direction)
16
17 gravity = $context->get_base_gravity
18 Since: pango 1.16
19
20 $context->set_base_gravity ($gravity)
21 · $gravity (Gtk2::Pango::Gravity)
22
23 Since: pango 1.16
24
25 fontdescription = $context->get_font_description
26 $context->set_font_description ($desc)
27 · $desc (Gtk2::Pango::FontDescription)
28
29 fontmap = $context->get_font_map
30 Since: pango 1.6
31
32 gravity = $context->get_gravity
33 Since: pango 1.16
34
35 gravityhint = $context->get_gravity_hint
36 Since: pango 1.16
37
38 $context->set_gravity_hint ($hint)
39 · $hint (Gtk2::Pango::GravityHint)
40
41 Since: pango 1.16
42
43 language = $context->get_language
44 $context->set_language ($language)
45 · $language (Gtk2::Pango::Language)
46
47 @families = $context->list_families
48 font = $context->load_font ($desc)
49 · $desc (Gtk2::Pango::FontDescription or undef)
50
51 fontset = $context->load_fontset ($desc, $language)
52 · $desc (Gtk2::Pango::FontDescription)
53
54 · $language (Gtk2::Pango::Language or undef)
55
56 matrix or undef = $context->get_matrix
57 Since: pango 1.6
58
59 $context->set_matrix ($matrix)
60 · $matrix (Gtk2::Pango::Matrix or undef)
61
62 Since: pango 1.6
63
64 fontmetrics = $context->get_metrics ($desc, $language)
65 · $desc (Gtk2::Pango::FontDescription)
66
67 · $language (Gtk2::Pango::Language or undef)
68
70 enum Gtk2::Pango::Direction
71 · 'ltr' / 'PANGO_DIRECTION_LTR'
72
73 · 'rtl' / 'PANGO_DIRECTION_RTL'
74
75 · 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
76
77 · 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
78
79 · 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
80
81 · 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
82
83 · 'neutral' / 'PANGO_DIRECTION_NEUTRAL'
84
85 enum Gtk2::Pango::Gravity
86 · 'south' / 'PANGO_GRAVITY_SOUTH'
87
88 · 'east' / 'PANGO_GRAVITY_EAST'
89
90 · 'north' / 'PANGO_GRAVITY_NORTH'
91
92 · 'west' / 'PANGO_GRAVITY_WEST'
93
94 · 'auto' / 'PANGO_GRAVITY_AUTO'
95
96 enum Gtk2::Pango::GravityHint
97 · 'natural' / 'PANGO_GRAVITY_HINT_NATURAL'
98
99 · 'strong' / 'PANGO_GRAVITY_HINT_STRONG'
100
101 · 'line' / 'PANGO_GRAVITY_HINT_LINE'
102
104 Gtk2, Glib::Object
105
107 Copyright (C) 2003-2008 by the gtk2-perl team.
108
109 This software is licensed under the LGPL. See Gtk2 for a full notice.
110
111
112
113perl v5.12.0 2010-05-02 Gtk2::Pango::Context(3)