[pygtk] reference: pygtk-gtkentrycompletion.xml: add missing method & fix signal notation
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] reference: pygtk-gtkentrycompletion.xml: add missing method & fix signal notation
- Date: Thu, 10 Mar 2011 21:16:44 +0000 (UTC)
commit 7b804e65f93b330feb974da2b93852cb895c3aef
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Mon Feb 28 10:17:53 2011 +0100
reference: pygtk-gtkentrycompletion.xml: add missing method & fix signal notation
docs/reference/pygtk-gtkentrycompletion.xml | 31 ++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkentrycompletion.xml b/docs/reference/pygtk-gtkentrycompletion.xml
index f1263bc..dc08fb2 100644
--- a/docs/reference/pygtk-gtkentrycompletion.xml
+++ b/docs/reference/pygtk-gtkentrycompletion.xml
@@ -133,6 +133,11 @@
linkend="method-gtkentrycompletion--get-popup-single-match">get_popup_single_match</link></methodname>
<methodparam></methodparam>
</methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link
+ linkend="method-gtkentrycompletion--get-completion-prefix">get_completion_prefix</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
</classsynopsis>
</refsect1>
@@ -259,7 +264,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>"<link linkend="signal-gtkentrycompletion--cursor-on-match">cursor_on_match</link>"</term>
+ <term>"<link linkend="signal-gtkentrycompletion--cursor-on-match">cursor-on-match</link>"</term>
<listitem>
<methodsynopsis language="python"><methodname>callback</methodname>
<methodparam><parameter>completion</parameter></methodparam>
@@ -1074,6 +1079,30 @@ popup window should appear even for a single match.</para>
</refsect2>
+ <refsect2 id="method-gtkentrycompletion--get-completion-prefix ">
+ <title>gtk.EntryCompletion.get_completion_prefix </title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_completion_prefix</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>The prefix for the current completion.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.12 and above.</para>
+ </note>
+
+ <para>The <methodname>get_completion_prefix</methodname>() method
+gets the original text entered by the user that triggered the completion or
+<literal>None</literal> if there's no completion ongoing.</para>
+
+ </refsect2>
+
</refsect1>
<refsect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]