1
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.EntryCompletion</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkentry.html" title="gtk.Entry"><link rel="next" href="class-gtkeventbox.html" title="gtk.EventBox"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.EntryCompletion</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkentry.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkeventbox.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkentrycompletion"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.EntryCompletion</h2><p>gtk.EntryCompletion — completion
2
2
functionality for <a class="link" href="class-gtkentry.html" title="gtk.Entry"><code class="classname">gtk.Entry</code></a> (new in
3
PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3458738"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.EntryCompletion</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkcelllayout.html" title="gtk.CellLayout">gtk.CellLayout</a></span></span>):
4
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#constructor-gtkentrycompletion" title="Constructor">gtk.EntryCompletion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-entry" title="gtk.EntryCompletion.get_entry">get_entry</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-model" title="gtk.EntryCompletion.set_model">set_model</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>model</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-model" title="gtk.EntryCompletion.get_model">get_model</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-match-func" title="gtk.EntryCompletion.set_match_func">set_match_func</a></span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>func</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>func_data</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-minimum-key-length" title="gtk.EntryCompletion.set_minimum_key_length">set_minimum_key_length</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-minimum-key-length" title="gtk.EntryCompletion.get_minimum_key_length">get_minimum_key_length</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--complete" title="gtk.EntryCompletion.complete">complete</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-action-text" title="gtk.EntryCompletion.insert_action_text">insert_action_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-action-markup" title="gtk.EntryCompletion.insert_action_markup">insert_action_markup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>markup</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--delete-action" title="gtk.EntryCompletion.delete_action">delete_action</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-prefix" title="gtk.EntryCompletion.insert_prefix">insert_prefix</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-text-column" title="gtk.EntryCompletion.set_text_column">set_text_column</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>column</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-text-column" title="gtk.EntryCompletion.get_text_column">get_text_column</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-inline-completion" title="gtk.EntryCompletion.set_inline_completion">set_inline_completion</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>inline_completion</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-inline-completion" title="gtk.EntryCompletion.get_inline_completion">get_inline_completion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-inline-completion" title="gtk.EntryCompletion.set_inline_completion">set_inline_selection</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>inline_selection</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-inline-completion" title="gtk.EntryCompletion.get_inline_completion">get_inline_selection</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-completion" title="gtk.EntryCompletion.set_popup_completion">set_popup_completion</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_completion</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-completion" title="gtk.EntryCompletion.get_popup_completion">get_popup_completion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-set-width" title="gtk.EntryCompletion.set_popup_set_width">set_popup_set_width</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_set_width</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-set-width" title="gtk.EntryCompletion.get_popup_set_width">get_popup_set_width</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-single-match" title="gtk.EntryCompletion.set_popup_single_match">set_popup_single_match</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_single_match</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-single-match" title="gtk.EntryCompletion.get_popup_completion">get_popup_single_match</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3459397"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
3
PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3659544"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.EntryCompletion</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>, <span class="ooclass"><span class="classname"><a class="link" href="class-gtkcelllayout.html" title="gtk.CellLayout">gtk.CellLayout</a></span></span>):
4
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#constructor-gtkentrycompletion" title="Constructor">gtk.EntryCompletion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-entry" title="gtk.EntryCompletion.get_entry">get_entry</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-model" title="gtk.EntryCompletion.set_model">set_model</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>model</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-model" title="gtk.EntryCompletion.get_model">get_model</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-match-func" title="gtk.EntryCompletion.set_match_func">set_match_func</a></span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>func</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>func_data</code></em></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-minimum-key-length" title="gtk.EntryCompletion.set_minimum_key_length">set_minimum_key_length</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>length</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-minimum-key-length" title="gtk.EntryCompletion.get_minimum_key_length">get_minimum_key_length</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--complete" title="gtk.EntryCompletion.complete">complete</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-action-text" title="gtk.EntryCompletion.insert_action_text">insert_action_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-action-markup" title="gtk.EntryCompletion.insert_action_markup">insert_action_markup</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>markup</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--delete-action" title="gtk.EntryCompletion.delete_action">delete_action</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>index</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--insert-prefix" title="gtk.EntryCompletion.insert_prefix">insert_prefix</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-text-column" title="gtk.EntryCompletion.set_text_column">set_text_column</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>column</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-text-column" title="gtk.EntryCompletion.get_text_column">get_text_column</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-inline-completion" title="gtk.EntryCompletion.set_inline_completion">set_inline_completion</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>inline_completion</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-inline-completion" title="gtk.EntryCompletion.get_inline_completion">get_inline_completion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-inline-completion" title="gtk.EntryCompletion.set_inline_completion">set_inline_selection</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>inline_selection</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-inline-completion" title="gtk.EntryCompletion.get_inline_completion">get_inline_selection</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-completion" title="gtk.EntryCompletion.set_popup_completion">set_popup_completion</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_completion</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-completion" title="gtk.EntryCompletion.get_popup_completion">get_popup_completion</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-set-width" title="gtk.EntryCompletion.set_popup_set_width">set_popup_set_width</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_set_width</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-set-width" title="gtk.EntryCompletion.get_popup_set_width">get_popup_set_width</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--set-popup-single-match" title="gtk.EntryCompletion.set_popup_single_match">set_popup_single_match</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>popup_single_match</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkentrycompletion.html#method-gtkentrycompletion--get-popup-single-match" title="gtk.EntryCompletion.get_popup_completion">get_popup_single_match</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3660203"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
5
5
+-- <a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion">gtk.EntryCompletion</a>
7
7
<a class="link" href="class-gtkentrycompletion.html" title="gtk.EntryCompletion"><code class="classname">gtk.EntryCompletion</code></a>
9
9
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>