[pygtk] reference: pygtk-gtktextbuffer.xml: add paste-done signal
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] reference: pygtk-gtktextbuffer.xml: add paste-done signal
- Date: Thu, 10 Mar 2011 21:18:51 +0000 (UTC)
commit 386c2431c226779a62a3f17573db1835c3282209
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Tue Mar 8 17:58:36 2011 +0100
reference: pygtk-gtktextbuffer.xml: add paste-done signal
docs/reference/pygtk-gtktextbuffer.xml | 46 ++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtktextbuffer.xml b/docs/reference/pygtk-gtktextbuffer.xml
index 2d70a2e..5cf3bd9 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> :</term>
+ <listitem><simpara>the textbuffer that received the signal</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>user_param1</parameter> :</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> :</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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]