1Gnome2::Canvas::RichTexUts(e3r)Contributed Perl DocumentGantoimoen2::Canvas::RichText(3)
2
3
4
6 Gnome2::Canvas::RichText - wrapper for GnomeCanvasRichText
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gnome2::Canvas::Item
13 +----Gnome2::Canvas::RichText
14
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
32 'anchor' (Gtk2::AnchorType : default "north-west" : readable /
33 writable)
34 Anchor point for text
35
36 'cursor-blink' (boolean : default true : readable / writable)
37 Does the cursor blink in this rich text item?
38
39 'cursor-visible' (boolean : default true : readable / writable)
40 Is the cursor visible in this rich text item?
41
42 'direction' (Gtk2::DirectionType : default "tab-backward" : readable /
43 writable)
44 Text direction
45
46 'editable' (boolean : default true : readable / writable)
47 Is this rich text item editable?
48
49 'grow-height' (boolean : default false : readable / writable)
50 Should the text box height grow if the text does not fit?
51
52 'height' (double : default 0 : readable / writable)
53 Height for text box
54
55 'indent' (integer : default 0 : readable / writable)
56 Number of pixels for indentation
57
58 'justification' (Gtk2::Justification : default "left" : readable /
59 writable)
60 Justification mode
61
62 'left-margin' (integer : default 0 : readable / writable)
63 Number of pixels in the left margin
64
65 'pixels-above-lines' (integer : default 0 : readable / writable)
66 Number of pixels to put above lines
67
68 'pixels-below-lines' (integer : default 0 : readable / writable)
69 Number of pixels to put below lines
70
71 'pixels-inside-wrap' (integer : default 0 : readable / writable)
72 Number of pixels to put inside the wrap
73
74 'right-margin' (integer : default 0 : readable / writable)
75 Number of pixels in the right margin
76
77 'text' (string : default undef : readable / writable)
78 Text to display
79
80 'visible' (boolean : default true : readable / writable)
81 Is this rich text item visible?
82
83 'width' (double : default 0 : readable / writable)
84 Width for text box
85
86 'wrap-mode' (Gtk2::WrapMode : default "word" : readable / writable)
87 Wrap mode for multiline text
88
89 'x' (double : default 0 : readable / writable)
90 X position
91
92 'y' (double : default 0 : readable / writable)
93 Y position
94
96 tag-changed (Gnome2::Canvas::RichText, Glib::Object)
97
99 enum Gtk2::AnchorType
100 • 'center' / 'GTK_ANCHOR_CENTER'
101
102 • 'north' / 'GTK_ANCHOR_NORTH'
103
104 • 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
105
106 • 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
107
108 • 'south' / 'GTK_ANCHOR_SOUTH'
109
110 • 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
111
112 • 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
113
114 • 'west' / 'GTK_ANCHOR_WEST'
115
116 • 'east' / 'GTK_ANCHOR_EAST'
117
118 • 'n' / 'GTK_ANCHOR_N'
119
120 • 'nw' / 'GTK_ANCHOR_NW'
121
122 • 'ne' / 'GTK_ANCHOR_NE'
123
124 • 's' / 'GTK_ANCHOR_S'
125
126 • 'sw' / 'GTK_ANCHOR_SW'
127
128 • 'se' / 'GTK_ANCHOR_SE'
129
130 • 'w' / 'GTK_ANCHOR_W'
131
132 • 'e' / 'GTK_ANCHOR_E'
133
134 enum Gtk2::DirectionType
135 • 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
136
137 • 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
138
139 • 'up' / 'GTK_DIR_UP'
140
141 • 'down' / 'GTK_DIR_DOWN'
142
143 • 'left' / 'GTK_DIR_LEFT'
144
145 • 'right' / 'GTK_DIR_RIGHT'
146
147 enum Gtk2::Justification
148 • 'left' / 'GTK_JUSTIFY_LEFT'
149
150 • 'right' / 'GTK_JUSTIFY_RIGHT'
151
152 • 'center' / 'GTK_JUSTIFY_CENTER'
153
154 • 'fill' / 'GTK_JUSTIFY_FILL'
155
156 enum Gtk2::WrapMode
157 • 'none' / 'GTK_WRAP_NONE'
158
159 • 'char' / 'GTK_WRAP_CHAR'
160
161 • 'word' / 'GTK_WRAP_WORD'
162
163 • 'word-char' / 'GTK_WRAP_WORD_CHAR'
164
166 Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
167 Gnome2::Canvas::Item
168
170 Copyright (C) 2003-2004 by the Gtk2-Perl Team.
171
172 This software is licensed under the LGPL; see Gnome2::Canvas for a full
173 notice.
174
175
176
177perl v5.32.1 2021-01-27 Gnome2::Canvas::RichText(3)