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
62
63       'size-points' (double : readable / writable)
64           Font size in points
65
66       'size-set' (boolean : readable / writable)
67           Whether this tag affects the font size
68
69       'stretch' (Gtk2::Pango::Stretch : readable / writable)
70           Font stretch
71
72       'stretch-set' (boolean : readable / writable)
73           Whether this tag affects the font stretch
74
75       'strikethrough' (boolean : readable / writable)
76           Whether to strike through the text
77
78       'strikethrough-set' (boolean : readable / writable)
79           Whether this tag affects strikethrough
80
81       'style' (Gtk2::Pango::Style : readable / writable)
82           Font style
83
84       'style-set' (boolean : readable / writable)
85           Whether this tag affects the font style
86
87       'text' (string : readable / writable)
88           Text to render
89
90       'text-height' (double : readable)
91           Height of the rendered text
92
93       'text-width' (double : readable)
94           Width of the rendered text
95
96       'underline' (Gtk2::Pango::Underline : readable / writable)
97           Style of underline for this text
98
99       'underline-set' (boolean : readable / writable)
100           Whether this tag affects underlining
101
102       'variant' (Gtk2::Pango::Variant : readable / writable)
103           Font variant
104
105       'variant-set' (boolean : readable / writable)
106           Whether this tag affects the font variant
107
108       'weight' (integer : readable / writable)
109           Font weight
110
111       'weight-set' (boolean : readable / writable)
112           Whether this tag affects the font weight
113
114       'x' (double : readable / writable)
115       'x-offset' (double : readable / writable)
116       'y' (double : readable / writable)
117       'y-offset' (double : readable / writable)
118

ENUMS AND FLAGS

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

SEE ALSO

179       Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
180       Gnome2::Canvas::Item
181
183       Copyright (C) 2003-2004 by the Gtk2-Perl Team.
184
185       This software is licensed under the LGPL; see Gnome2::Canvas for a full
186       notice.
187
188
189
190perl v5.8.8                       2006-10-04           Gnome2::Canvas::Text(3)
Impressum