File: GnomeCanvasRichText.html

package info (click to toggle)
libgnomecanvas 2.30.3-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,868 kB
  • sloc: ansic: 15,402; sh: 11,080; makefile: 204
file content (495 lines) | stat: -rw-r--r-- 32,770 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeCanvasRichText</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME Canvas Library Reference Manual">
<link rel="up" href="ch02.html" title="GNOME Canvas Library (libgnomecanvas)">
<link rel="prev" href="GnomeCanvasRect.html" title="GnomeCanvasRect">
<link rel="next" href="GnomeCanvasShape.html" title="GnomeCanvasShape">
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GnomeCanvasRect.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME Canvas Library Reference Manual</th>
<td><a accesskey="n" href="GnomeCanvasShape.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeCanvasRichText.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GnomeCanvasRichText.description" class="shortcut">Description</a>
                   | 
                  <a href="#GnomeCanvasRichText.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GnomeCanvasRichText.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GnomeCanvasRichText.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GnomeCanvasRichText"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeCanvasRichText.top_of_page"></a>GnomeCanvasRichText</span></h2>
<p>GnomeCanvasRichText — Rich text canvas item</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeCanvasRichText.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomecanvas/libgnomecanvas.h&gt;

struct              <a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText-struct" title="struct GnomeCanvasRichText">GnomeCanvasRichText</a>;
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-cut-clipboard" title="gnome_canvas_rich_text_cut_clipboard ()">gnome_canvas_rich_text_cut_clipboard</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-copy-clipboard" title="gnome_canvas_rich_text_copy_clipboard ()">gnome_canvas_rich_text_copy_clipboard</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-paste-clipboard" title="gnome_canvas_rich_text_paste_clipboard ()">gnome_canvas_rich_text_paste_clipboard</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-set-buffer" title="gnome_canvas_rich_text_set_buffer ()">gnome_canvas_rich_text_set_buffer</a>   (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);
<a href="../gtk/GtkTextBuffer.html"><span class="returnvalue">GtkTextBuffer</span></a> *     <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-get-buffer" title="gnome_canvas_rich_text_get_buffer ()">gnome_canvas_rich_text_get_buffer</a>   (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-get-iter-location" title="gnome_canvas_rich_text_get_iter_location ()">gnome_canvas_rich_text_get_iter_location</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code>const <a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *location</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeCanvasRichText.html#gnome-canvas-rich-text-get-iter-at-location" title="gnome_canvas_rich_text_get_iter_at_location ()">gnome_canvas_rich_text_get_iter_at_location</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="../gtk/GtkObject.html">GtkObject</a>
               +----<a class="link" href="GnomeCanvasItem.html" title="GnomeCanvasItem">GnomeCanvasItem</a>
                     +----GnomeCanvasRichText
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--anchor" title='The "anchor" property'>anchor</a>"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></a>         : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--cursor-blink" title='The "cursor-blink" property'>cursor-blink</a>"             <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--cursor-visible" title='The "cursor-visible" property'>cursor-visible</a>"           <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--direction" title='The "direction" property'>direction</a>"                <a href="../gtk/gtk-Standard-Enumerations.html#GtkDirectionType"><span class="type">GtkDirectionType</span></a>      : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--editable" title='The "editable" property'>editable</a>"                 <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--grow-height" title='The "grow-height" property'>grow-height</a>"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--height" title='The "height" property'>height</a>"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--indent" title='The "indent" property'>indent</a>"                   <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--justification" title='The "justification" property'>justification</a>"            <a href="../gtk/gtk-Standard-Enumerations.html#GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--left-margin" title='The "left-margin" property'>left-margin</a>"              <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--pixels-above-lines" title='The "pixels-above-lines" property'>pixels-above-lines</a>"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--pixels-below-lines" title='The "pixels-below-lines" property'>pixels-below-lines</a>"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--pixels-inside-wrap" title='The "pixels-inside-wrap" property'>pixels-inside-wrap</a>"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--right-margin" title='The "right-margin" property'>right-margin</a>"             <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--text" title='The "text" property'>text</a>"                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--visible" title='The "visible" property'>visible</a>"                  <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--width" title='The "width" property'>width</a>"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>"                <a href="../gtk/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--x" title='The "x" property'>x</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText--y" title='The "y" property'>y</a>"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeCanvasRichText.html#GnomeCanvasRichText-tag-changed" title='The "tag-changed" signal'>tag-changed</a>"                                    : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.description"></a><h2>Description</h2>
<p>
A canvas item that displays a GtkTextBuffer which is a flexible text display
and editing widget. Consult GtkTextBuffer info in the GTK+ Reference
documentation for more details.
</p>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeCanvasRichText-struct"></a><h3>struct GnomeCanvasRichText</h3>
<pre class="programlisting">struct GnomeCanvasRichText;</pre>
<p>
This structure should not be accessed directly. Use the object's properties
and functions for querying or changing its parameters.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-cut-clipboard"></a><h3>gnome_canvas_rich_text_cut_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_cut_clipboard
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);</pre>
<p>
Copies the currently selected <em class="parameter"><code>text</code></em> to clipboard, then deletes said text
if it's editable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-copy-clipboard"></a><h3>gnome_canvas_rich_text_copy_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_copy_clipboard
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);</pre>
<p>
Copies the currently selected <em class="parameter"><code>text</code></em> to clipboard.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-paste-clipboard"></a><h3>gnome_canvas_rich_text_paste_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_paste_clipboard
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);</pre>
<p>
Pastes the contents of the clipboard at the insertion point.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-set-buffer"></a><h3>gnome_canvas_rich_text_set_buffer ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_set_buffer   (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
<p>
Sets the buffer field of the <em class="parameter"><code>text</code></em> to <em class="parameter"><code>buffer</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>a <a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-get-buffer"></a><h3>gnome_canvas_rich_text_get_buffer ()</h3>
<pre class="programlisting"><a href="../gtk/GtkTextBuffer.html"><span class="returnvalue">GtkTextBuffer</span></a> *     gnome_canvas_rich_text_get_buffer   (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>);</pre>
<p>
Returns a <a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> associated with the <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.
This function creates a new <a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> if the text buffer is NULL.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a href="../gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-get-iter-location"></a><h3>gnome_canvas_rich_text_get_iter_location ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_get_iter_location
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code>const <a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *location</code></em>);</pre>
<p>
Gets a rectangle which roughly contains the character at <em class="parameter"><code>iter</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a <a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
<td>a <a href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> containing the bounds of the character at <em class="parameter"><code>iter</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-canvas-rich-text-get-iter-at-location"></a><h3>gnome_canvas_rich_text_get_iter_at_location ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_canvas_rich_text_get_iter_at_location
                                                        (<em class="parameter"><code><a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *text</code></em>,
                                                         <em class="parameter"><code><a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
<p>
Retrieves the iterator at the buffer coordinates x and y.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>a <a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a <a href="../gtk/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>x position, in buffer coordinates.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>y position, in buffer coordinates.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeCanvasRichText--anchor"></a><h3>The <code class="literal">"anchor"</code> property</h3>
<pre class="programlisting">  "anchor"                   <a href="../gtk/gtk-Standard-Enumerations.html#GtkAnchorType"><span class="type">GtkAnchorType</span></a>         : Read / Write</pre>
<p>
Anchor point for text.
</p>
<p>Default value: GTK_ANCHOR_NORTH_WEST</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--cursor-blink"></a><h3>The <code class="literal">"cursor-blink"</code> property</h3>
<pre class="programlisting">  "cursor-blink"             <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Does the cursor blink in this rich text item?
</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--cursor-visible"></a><h3>The <code class="literal">"cursor-visible"</code> property</h3>
<pre class="programlisting">  "cursor-visible"           <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Is the cursor visible?
</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--direction"></a><h3>The <code class="literal">"direction"</code> property</h3>
<pre class="programlisting">  "direction"                <a href="../gtk/gtk-Standard-Enumerations.html#GtkDirectionType"><span class="type">GtkDirectionType</span></a>      : Read / Write</pre>
<p>
Direction of displayed rich text.
</p>
<p>Default value: GTK_DIR_TAB_BACKWARD</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
<pre class="programlisting">  "editable"                 <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Is this rich text item editable?
</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--grow-height"></a><h3>The <code class="literal">"grow-height"</code> property</h3>
<pre class="programlisting">  "grow-height"              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Should the text box height grow if the text does not fit?
</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--height"></a><h3>The <code class="literal">"height"</code> property</h3>
<pre class="programlisting">  "height"                   <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Height for text box.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--indent"></a><h3>The <code class="literal">"indent"</code> property</h3>
<pre class="programlisting">  "indent"                   <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels for indentation.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--justification"></a><h3>The <code class="literal">"justification"</code> property</h3>
<pre class="programlisting">  "justification"            <a href="../gtk/gtk-Standard-Enumerations.html#GtkJustification"><span class="type">GtkJustification</span></a>      : Read / Write</pre>
<p>
Justification mode.
</p>
<p>Default value: GTK_JUSTIFY_LEFT</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--left-margin"></a><h3>The <code class="literal">"left-margin"</code> property</h3>
<pre class="programlisting">  "left-margin"              <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels in the left margin.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--pixels-above-lines"></a><h3>The <code class="literal">"pixels-above-lines"</code> property</h3>
<pre class="programlisting">  "pixels-above-lines"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels to put above lines.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--pixels-below-lines"></a><h3>The <code class="literal">"pixels-below-lines"</code> property</h3>
<pre class="programlisting">  "pixels-below-lines"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels to put below lines.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--pixels-inside-wrap"></a><h3>The <code class="literal">"pixels-inside-wrap"</code> property</h3>
<pre class="programlisting">  "pixels-inside-wrap"       <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels to put inside the wrap.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--right-margin"></a><h3>The <code class="literal">"right-margin"</code> property</h3>
<pre class="programlisting">  "right-margin"             <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Number of pixels in the right margin.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--text"></a><h3>The <code class="literal">"text"</code> property</h3>
<pre class="programlisting">  "text"                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Text to display.
</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--visible"></a><h3>The <code class="literal">"visible"</code> property</h3>
<pre class="programlisting">  "visible"                  <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Is this rich text item visible?
</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--width"></a><h3>The <code class="literal">"width"</code> property</h3>
<pre class="programlisting">  "width"                    <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Width for text box.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
<pre class="programlisting">  "wrap-mode"                <a href="../gtk/GtkTextTag.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>           : Read / Write</pre>
<p>
Wrap mode for multiline text.
</p>
<p>Default value: GTK_WRAP_WORD</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--x"></a><h3>The <code class="literal">"x"</code> property</h3>
<pre class="programlisting">  "x"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
X position.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeCanvasRichText--y"></a><h3>The <code class="literal">"y"</code> property</h3>
<pre class="programlisting">  "y"                        <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
Y position.
</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1">
<a name="GnomeCanvasRichText.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GnomeCanvasRichText-tag-changed"></a><h3>The <code class="literal">"tag-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GnomeCanvasRichText.html" title="GnomeCanvasRichText"><span class="type">GnomeCanvasRichText</span></a> *canvasrichtext,
                                                        <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>             *arg1,
                                                        <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>             user_data)           : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvasrichtext</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>