~ubuntu-branches/ubuntu/vivid/clutter-1.0/vivid-proposed

« back to all changes in this revision

Viewing changes to doc/reference/clutter/html/ClutterTextBuffer.html

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-05-01 16:49:06 UTC
  • mfrom: (1.3.25)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: package-import@ubuntu.com-20120501164906-ubqqkuxd8t1vakbh
Tags: 1.10.4-1
* New upstream release.
* debian/watch: Track stable releases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch11.html" title="General purpose API">
9
9
<link rel="prev" href="clutter-Stage-Manager.html" title="Stage Manager">
10
10
<link rel="next" href="clutter-Unit-conversion.html" title="Unit conversion">
11
 
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
47
47
struct              <a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-struct" title="struct ClutterTextBuffer">ClutterTextBuffer</a>;
48
48
struct              <a class="link" href="ClutterTextBuffer.html#ClutterTextBufferClass" title="struct ClutterTextBufferClass">ClutterTextBufferClass</a>;
49
49
<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-new" title="clutter_text_buffer_new ()">clutter_text_buffer_new</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
50
 
<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-new-with-text" title="clutter_text_buffer_new_with_text ()">clutter_text_buffer_new_with_text</a>   (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
51
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> text_len</code></em>);
 
50
<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-new-with-text" title="clutter_text_buffer_new_with_text ()">clutter_text_buffer_new_with_text</a>   (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
 
51
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> text_len</code></em>);
52
52
<span class="returnvalue">void</span>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-set-text" title="clutter_text_buffer_set_text ()">clutter_text_buffer_set_text</a>        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
53
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
54
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
55
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-text" title="clutter_text_buffer_get_text ()">clutter_text_buffer_get_text</a>        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
56
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-bytes" title="clutter_text_buffer_get_bytes ()">clutter_text_buffer_get_bytes</a>       (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
57
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-length" title="clutter_text_buffer_get_length ()">clutter_text_buffer_get_length</a>      (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
 
53
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
54
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
 
55
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-text" title="clutter_text_buffer_get_text ()">clutter_text_buffer_get_text</a>        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
 
56
<a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-bytes" title="clutter_text_buffer_get_bytes ()">clutter_text_buffer_get_bytes</a>       (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
 
57
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-length" title="clutter_text_buffer_get_length ()">clutter_text_buffer_get_length</a>      (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-set-max-length" title="clutter_text_buffer_set_max_length ()">clutter_text_buffer_set_max_length</a>  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
59
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_length</code></em>);
60
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-max-length" title="clutter_text_buffer_get_max_length ()">clutter_text_buffer_get_max_length</a>  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
61
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-insert-text" title="clutter_text_buffer_insert_text ()">clutter_text_buffer_insert_text</a>     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
62
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
63
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
64
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
65
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-delete-text" title="clutter_text_buffer_delete_text ()">clutter_text_buffer_delete_text</a>     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
66
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
 
59
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_length</code></em>);
 
60
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-max-length" title="clutter_text_buffer_get_max_length ()">clutter_text_buffer_get_max_length</a>  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
 
61
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-insert-text" title="clutter_text_buffer_insert_text ()">clutter_text_buffer_insert_text</a>     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
 
62
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
63
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
64
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
 
65
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-delete-text" title="clutter_text_buffer_delete_text ()">clutter_text_buffer_delete_text</a>     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
 
66
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
67
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);
68
68
<span class="returnvalue">void</span>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-emit-inserted-text" title="clutter_text_buffer_emit_inserted_text ()">clutter_text_buffer_emit_inserted_text</a>
69
69
                                                        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
70
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
71
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
72
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);
 
70
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
71
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
72
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);
73
73
<span class="returnvalue">void</span>                <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-emit-deleted-text" title="clutter_text_buffer_emit_deleted_text ()">clutter_text_buffer_emit_deleted_text</a>
74
74
                                                        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
75
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
76
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);
 
75
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
76
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);
77
77
</pre>
78
78
</div>
79
79
<div class="refsect1">
80
80
<a name="ClutterTextBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
81
81
<pre class="synopsis">
82
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
82
  <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
83
83
   +----ClutterTextBuffer
84
84
</pre>
85
85
</div>
86
86
<div class="refsect1">
87
87
<a name="ClutterTextBuffer.properties"></a><h2>Properties</h2>
88
88
<pre class="synopsis">
89
 
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--length" title='The "length" property'>length</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read
90
 
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--max-length" title='The "max-length" property'>max-length</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
91
 
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--text" title='The "text" property'>text</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
 
