1Gnome2::Canvas::RichTexUts(e3r)Contributed Perl DocumentGantoimoen2::Canvas::RichText(3)
2
3
4

NAME

6       Gnome2::Canvas::RichText
7

HIERARCHY

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

METHODS

16   textbuffer = $text->get_buffer
17   $text->set_buffer ($buffer)
18           ·   $buffer (Gtk2::TextBuffer)
19
20   $text->copy_clipboard
21   $text->cut_clipboard
22   textiter = $text->get_iter_at_location ($x, $y)
23           ·   $x (integer)
24
25           ·   $y (integer)
26
27   rectangle = $text->get_iter_location ($iter)
28           ·   $iter (Gtk2::TextIter)
29
30   $text->paste_clipboard

PROPERTIES

32       'anchor' (Gtk2::AnchorType : readable / writable)
33           Anchor point for text
34
35       'cursor-blink' (boolean : readable / writable)
36           Does the cursor blink in this rich text item?
37
38       'cursor-visible' (boolean : readable / writable)
39           Is the cursor visible in this rich text item?
40
41       'direction' (Gtk2::DirectionType : readable / writable)
42           Text direction
43
44       'editable' (boolean : readable / writable)
45           Is this rich text item editable?
46
47       'grow-height' (boolean : readable / writable)
48           Should the text box height grow if the text does not fit?
49
50       'height' (double : readable / writable)
51           Height for text box
52
53       'indent' (integer : readable / writable)
54           Number of pixels for indentation
55
56       'justification' (Gtk2::Justification : readable / writable)
57           Justification mode
58
59       'left-margin' (integer : readable / writable)
60           Number of pixels in the left margin
61
62       'pixels-above-lines' (integer : readable / writable)
63           Number of pixels to put above lines
64
65       'pixels-below-lines' (integer : readable / writable)
66           Number of pixels to put below lines
67
68       'pixels-inside-wrap' (integer : readable / writable)
69           Number of pixels to put inside the wrap
70
71       'right-margin' (integer : readable / writable)
72           Number of pixels in the right margin
73
74       'text' (string : readable / writable)
75           Text to display
76
77       'visible' (boolean : readable / writable)
78           Is this rich text item visible?
79
80       'width' (double : readable / writable)
81           Width for text box
82
83       'wrap-mode' (Gtk2::WrapMode : readable / writable)
84           Wrap mode for multiline text
85
86       'x' (double : readable / writable)
87           X position
88
89       'y' (double : readable / writable)
90           Y position
91

SIGNALS

93       tag-changed (Gnome2::Canvas::RichText, Glib::Object)
94

ENUMS AND FLAGS

96   enum Gtk2::AnchorType
97       ·   'center' / 'GTK_ANCHOR_CENTER'
98
99       ·   'north' / 'GTK_ANCHOR_NORTH'
100
101       ·   'north-west' / 'GTK_ANCHOR_NORTH_WEST'
102
103       ·   'north-east' / 'GTK_ANCHOR_NORTH_EAST'
104
105       ·   'south' / 'GTK_ANCHOR_SOUTH'
106
107       ·   'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
108
109       ·   'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
110
111       ·   'west' / 'GTK_ANCHOR_WEST'
112
113       ·   'east' / 'GTK_ANCHOR_EAST'
114
115       ·   'n' / 'GTK_ANCHOR_N'
116
117       ·   'nw' / 'GTK_ANCHOR_NW'
118
119       ·   'ne' / 'GTK_ANCHOR_NE'
120
121       ·   's' / 'GTK_ANCHOR_S'
122
123       ·   'sw' / 'GTK_ANCHOR_SW'
124
125       ·   'se' / 'GTK_ANCHOR_SE'
126
127       ·   'w' / 'GTK_ANCHOR_W'
128
129       ·   'e' / 'GTK_ANCHOR_E'
130
131   enum Gtk2::DirectionType
132       ·   'tab-forward' / 'GTK_DIR_TAB_FORWARD'
133
134       ·   'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
135
136       ·   'up' / 'GTK_DIR_UP'
137
138       ·   'down' / 'GTK_DIR_DOWN'
139
140       ·   'left' / 'GTK_DIR_LEFT'
141
142       ·   'right' / 'GTK_DIR_RIGHT'
143
144   enum Gtk2::Justification
145       ·   'left' / 'GTK_JUSTIFY_LEFT'
146
147       ·   'right' / 'GTK_JUSTIFY_RIGHT'
148
149       ·   'center' / 'GTK_JUSTIFY_CENTER'
150
151       ·   'fill' / 'GTK_JUSTIFY_FILL'
152
153   enum Gtk2::WrapMode
154       ·   'none' / 'GTK_WRAP_NONE'
155
156       ·   'char' / 'GTK_WRAP_CHAR'
157
158       ·   'word' / 'GTK_WRAP_WORD'
159
160       ·   'word-char' / 'GTK_WRAP_WORD_CHAR'
161

SEE ALSO

163       Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
164       Gnome2::Canvas::Item
165
167       Copyright (C) 2003-2004 by the Gtk2-Perl Team.
168
169       This software is licensed under the LGPL; see Gnome2::Canvas for a full
170       notice.
171
172
173
174perl v5.12.0                      2010-05-12       Gnome2::Canvas::RichText(3)
Impressum