Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 9411cff4bc6d4e61b29ae81cd24665af > files > 313

gtkmm2.4-doc-2.12.7-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Gtk::ComboBoxEntryText Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1ComboBoxEntryText.html">ComboBoxEntryText</a></div>
<h1>Gtk::ComboBoxEntryText Class Reference<br>
<small>
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
</h1><!-- doxytag: class="Gtk::ComboBoxEntryText" --><!-- doxytag: inherits="Gtk::ComboBoxEntry" -->Inheritance diagram for Gtk::ComboBoxEntryText:<p><center><img src="classGtk_1_1ComboBoxEntryText__inherit__graph.png" border="0" usemap="#Gtk_1_1ComboBoxEntryText__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1ComboBoxEntryText__inherit__map">
<area href="classGtk_1_1ComboBoxEntry.html" shape="rect" coords="157,625,312,652" alt="">
<area href="classGtk_1_1ComboBox.html" shape="rect" coords="175,548,295,575" alt="">
<area href="classGtk_1_1Bin.html" shape="rect" coords="155,471,227,497" alt="">
<area href="classGtk_1_1Container.html" shape="rect" coords="120,393,232,420" alt="">
<area href="classGtk_1_1Widget.html" shape="rect" coords="112,316,205,343" alt="">
<area href="classGtk_1_1Object.html" shape="rect" coords="5,239,96,265" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Object.html" shape="rect" coords="8,161,101,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="59,84,184,111" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="131,161,240,188" alt="">
<area doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="65,7,177,33" alt="">
<area href="classAtk_1_1Implementor.html" shape="rect" coords="120,239,251,265" alt="">
<area href="classGtk_1_1CellLayout.html" shape="rect" coords="229,316,347,343" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1ComboBoxEntryText-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This is a specialisation of the <a class="el" href="classGtk_1_1ComboBoxEntry.html">ComboBoxEntry</a> which has one column of text (a simple list), and appropriate methods for setting and getting the text. 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#9a9d9779f9ace589924a2399d35c371e">append_text</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an item to the end of the drop-down list.  <a href="#9a9d9779f9ace589924a2399d35c371e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#52e3bc91e1153c36aa046ec249880022">clear</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#6ef6dac71b28dfb8fa76cf7e64caff7f">clear_items</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove all items from the drop-down menu.  <a href="#6ef6dac71b28dfb8fa76cf7e64caff7f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#dd8836cb474d7d49e7e0db974678611a">ComboBoxEntryText</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#1f9eb851f6a76121c81e8adac6f58011">get_active_text</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#9bf819020740e33033096aa96c81c14e">insert_text</a> (int position, const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#72ab993ada0ce630115d7c5536f13c3b">prepend_text</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an item to the beginning of the drop-down list.  <a href="#72ab993ada0ce630115d7c5536f13c3b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#6c722ee9aa96169117c8b6b71b3e8879">remove_text</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove the specified item if it is in the drop-down menu.  <a href="#6c722ee9aa96169117c8b6b71b3e8879"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#20c9a16bd0d3e8562c26a8d944747631">set_active_text</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText.html#ea3abc4a6da6a199555b86cca93f17e6">m_text_columns</a></td></tr>

<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="dd8836cb474d7d49e7e0db974678611a"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::ComboBoxEntryText" ref="dd8836cb474d7d49e7e0db974678611a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::ComboBoxEntryText::ComboBoxEntryText           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9a9d9779f9ace589924a2399d35c371e"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::append_text" ref="9a9d9779f9ace589924a2399d35c371e" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::append_text           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add an item to the end of the drop-down list. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The text for the item. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="52e3bc91e1153c36aa046ec249880022"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::clear" ref="52e3bc91e1153c36aa046ec249880022" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::clear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>See <a class="el" href="classGtk_1_1ComboBoxEntryText.html#6ef6dac71b28dfb8fa76cf7e64caff7f">clear_items()</a>. Since 2.8. </dd></dl>

<p>
Reimplemented from <a class="el" href="classGtk_1_1CellLayout.html#b87faf407763c4df8985ac7ff985fad8">Gtk::CellLayout</a>.
</div>
</div><p>
<a class="anchor" name="6ef6dac71b28dfb8fa76cf7e64caff7f"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::clear_items" ref="6ef6dac71b28dfb8fa76cf7e64caff7f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::clear_items           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove all items from the drop-down menu. 
<p>

</div>
</div><p>
<a class="anchor" name="1f9eb851f6a76121c81e8adac6f58011"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::get_active_text" ref="1f9eb851f6a76121c81e8adac6f58011" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::ComboBoxEntryText::get_active_text           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9bf819020740e33033096aa96c81c14e"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::insert_text" ref="9bf819020740e33033096aa96c81c14e" args="(int position, const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::insert_text           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="72ab993ada0ce630115d7c5536f13c3b"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::prepend_text" ref="72ab993ada0ce630115d7c5536f13c3b" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::prepend_text           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add an item to the beginning of the drop-down list. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The text for the item. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="6c722ee9aa96169117c8b6b71b3e8879"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::remove_text" ref="6c722ee9aa96169117c8b6b71b3e8879" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::remove_text           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove the specified item if it is in the drop-down menu. 
<p>
The text of the item that should be removed. 
</div>
</div><p>
<a class="anchor" name="20c9a16bd0d3e8562c26a8d944747631"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::set_active_text" ref="20c9a16bd0d3e8562c26a8d944747631" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::ComboBoxEntryText::set_active_text           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:../../../../glibmm-2.4/docs/reference/html/" href="../../../../glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="ea3abc4a6da6a199555b86cca93f17e6"></a><!-- doxytag: member="Gtk::ComboBoxEntryText::m_text_columns" ref="ea3abc4a6da6a199555b86cca93f17e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1ComboBoxEntryText_1_1TextModelColumns.html">TextModelColumns</a> <a class="el" href="classGtk_1_1ComboBoxEntryText.html#ea3abc4a6da6a199555b86cca93f17e6">Gtk::ComboBoxEntryText::m_text_columns</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="comboboxentrytext_8h.html">comboboxentrytext.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>