89
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--length" title='The "length" property'>length</a>"                   <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read
 
90
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--max-length" title='The "max-length" property'>max-length</a>"               <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
 
91
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer--text" title='The "text" property'>text</a>"                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
92
92
</pre>
93
93
</div>
94
94
<div class="refsect1">
95
95
<a name="ClutterTextBuffer.signals"></a><h2>Signals</h2>
96
96
<pre class="synopsis">
97
 
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-deleted-text" title='The "deleted-text" signal'>deleted-text</a>"                                   : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
98
 
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-inserted-text" title='The "inserted-text" signal'>inserted-text</a>"                                  : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
 
97
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-deleted-text" title='The "deleted-text" signal'>deleted-text</a>"                                   : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
 
98
  "<a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-inserted-text" title='The "inserted-text" signal'>inserted-text</a>"                                  : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
99
99
</pre>
100
100
</div>
101
101
<div class="refsect1">
221
221
<hr>
222
222
<div class="refsect2">
223
223
<a name="clutter-text-buffer-new-with-text"></a><h3>clutter_text_buffer_new_with_text ()</h3>
224
 
<pre class="programlisting"><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * clutter_text_buffer_new_with_text   (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
225
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> text_len</code></em>);</pre>
 
224
<pre class="programlisting"><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * clutter_text_buffer_new_with_text   (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
 
225
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> text_len</code></em>);</pre>
226
226
<p>
227
227
Create a new ClutterTextBuffer object with some text.
228
228
</p>
250
250
<div class="refsect2">
251
251
<a name="clutter-text-buffer-set-text"></a><h3>clutter_text_buffer_set_text ()</h3>
252
252
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_text_buffer_set_text        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
253
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
254
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
 
253
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
254
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
255
255
<p>
256
256
Sets the text in the buffer.
257
257
</p>
285
285
<hr>
286
286
<div class="refsect2">
287
287
<a name="clutter-text-buffer-get-text"></a><h3>clutter_text_buffer_get_text ()</h3>
288
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       clutter_text_buffer_get_text        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
 
