summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtktextbuffer.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2011-03-08 17:58:36 +0100
committerDieter Verfaillie <dieterv@optionexplicit.be>2011-03-08 17:58:36 +0100
commit386c2431c226779a62a3f17573db1835c3282209 (patch)
treede482023d0cc2b09d600c60e3409d64e7abb2609 /docs/reference/pygtk-gtktextbuffer.xml
parent5c70c2fafade28d877ea6a864d3746798dd08e4f (diff)
downloadpygtk-386c2431c226779a62a3f17573db1835c3282209.tar.gz
reference: pygtk-gtktextbuffer.xml: add paste-done signal
Diffstat (limited to 'docs/reference/pygtk-gtktextbuffer.xml')
-rw-r--r--docs/reference/pygtk-gtktextbuffer.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/reference/pygtk-gtktextbuffer.xml b/docs/reference/pygtk-gtktextbuffer.xml
index 2d70a2e6..5cf3bd9b 100644
--- a/docs/reference/pygtk-gtktextbuffer.xml
+++ b/docs/reference/pygtk-gtktextbuffer.xml
@@ -720,6 +720,16 @@ associated with the textbuffer.</entry>
</listitem>
</varlistentry>
<varlistentry>
+ <term>"<link linkend="signal-gtktextbuffer--paste-done">paste-done</link>"</term>
+ <listitem>
+ <methodsynopsis language="python"><methodname>callback</methodname>
+ <methodparam><parameter>textbuffer</parameter></methodparam>
+ <methodparam><parameter>user_param1</parameter></methodparam>
+ <methodparam><parameter>...</parameter></methodparam>
+ </methodsynopsis>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term>"<link linkend="signal-gtktextbuffer--remove-tag">remove-tag</link>"</term>
<listitem>
<methodsynopsis language="python"><methodname>callback</methodname>
@@ -3921,6 +3931,42 @@ flag is changed.</para>
</refsect2>
+ <refsect2 id="signal-gtktextbuffer--paste-done">
+ <title>The "paste-done" gtk.TextBuffer Signal</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>callback</methodname>
+ <methodparam><parameter>textbuffer</parameter></methodparam>
+ <methodparam><parameter>user_param1</parameter></methodparam>
+ <methodparam><parameter>...</parameter></methodparam>
+ </methodsynopsis></programlisting>
+
+ <variablelist>
+ <varlistentry>
+ <term><parameter>textbuffer</parameter>&nbsp;:</term>
+ <listitem><simpara>the textbuffer that received the signal</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>user_param1</parameter>&nbsp;:</term>
+ <listitem><simpara>the first user parameter (if any) specified with the
+ <link linkend="method-gobject--connect"><methodname>connect</methodname>()</link>
+ method</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>...</parameter>&nbsp;:</term>
+ <listitem><simpara>additional user parameters (if any)</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This signal is available in GTK+ 2.16 and above.</para>
+ </note>
+
+ <para>The "paste-done" signal is emitted after paste operation has been completed.
+ This is useful to properly scroll the view to the end of the pasted text.</para>
+
+ </refsect2>
+
<refsect2 id="signal-gtktextbuffer--remove-tag">
<title>The "remove-tag" gtk.TextBuffer Signal</title>