<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>gtkmm: Gtk::EntryBuffer Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::EntryBuffer Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::EntryBuffer" --><!-- doxytag: inherits="Glib::Object" --> <p>A Text buffer for the <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> widget. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::EntryBuffer:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1EntryBuffer__inherit__graph.png" border="0" usemap="#Gtk_1_1EntryBuffer_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1EntryBuffer_inherit__map" id="Gtk_1_1EntryBuffer_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::EntryBuffer:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1EntryBuffer__coll__graph.png" border="0" usemap="#Gtk_1_1EntryBuffer_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1EntryBuffer_coll__map" id="Gtk_1_1EntryBuffer_coll__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1EntryBuffer-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#afc374d6dc3cdfbbfe97a50a86be608ad">~EntryBuffer</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkEntryBuffer* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#ad567657dd7d73c3277dbf87647cfe4ef">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ad567657dd7d73c3277dbf87647cfe4ef"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkEntryBuffer* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a3abe82b4d53b3610ee47f825221cae8f">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a3abe82b4d53b3610ee47f825221cae8f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkEntryBuffer* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#acb885a342bd3b42577eab89d5e0d2925">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#acb885a342bd3b42577eab89d5e0d2925"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">gsize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a53cb0c54a2b13314e64036dae7c0f0db">get_bytes</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the length in bytes of the buffer. <a href="#a53cb0c54a2b13314e64036dae7c0f0db"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a9cebb86114b9cb03d24b86d058486c55">get_length</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the length in characters of the buffer. <a href="#a9cebb86114b9cb03d24b86d058486c55"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#afaff2f92189073b335d8fbb0102cd6c0">get_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the contents of the buffer. <a href="#afaff2f92189073b335d8fbb0102cd6c0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a289ee88d181f1b81b9cada53d12628ff">set_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the text in the buffer. <a href="#a289ee88d181f1b81b9cada53d12628ff"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a381e1969e3f387ef19cbf10cfae5ca46">set_max_length</a> (int max_length)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum allowed length of the contents of the buffer. <a href="#a381e1969e3f387ef19cbf10cfae5ca46"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#ac4299229d3f2dc3c1afc02c8e430641e">get_max_length</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the maximum allowed length of the text in <em>buffer</em>. <a href="#ac4299229d3f2dc3c1afc02c8e430641e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a01bf8802e1570532eb7c6afc6bbd4851">insert_text</a> (guint position, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Inserts <em>text</em> into the contents of the buffer, at position <em>position</em>. <a href="#a01bf8802e1570532eb7c6afc6bbd4851"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a1e735047dd16f4b1c40aa4c952d50258">delete_text</a> (guint position, int n_chars)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a sequence of characters from the buffer. <a href="#a1e735047dd16f4b1c40aa4c952d50258"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a0866b9a826b9f96f941eaf84945884fa">emit_inserted_text</a> (guint position, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Used when deriving from <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a>. <a href="#a0866b9a826b9f96f941eaf84945884fa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a325918e5e859bba2927daa25113c32d3">emit_deleted_text</a> (guint position, guint n_chars)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Used when subclassing <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">Gtk::EntryBuffer</a>. <a href="#a325918e5e859bba2927daa25113c32d3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< void, <br class="typebreak"/> guint, const gchar*, guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a549ae271ec91312a2fc69d9c7620ae49">signal_inserted_text</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void, <br class="typebreak"/> guint, guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#afef4562f9fa399a93a3037158c136dd8">signal_deleted_text</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#acaa149a0085b30f3fa88bd84f1186d41">property_text</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The contents of the buffer. <a href="#acaa149a0085b30f3fa88bd84f1186d41"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#af943bba0ef75fa1aaab367bce85b14b7">property_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The contents of the buffer. <a href="#af943bba0ef75fa1aaab367bce85b14b7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a251c86b9c7bdf0acb1f65ab7f848b5f2">property_length</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the text currently in the buffer. <a href="#a251c86b9c7bdf0acb1f65ab7f848b5f2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a46b420066859b20ef65ff6e7641c8437">property_max_length</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of characters for this entry. <a href="#a46b420066859b20ef65ff6e7641c8437"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#ae6b5a5b26c08165402e06f3c6b145e0f">property_max_length</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of characters for this entry. <a href="#ae6b5a5b26c08165402e06f3c6b145e0f"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#aa8d182fb0881a3a58e71352f63a37710">create</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object with no text. <a href="#aa8d182fb0881a3a58e71352f63a37710"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a730e9d1751b9275a2de18da9c16d39c1">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. <a href="#a730e9d1751b9275a2de18da9c16d39c1"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a560c87ddbf7790dde544535edada9d25">EntryBuffer</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object with no text. <a href="#a560c87ddbf7790dde544535edada9d25"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a0af68812843e71fa92933ee646226a18">EntryBuffer</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. <a href="#a0af68812843e71fa92933ee646226a18"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a9abba6505cf595b5b09c1a931252e2b3">on_inserted_text</a> (guint position, const gchar* chars, guint n_chars)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a422081a55ff1fd9712fdde947bffd163">on_deleted_text</a> (guint position, guint n_chars)</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1EntryBuffer.html">Gtk::EntryBuffer</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#aa7f5eb545b57327fecf0681665f19d7c">wrap</a> (GtkEntryBuffer* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#aa7f5eb545b57327fecf0681665f19d7c"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A Text buffer for the <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> widget. </p> <p>The <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> class contains the actual text displayed in an <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> widget.</p> <p>A single <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object can be shared by multiple <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> widgets which will then share the same text content, but not the cursor position, visibility attributes, icon etc.</p> <p><a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> may be derived from. Such a derived class might allow text to be stored in an alternate location, such as non-pageable memory, useful in the case of important passwords. Or a derived class could integrate with an application's concept of undo/redo.</p> <p>@newin{2,20} </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="afc374d6dc3cdfbbfe97a50a86be608ad"></a><!-- doxytag: member="Gtk::EntryBuffer::~EntryBuffer" ref="afc374d6dc3cdfbbfe97a50a86be608ad" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::EntryBuffer::~EntryBuffer </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a560c87ddbf7790dde544535edada9d25"></a><!-- doxytag: member="Gtk::EntryBuffer::EntryBuffer" ref="a560c87ddbf7790dde544535edada9d25" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::EntryBuffer::EntryBuffer </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object with no text. </p> </div> </div> <a class="anchor" id="a0af68812843e71fa92933ee646226a18"></a><!-- doxytag: member="Gtk::EntryBuffer::EntryBuffer" ref="a0af68812843e71fa92933ee646226a18" args="(const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::EntryBuffer::EntryBuffer </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>Initial buffer text. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa8d182fb0881a3a58e71352f63a37710"></a><!-- doxytag: member="Gtk::EntryBuffer::create" ref="aa8d182fb0881a3a58e71352f63a37710" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a>> Gtk::EntryBuffer::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object with no text. </p> </div> </div> <a class="anchor" id="a730e9d1751b9275a2de18da9c16d39c1"></a><!-- doxytag: member="Gtk::EntryBuffer::create" ref="a730e9d1751b9275a2de18da9c16d39c1" args="(const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a>> Gtk::EntryBuffer::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>Initial buffer text. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a1e735047dd16f4b1c40aa4c952d50258"></a><!-- doxytag: member="Gtk::EntryBuffer::delete_text" ref="a1e735047dd16f4b1c40aa4c952d50258" args="(guint position, int n_chars)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::EntryBuffer::delete_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>n_chars</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Deletes a sequence of characters from the buffer. </p> <p><em>n_chars</em> characters are deleted starting at <em>position</em>. If <em>n_chars</em> is negative, then all characters until the end of the text are deleted.</p> <p>If <em>position</em> or <em>n_chars</em> are out of bounds, then they are coerced to sane values.</p> <p>Note that the positions are specified in characters, not bytes.</p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000030">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">position</td><td>Position at which to delete text. </td></tr> <tr><td class="paramname">n_chars</td><td>Number of characters to delete. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters deleted. </dd></dl> </div> </div> <a class="anchor" id="a325918e5e859bba2927daa25113c32d3"></a><!-- doxytag: member="Gtk::EntryBuffer::emit_deleted_text" ref="a325918e5e859bba2927daa25113c32d3" args="(guint position, guint n_chars)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EntryBuffer::emit_deleted_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>n_chars</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Used when subclassing <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">Gtk::EntryBuffer</a>. </p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000031">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">position</td><td>Position at which text was deleted. </td></tr> <tr><td class="paramname">n_chars</td><td>Number of characters deleted. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a0866b9a826b9f96f941eaf84945884fa"></a><!-- doxytag: member="Gtk::EntryBuffer::emit_inserted_text" ref="a0866b9a826b9f96f941eaf84945884fa" args="(guint position, const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EntryBuffer::emit_inserted_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Used when deriving from <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">position</td><td>Position at which text was inserted. </td></tr> <tr><td class="paramname">text</td><td>Text that was inserted. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a53cb0c54a2b13314e64036dae7c0f0db"></a><!-- doxytag: member="Gtk::EntryBuffer::get_bytes" ref="a53cb0c54a2b13314e64036dae7c0f0db" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gsize Gtk::EntryBuffer::get_bytes </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the length in bytes of the buffer. </p> <p>See <a class="el" href="classGtk_1_1EntryBuffer.html#a9cebb86114b9cb03d24b86d058486c55" title="Retrieves the length in characters of the buffer.">get_length()</a>.</p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000025">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The byte length of the buffer. </dd></dl> </div> </div> <a class="anchor" id="a9cebb86114b9cb03d24b86d058486c55"></a><!-- doxytag: member="Gtk::EntryBuffer::get_length" ref="a9cebb86114b9cb03d24b86d058486c55" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::EntryBuffer::get_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the length in characters of the buffer. </p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000026">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters in the buffer. </dd></dl> </div> </div> <a class="anchor" id="ac4299229d3f2dc3c1afc02c8e430641e"></a><!-- doxytag: member="Gtk::EntryBuffer::get_max_length" ref="ac4299229d3f2dc3c1afc02c8e430641e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gtk::EntryBuffer::get_max_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the maximum allowed length of the text in <em>buffer</em>. </p> <p>See <a class="el" href="classGtk_1_1EntryBuffer.html#a381e1969e3f387ef19cbf10cfae5ca46" title="Sets the maximum allowed length of the contents of the buffer.">set_max_length()</a>.</p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000029">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The maximum allowed number of characters in <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">Gtk::EntryBuffer</a>, or 0 if there is no maximum. </dd></dl> </div> </div> <a class="anchor" id="afaff2f92189073b335d8fbb0102cd6c0"></a><!-- doxytag: member="Gtk::EntryBuffer::get_text" ref="afaff2f92189073b335d8fbb0102cd6c0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::EntryBuffer::get_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the contents of the buffer. </p> <p>The memory pointer returned by this call will not change unless this object emits a signal, or is finalized.</p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000027">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the contents of the widget as a string. This string points to internally allocated storage in the buffer and must not be freed, modified or stored. </dd></dl> </div> </div> <a class="anchor" id="a3abe82b4d53b3610ee47f825221cae8f"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj" ref="a3abe82b4d53b3610ee47f825221cae8f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkEntryBuffer* Gtk::EntryBuffer::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="ad567657dd7d73c3277dbf87647cfe4ef"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj" ref="ad567657dd7d73c3277dbf87647cfe4ef" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p> </div> </div> <a class="anchor" id="acb885a342bd3b42577eab89d5e0d2925"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj_copy" ref="acb885a342bd3b42577eab89d5e0d2925" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="a01bf8802e1570532eb7c6afc6bbd4851"></a><!-- doxytag: member="Gtk::EntryBuffer::insert_text" ref="a01bf8802e1570532eb7c6afc6bbd4851" args="(guint position, const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint Gtk::EntryBuffer::insert_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Inserts <em>text</em> into the contents of the buffer, at position <em>position</em>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">position</td><td>The position at which to insert text. </td></tr> <tr><td class="paramname">text</td><td>The text to insert into the buffer. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters actually inserted. </dd></dl> </div> </div> <a class="anchor" id="a422081a55ff1fd9712fdde947bffd163"></a><!-- doxytag: member="Gtk::EntryBuffer::on_deleted_text" ref="a422081a55ff1fd9712fdde947bffd163" args="(guint position, guint n_chars)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::EntryBuffer::on_deleted_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>n_chars</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a9abba6505cf595b5b09c1a931252e2b3"></a><!-- doxytag: member="Gtk::EntryBuffer::on_inserted_text" ref="a9abba6505cf595b5b09c1a931252e2b3" args="(guint position, const gchar *chars, guint n_chars)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::EntryBuffer::on_inserted_text </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>position</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const gchar * </td> <td class="paramname"><em>chars</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>n_chars</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a251c86b9c7bdf0acb1f65ab7f848b5f2"></a><!-- doxytag: member="Gtk::EntryBuffer::property_length" ref="a251c86b9c7bdf0acb1f65ab7f848b5f2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::EntryBuffer::property_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Length of the text currently in the buffer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ae6b5a5b26c08165402e06f3c6b145e0f"></a><!-- doxytag: member="Gtk::EntryBuffer::property_max_length" ref="ae6b5a5b26c08165402e06f3c6b145e0f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><int> Gtk::EntryBuffer::property_max_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Maximum number of characters for this entry. </p> <p>Zero if no maximum.</p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a46b420066859b20ef65ff6e7641c8437"></a><!-- doxytag: member="Gtk::EntryBuffer::property_max_length" ref="a46b420066859b20ef65ff6e7641c8437" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><int> Gtk::EntryBuffer::property_max_length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Maximum number of characters for this entry. </p> <p>Zero if no maximum.</p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="acaa149a0085b30f3fa88bd84f1186d41"></a><!-- doxytag: member="Gtk::EntryBuffer::property_text" ref="acaa149a0085b30f3fa88bd84f1186d41" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::EntryBuffer::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The contents of the buffer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="af943bba0ef75fa1aaab367bce85b14b7"></a><!-- doxytag: member="Gtk::EntryBuffer::property_text" ref="af943bba0ef75fa1aaab367bce85b14b7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::EntryBuffer::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The contents of the buffer. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a381e1969e3f387ef19cbf10cfae5ca46"></a><!-- doxytag: member="Gtk::EntryBuffer::set_max_length" ref="a381e1969e3f387ef19cbf10cfae5ca46" args="(int max_length)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EntryBuffer::set_max_length </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>max_length</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the maximum allowed length of the contents of the buffer. </p> <p>If the current contents are longer than the given length, then they will be truncated to fit.</p> <dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000028">Since gtkmm 2.18:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">max_length</td><td>The maximum length of the entry buffer, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a289ee88d181f1b81b9cada53d12628ff"></a><!-- doxytag: member="Gtk::EntryBuffer::set_text" ref="a289ee88d181f1b81b9cada53d12628ff" args="(const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EntryBuffer::set_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the text in the buffer. </p> <p>This is roughly equivalent to calling <a class="el" href="classGtk_1_1EntryBuffer.html#a1e735047dd16f4b1c40aa4c952d50258" title="Deletes a sequence of characters from the buffer.">delete_text()</a> and <a class="el" href="classGtk_1_1EntryBuffer.html#a01bf8802e1570532eb7c6afc6bbd4851" title="Inserts text into the contents of the buffer, at position position.">insert_text()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The text to set in the buffer. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="afef4562f9fa399a93a3037158c136dd8"></a><!-- doxytag: member="Gtk::EntryBuffer::signal_deleted_text" ref="afef4562f9fa399a93a3037158c136dd8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>< void,guint,guint > Gtk::EntryBuffer::signal_deleted_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_deleted_text(guint position, guint n_chars)</code> </dd></dl> </div> </div> <a class="anchor" id="a549ae271ec91312a2fc69d9c7620ae49"></a><!-- doxytag: member="Gtk::EntryBuffer::signal_inserted_text" ref="a549ae271ec91312a2fc69d9c7620ae49" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< void,guint,const gchar*,guint > Gtk::EntryBuffer::signal_inserted_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_inserted_text(guint position, const gchar* chars, guint n_chars)</code> </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="aa7f5eb545b57327fecf0681665f19d7c"></a><!-- doxytag: member="Gtk::EntryBuffer::wrap" ref="aa7f5eb545b57327fecf0681665f19d7c" args="(GtkEntryBuffer *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1EntryBuffer.html">Gtk::EntryBuffer</a> > wrap </td> <td>(</td> <td class="paramtype">GtkEntryBuffer * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/entrybuffer.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>