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