This file is indexed.

/usr/share/gtk-doc/html/pygtk/class-gtkcomboboxtext.html is in python-gtk2-doc 2.24.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.ComboBoxText</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" 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-gtkcomboboxentry.html" title="gtk.ComboBoxEntry"><link rel="next" href="class-gtkcontainer.html" title="gtk.Container"></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.ComboBoxText</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcomboboxentry.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcontainer.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.ComboBoxText"><a name="class-gtkcomboboxtext"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.ComboBoxText</h2><p>gtk.ComboBoxText — A simple, text-only combo box (new in PyGTK 2.24)</p></div><div class="refsect1" title="Synopsis"><a name="id3657800"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.ComboBoxText</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkcombobox.html" title="gtk.ComboBox">gtk.ComboBox</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkcomboboxtext.html#constructor-gtkcomboboxtext" title="Constructor">gtk.ComboBoxText</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkcomboboxtext.html#method-gtkcomboboxtext--append-text" title="gtk.ComboBoxText.append_text">append_text</a></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-gtkcomboboxtext.html#method-gtkcomboboxtext--insert-text" title="gtk.ComboBoxText.insert_text">insert_text</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</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-gtkcomboboxtext.html#method-gtkcomboboxtext--prepend-text" title="gtk.ComboBoxText.prepend_text">prepend_text</a></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-gtkcomboboxtext.html#method-gtkcomboboxtext--remove" title="gtk.ComboBoxText.remove">remove</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkcomboboxtext.html#method-gtkcomboboxtext--get-active-text" title="gtk.ComboBoxText.get_active_text">get_active_text</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
      <span class="bold"><strong>Functions</strong></span>

      <code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkcomboboxtext.html#function-gtk--combo-box-text-new-with-entry" title="gtk.combo_box_text_new_with_entry">gtk.combo_box_text_new_with_entry</a></span>(<span class="methodparam"></span>)</code>
    </pre></div><div class="refsect1" title="Ancestry"><a name="id3657996"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
        +-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
          +-- <a class="link" href="class-gtkcombobox.html" title="gtk.ComboBox">gtk.ComboBox</a>
            +-- <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText">gtk.ComboBoxText</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3658044"></a><h2>Implemented Interfaces</h2><p>
      <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>
      implements 
      <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
      <a class="link" href="class-atkimplementor.html" title="atk.Implementor"><code class="classname">atk.ImplementorIFace</code></a>
      <a class="link" href="class-gtkcelleditable.html" title="gtk.CellEditable"><code class="classname">gtk.CellEditable</code></a>
      <a class="link" href="class-gtkcelllayout.html" title="gtk.CellLayout"><code class="classname">gtk.CellLayout</code></a>
    </p></div><div class="refsect1" title="gtk.ComboBoxText Properties"><a name="properties-gtkcomboboxtext"></a><h2>gtk.ComboBoxText Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtkcombobox.html#properties-gtkcombobox" title="gtk.ComboBox Properties">gtk.ComboBox Properties</a></p></div><div class="refsect1" title="gtk.ComboBoxText Style Properties"><a name="style-properties-gtkcomboboxtext"></a><h2>gtk.ComboBoxText Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkcombobox.html#style-properties-gtkcombobox" title="gtk.ComboBox Style Properties">gtk.ComboBox Style Properties</a></p></div><div class="refsect1" title="gtk.ComboBoxText Signal Prototypes"><a name="signal-prototypes-gtkcomboboxtext"></a><h2>gtk.ComboBoxText Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkcelleditable.html#signal-prototypes-gtkcelleditable" title="gtk.CellEditable Signal Prototypes">gtk.CellEditable Signal Prototypes</a></p><p><a class="link" href="class-gtkcombobox.html#signal-prototypes-gtkcombobox" title="gtk.ComboBox Signal Prototypes">gtk.ComboBox Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3658185"></a><h2>Description</h2><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This widget is available in GTK+ 2.24 and PyGTK 2.24 and above.</p></div><p>A <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>
    is a simple variant of <a class="link" href="class-gtkcombobox.html" title="gtk.ComboBox"><code class="classname">gtk.ComboBox</code></a>
    that hides the model-view complexity for simple text-only use cases.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkcomboboxtext"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.ComboBox</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A new <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.24 and above.</p></div><p>Creates a new <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>,
    which is a <a class="link" href="class-gtkcombobox.html" title="gtk.ComboBox"><code class="classname">gtk.ComboBox</code></a> just displaying strings.</p></div><div class="refsect1" title="Methods"><a name="id3658288"></a><h2>Methods</h2><div class="refsect2" title="gtk.ComboBoxText.append_text"><a name="method-gtkcomboboxtext--append-text"></a><h3>gtk.ComboBoxText.append_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">append_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>text</code></strong> :</span></p></td><td>A string.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.24 and above.</p></div><p>The <code class="methodname">append_text</code>() method appends the string specified
      by <em class="parameter"><code>text</code></em> to the list of strings stored in the combo box
      <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>.</p></div><div class="refsect2" title="gtk.ComboBoxText.insert_text"><a name="method-gtkcomboboxtext--insert-text"></a><h3>gtk.ComboBoxText.insert_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">insert_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>position</code></strong> :</span></p></td><td>A model index where the text should be inserted.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>text</code></strong> :</span></p></td><td>A string.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.24 and above.</p></div><p>The <code class="methodname">insert_text</code>() method inserts the string specified
      by <em class="parameter"><code>text</code></em> in the combo box <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>
      at the index specified by <em class="parameter"><code>position</code></em>.</p></div><div class="refsect2" title="gtk.ComboBoxText.prepend_text"><a name="method-gtkcomboboxtext--prepend-text"></a><h3>gtk.ComboBoxText.prepend_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">prepend_text</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>text</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>text</code></strong> :</span></p></td><td>A string.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.24 and above.</p></div><p>The <code class="methodname">prepend_text</code>() method prepends the string specified
      by <em class="parameter"><code>text</code></em> to the list of strings stored in the
      <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>
      associated with the combo_box.</p></div><div class="refsect2" title="gtk.ComboBoxText.remove"><a name="method-gtkcomboboxtext--remove"></a><h3>gtk.ComboBoxText.remove</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">remove</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>position</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>position</code></strong> :</span></p></td><td>Index of the item to remove.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.24 and above.</p></div><p>The <code class="methodname">remove_text</code>() method removes the string at
      the index specified by <em class="parameter"><code>position</code></em> in the associated
      <a class="link" href="class-gtkliststore.html" title="gtk.ListStore"><code class="classname">gtk.ListStore</code></a>.</p></div><div class="refsect2" title="gtk.ComboBoxText.get_active_text"><a name="method-gtkcomboboxtext--get-active-text"></a><h3>gtk.ComboBoxText.get_active_text</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_active_text</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The currently active text.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.24 and above.</p></div><p>The <code class="methodname">get_active_text</code>() method returns
      the currently active string or <code class="literal">None</code> if no entry is
      selected.</p></div></div><div class="refsect1" title="Functions"><a name="id3658762"></a><h2>Functions</h2><div class="refsect2" title="gtk.combo_box_text_new_with_entry"><a name="function-gtk--combo-box-text-new-with-entry"></a><h3>gtk.combo_box_text_new_with_entry</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.combo_box_text_new_with_entry</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>A new <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.24 and above.</p></div><p>The <code class="function">gtk.combo_box_new_text</code>() function  creates a new
      <a class="link" href="class-gtkcomboboxtext.html" title="gtk.ComboBoxText"><code class="classname">gtk.ComboBoxText</code></a>,
      which is a <a class="link" href="class-gtkcombobox.html" title="gtk.ComboBox"><code class="classname">gtk.ComboBox</code></a>
      just displaying strings. The combo box created by this function has an entry.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkcomboboxentry.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkcontainer.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.ComboBoxEntry </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Container</td></tr></table></div></body></html>