1Gnome2::Canvas::Text(3)User Contributed Perl DocumentatioGnnome2::Canvas::Text(3)
2
3
4

NAME

6       Gnome2::Canvas::Text - Text as CanvasItems
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gnome2::Canvas::Item
13                        +----Gnome2::Canvas::Text
14

PROPERTIES

16       'anchor' (Gtk2::AnchorType : readable / writable)
17       'attributes' (Gtk2::Pango::AttrList : readable / writable)
18       'clip' (boolean : readable / writable)
19       'clip-height' (double : readable / writable)
20       'clip-width' (double : readable / writable)
21       'family' (string : readable / writable)
22           Name of the font family, e.g. Sans, Helvetica, Times, Monospace
23
24       'family-set' (boolean : readable / writable)
25           Whether this tag affects the font family
26
27       'fill-color' (string : readable / writable)
28           Text color, as string
29
30       'fill-color-gdk' (Gtk2::Gdk::Color : readable / writable)
31           Text color, as a GdkColor
32
33       'fill-color-rgba' (Glib::UInt : readable / writable)
34           Text color, as an R/G/B/A combined integer
35
36       'fill-stipple' (Gtk2::Gdk::Drawable : readable / writable)
37       'font' (string : readable / writable)
38           Font description as a string
39
40       'font-desc' (Gtk2::Pango::FontDescription : readable / writable)
41           Font description as a PangoFontDescription struct
42
43       'justification' (Gtk2::Justification : readable / writable)
44       'markup' (string : writable)
45           Marked up text to render
46
47       'rise' (integer : readable / writable)
48           Offset of text above the baseline (below the baseline if rise is
49           negative)
50
51       'rise-set' (boolean : readable / writable)
52           Whether this tag affects the rise
53
54       'scale' (double : readable / writable)
55           Size of font, relative to default size
56
57       'scale-set' (boolean : readable / writable)
58           Whether this tag affects font scaling
59
60       'size' (integer : readable / writable)
61           Font size (as a multiple of PANGO_SCALE, eg. 12*PANGO_SCALE for a
62           12pt font size)
63
64       'size-points' (double : readable / writable)
65           Font size in points (eg. 12 for a 12pt font size)
66
67       'size-set' (boolean : readable / writable)
68           Whether this tag affects the font size
69
70       'stretch' (Gtk2::Pango::Stretch : readable / writable)
71           Font stretch
72
73       'stretch-set' (boolean : readable / writable)
74           Whether this tag affects the font stretch
75
76       'strikethrough' (boolean : readable / writable)
77           Whether to strike through the text
78
79       'strikethrough-set' (boolean : readable / writable)
80           Whether this tag affects strikethrough
81
82       'style' (Gtk2::Pango::Style : readable / writable)
83           Font style
84
85       'style-set' (boolean : readable / writable)
86           Whether this tag affects the font style
87
88       'text' (string : readable / writable)
89           Text to render
90
91       'text-height' (double : readable)
92           Height of the rendered text
93
94       'text-width' (double : readable)
95           Width of the rendered text
96
97       'underline' (Gtk2::Pango::Underline : readable / writable)
98           Style of underline for this text
99
100       'underline-set' (boolean : readable / writable)
101           Whether this tag affects underlining
102
103       'variant' (Gtk2::Pango::Variant : readable / writable)
104           Font variant
105
106       'variant-set' (boolean : readable / writable)
107           Whether this tag affects the font variant
108
109       'weight' (integer : readable / writable)
110           Font weight
111
112       'weight-set' (boolean : readable / writable)
113           Whether this tag affects the font weight
114
115       'x' (double : readable / writable)
116       'x-offset' (double : readable / writable)
117       'y' (double : readable / writable)
118       'y-offset' (double : readable / writable)
119

ENUMS AND FLAGS

121   enum Gtk2::AnchorType
122       ·   'center' / 'GTK_ANCHOR_CENTER'
123
124       ·   'north' / 'GTK_ANCHOR_NORTH'
125
126       ·   'north-west' / 'GTK_ANCHOR_NORTH_WEST'
127
128       ·   'north-east' / 'GTK_ANCHOR_NORTH_EAST'
129
130       ·   'south' / 'GTK_ANCHOR_SOUTH'
131
132       ·   'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
133
134       ·   'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
135
136       ·   'west' / 'GTK_ANCHOR_WEST'
137
138       ·   'east' / 'GTK_ANCHOR_EAST'
139
140       ·   'n' / 'GTK_ANCHOR_N'
141
142       ·   'nw' / 'GTK_ANCHOR_NW'
143
144       ·   'ne' / 'GTK_ANCHOR_NE'
145
146       ·   's' / 'GTK_ANCHOR_S'
147
148       ·   'sw' / 'GTK_ANCHOR_SW'
149
150       ·   'se' / 'GTK_ANCHOR_SE'
151
152       ·   'w' / 'GTK_ANCHOR_W'
153
154       ·   'e' / 'GTK_ANCHOR_E'
155
156   enum Gtk2::Justification
157       ·   'left' / 'GTK_JUSTIFY_LEFT'
158
159       ·   'right' / 'GTK_JUSTIFY_RIGHT'
160
161       ·   'center' / 'GTK_JUSTIFY_CENTER'
162
163       ·   'fill' / 'GTK_JUSTIFY_FILL'
164
165   enum Gtk2::Pango::Stretch
166       ·   'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
167
168       ·   'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
169
170       ·   'condensed' / 'PANGO_STRETCH_CONDENSED'
171
172       ·   'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
173
174       ·   'normal' / 'PANGO_STRETCH_NORMAL'
175
176       ·   'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
177
178       ·   'expanded' / 'PANGO_STRETCH_EXPANDED'
179
180       ·   'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
181
182       ·   'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
183
184   enum Gtk2::Pango::Style
185       ·   'normal' / 'PANGO_STYLE_NORMAL'
186
187       ·   'oblique' / 'PANGO_STYLE_OBLIQUE'
188
189       ·   'italic' / 'PANGO_STYLE_ITALIC'
190
191   enum Gtk2::Pango::Underline
192       ·   'none' / 'PANGO_UNDERLINE_NONE'
193
194       ·   'single' / 'PANGO_UNDERLINE_SINGLE'
195
196       ·   'double' / 'PANGO_UNDERLINE_DOUBLE'
197
198       ·   'low' / 'PANGO_UNDERLINE_LOW'
199
200       ·   'error' / 'PANGO_UNDERLINE_ERROR'
201
202   enum Gtk2::Pango::Variant
203       ·   'normal' / 'PANGO_VARIANT_NORMAL'
204
205       ·   'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
206

SEE ALSO

208       Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
209       Gnome2::Canvas::Item
210
212       Copyright (C) 2003-2004 by the Gtk2-Perl Team.
213
214       This software is licensed under the LGPL; see Gnome2::Canvas for a full
215       notice.
216
217
218
219perl v5.12.0                      2010-05-12           Gnome2::Canvas::Text(3)
Impressum