288
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       clutter_text_buffer_get_text        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
289
289
<p>
290
290
Retrieves the contents of the buffer.
291
291
</p>
315
315
<hr>
316
316
<div class="refsect2">
317
317
<a name="clutter-text-buffer-get-bytes"></a><h3>clutter_text_buffer_get_bytes ()</h3>
318
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               clutter_text_buffer_get_bytes       (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
 
318
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>               clutter_text_buffer_get_bytes       (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
319
319
<p>
320
320
Retrieves the length in bytes of the buffer.
321
321
See <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-get-length" title="clutter_text_buffer_get_length ()"><code class="function">clutter_text_buffer_get_length()</code></a>.
339
339
<hr>
340
340
<div class="refsect2">
341
341
<a name="clutter-text-buffer-get-length"></a><h3>clutter_text_buffer_get_length ()</h3>
342
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_get_length      (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
 
342
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_get_length      (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
343
343
<p>
344
344
Retrieves the length in characters of the buffer.
345
345
</p>
363
363
<div class="refsect2">
364
364
<a name="clutter-text-buffer-set-max-length"></a><h3>clutter_text_buffer_set_max_length ()</h3>
365
365
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_text_buffer_set_max_length  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
366
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_length</code></em>);</pre>
 
366
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_length</code></em>);</pre>
367
367
<p>
368
368
Sets the maximum allowed length of the contents of the buffer. If
369
369
the current contents are longer than the given length, then they
390
390
<hr>
391
391
<div class="refsect2">
392
392
<a name="clutter-text-buffer-get-max-length"></a><h3>clutter_text_buffer_get_max_length ()</h3>
393
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                clutter_text_buffer_get_max_length  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
 
393
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                clutter_text_buffer_get_max_length  (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
394
394
<p>
395
395
Retrieves the maximum allowed length of the text in
396
396
<em class="parameter"><code>buffer</code></em>. See <a class="link" href="ClutterTextBuffer.html#clutter-text-buffer-set-max-length" title="clutter_text_buffer_set_max_length ()"><code class="function">clutter_text_buffer_set_max_length()</code></a>.
415
415
<hr>
416
416
<div class="refsect2">
417
417
<a name="clutter-text-buffer-insert-text"></a><h3>clutter_text_buffer_insert_text ()</h3>
418
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_insert_text     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
419
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
420
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
421
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
 
418
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_insert_text     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
 
419
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
420
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
421
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
422
422
<p>
423
423
Inserts <em class="parameter"><code>n_chars</code></em> characters of <em class="parameter"><code>chars</code></em> into the contents of the
424
424
buffer, at position <em class="parameter"><code>position</code></em>.
463
463
<hr>
464
464
<div class="refsect2">
465
465
<a name="clutter-text-buffer-delete-text"></a><h3>clutter_text_buffer_delete_text ()</h3>
466
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_delete_text     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
467
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
468
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
 
466
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               clutter_text_buffer_delete_text     (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
 
467
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
468
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
469
469
<p>
470
470
Deletes a sequence of characters from the buffer. <em class="parameter"><code>n_chars</code></em> characters are
471
471
deleted starting at <em class="parameter"><code>position</code></em>. If <em class="parameter"><code>n_chars</code></em> is negative, then all characters
507
507
<a name="clutter-text-buffer-emit-inserted-text"></a><h3>clutter_text_buffer_emit_inserted_text ()</h3>
508
508
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_text_buffer_emit_inserted_text
509
509
                                                        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
510
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
511
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
512
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);</pre>
 
510
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
511
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *chars</code></em>,
 
512
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);</pre>
513
513
<p>
514
514
Emits the <a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-inserted-text" title='The "inserted-text" signal'><span class="type">"inserted-text"</span></a> signal on <em class="parameter"><code>buffer</code></em>.
515
515
</p>
545
545
<a name="clutter-text-buffer-emit-deleted-text"></a><h3>clutter_text_buffer_emit_deleted_text ()</h3>
546
546
<pre class="programlisting"><span class="returnvalue">void</span>                clutter_text_buffer_emit_deleted_text
547
547
                                                        (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>,
548
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
549
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);</pre>
 
548
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> position</code></em>,
 
549
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_chars</code></em>);</pre>
550
550
<p>
551
551
Emits the <a class="link" href="ClutterTextBuffer.html#ClutterTextBuffer-deleted-text" title='The "deleted-text" signal'><span class="type">"deleted-text"</span></a> signal on <em class="parameter"><code>buffer</code></em>.
552
552
</p>
578
578
<a name="ClutterTextBuffer.property-details"></a><h2>Property Details</h2>
579
579
<div class="refsect2">
580
580
<a name="ClutterTextBuffer--length"></a><h3>The <code class="literal">"length"</code> property</h3>
581
 
<pre class="programlisting">  "length"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read</pre>
 
581
<pre class="programlisting">  "length"                   <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read</pre>
582
582
<p>
583
583
The length (in characters) of the text in buffer.
584
584
</p>
589
589
<hr>
590
590
<div class="refsect2">
591
591
<a name="ClutterTextBuffer--max-length"></a><h3>The <code class="literal">"max-length"</code> property</h3>
592
 
<pre class="programlisting">  "max-length"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
592
<pre class="programlisting">  "max-length"               <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
593
593
<p>
594
594
The maximum length (in characters) of the text in the buffer.
595
595
</p>
600
600
<hr>
601
601
<div class="refsect2">
602
602
<a name="ClutterTextBuffer--text"></a><h3>The <code class="literal">"text"</code> property</h3>
603
 
<pre class="programlisting">  "text"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
 
603
<pre class="programlisting">  "text"                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
604
604
<p>
605
605
The contents of the buffer.
606
606
</p>
613
613
<div class="refsect2">
614
614
<a name="ClutterTextBuffer-deleted-text"></a><h3>The <code class="literal">"deleted-text"</code> signal</h3>
615
615
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer,
616
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              position,
617
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              n_chars,
618
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
 
616
                                                        <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              position,
 
617
                                                        <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              n_chars,
 
618
                                                        <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-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
619
619
<p>
620
620
This signal is emitted after text is deleted from the buffer.
621
621
</p>
647
647
<div class="refsect2">
648
648
<a name="ClutterTextBuffer-inserted-text"></a><h3>The <code class="literal">"inserted-text"</code> signal</h3>
649
649
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer,
650
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              position,
651
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>             *chars,
652
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              n_chars,
653
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
 
650
                                                        <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              position,
 
651
                                                        <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>             *chars,
 
652
                                                        <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>              n_chars,
 
653
                                                        <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-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
654
654
<p>
655
655
This signal is emitted after text is inserted into the buffer.
656
656
</p>
686
686
</div>
687
687
<div class="footer">
688
688
<hr>
689
 
          Generated by GTK-Doc V1.18</div>
 
689
          Generated by GTK-Doc V1.18.1</div>
690
690
</body>
691
691
</html>
 
 
b'\\ No newline at end of file'