1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>gtkmm: Gtk::EntryBuffer Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.7.3 -->
13
<table cellspacing="0" cellpadding="0">
15
<tr style="height: 56px;">
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">gtkmm <span id="projectnumber">2.24.2</span></div>
23
<div id="navrow1" class="tabs">
25
<li><a href="index.html"><span>Main Page</span></a></li>
26
<li><a href="pages.html"><span>Related Pages</span></a></li>
27
<li><a href="modules.html"><span>Modules</span></a></li>
28
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
29
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
32
<div id="navrow2" class="tabs2">
34
<li><a href="annotated.html"><span>Class List</span></a></li>
35
<li><a href="classes.html"><span>Class Index</span></a></li>
36
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
37
<li><a href="functions.html"><span>Class Members</span></a></li>
40
<div id="nav-path" class="navpath">
42
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
43
<li class="navelem"><a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> </li>
49
<a href="#pub-methods">Public Member Functions</a> |
50
<a href="#pub-static-methods">Static Public Member Functions</a> |
51
<a href="#pro-methods">Protected Member Functions</a> |
52
<a href="#related">Related Functions</a> </div>
53
<div class="headertitle">
54
<h1>Gtk::EntryBuffer Class Reference</h1> </div>
56
<div class="contents">
57
<!-- doxytag: class="Gtk::EntryBuffer" --><!-- doxytag: inherits="Glib::Object" -->
58
<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>
59
<div class="dynheader">
60
Inheritance diagram for Gtk::EntryBuffer:</div>
61
<div class="dyncontent">
62
<div class="center"><img src="classGtk_1_1EntryBuffer__inherit__graph.png" border="0" usemap="#Gtk_1_1EntryBuffer_inherit__map" alt="Inheritance graph"/></div>
63
<map name="Gtk_1_1EntryBuffer_inherit__map" id="Gtk_1_1EntryBuffer_inherit__map">
64
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
65
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
66
<div class="dynheader">
67
Collaboration diagram for Gtk::EntryBuffer:</div>
68
<div class="dyncontent">
69
<div class="center"><img src="classGtk_1_1EntryBuffer__coll__graph.png" border="0" usemap="#Gtk_1_1EntryBuffer_coll__map" alt="Collaboration graph"/></div>
70
<map name="Gtk_1_1EntryBuffer_coll__map" id="Gtk_1_1EntryBuffer_coll__map">
71
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
72
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
74
<p><a href="classGtk_1_1EntryBuffer-members.html">List of all members.</a></p>
75
<table class="memberdecls">
76
<tr><td colspan="2"><h2><a name="pub-methods"></a>
77
Public Member Functions</h2></td></tr>
78
<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>
79
<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>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ad567657dd7d73c3277dbf87647cfe4ef"></a><br/></td></tr>
81
<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>
82
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a3abe82b4d53b3610ee47f825221cae8f"></a><br/></td></tr>
83
<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>
84
<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>
85
<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>
86
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the length in bytes of the buffer. <a href="#a53cb0c54a2b13314e64036dae7c0f0db"></a><br/></td></tr>
87
<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>
88
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the length in characters of the buffer. <a href="#a9cebb86114b9cb03d24b86d058486c55"></a><br/></td></tr>
89
<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>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the contents of the buffer. <a href="#afaff2f92189073b335d8fbb0102cd6c0"></a><br/></td></tr>
91
<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>
92
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the text in the buffer. <a href="#a289ee88d181f1b81b9cada53d12628ff"></a><br/></td></tr>
93
<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>
94
<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>
95
<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>
96
<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>
97
<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>
98
<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>
99
<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>
100
<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a sequence of characters from the buffer. <a href="#a1e735047dd16f4b1c40aa4c952d50258"></a><br/></td></tr>
101
<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>
102
<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>
103
<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>
104
<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>
105
<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"/>
106
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>
107
<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"/>
108
guint, guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#afef4562f9fa399a93a3037158c136dd8">signal_deleted_text</a> ()</td></tr>
109
<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"/>
110
< <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>
111
<tr><td class="mdescLeft"> </td><td class="mdescRight">The contents of the buffer. <a href="#acaa149a0085b30f3fa88bd84f1186d41"></a><br/></td></tr>
112
<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"/>
113
< <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>
114
<tr><td class="mdescLeft"> </td><td class="mdescRight">The contents of the buffer. <a href="#af943bba0ef75fa1aaab367bce85b14b7"></a><br/></td></tr>
115
<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"/>
116
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a251c86b9c7bdf0acb1f65ab7f848b5f2">property_length</a> () const </td></tr>
117
<tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the text currently in the buffer. <a href="#a251c86b9c7bdf0acb1f65ab7f848b5f2"></a><br/></td></tr>
118
<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>
119
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of characters for this entry. <a href="#a46b420066859b20ef65ff6e7641c8437"></a><br/></td></tr>
120
<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>
121
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of characters for this entry. <a href="#ae6b5a5b26c08165402e06f3c6b145e0f"></a><br/></td></tr>
122
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
123
Static Public Member Functions</h2></td></tr>
124
<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>
125
<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>
126
<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>
127
<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>
128
<tr><td colspan="2"><h2><a name="pro-methods"></a>
129
Protected Member Functions</h2></td></tr>
130
<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>
131
<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>
132
<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>
133
<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>
134
<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>
135
<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>
136
<tr><td colspan="2"><h2><a name="related"></a>
137
Related Functions</h2></td></tr>
138
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
139
<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>
140
<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>
142
<hr/><a name="_details"></a><h2>Detailed Description</h2>
143
<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>
144
<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>
145
<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>
146
<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>
148
</div><hr/><h2>Constructor & Destructor Documentation</h2>
149
<a class="anchor" id="afc374d6dc3cdfbbfe97a50a86be608ad"></a><!-- doxytag: member="Gtk::EntryBuffer::~EntryBuffer" ref="afc374d6dc3cdfbbfe97a50a86be608ad" args="()" -->
150
<div class="memitem">
151
<div class="memproto">
152
<table class="memname">
154
<td class="memname">virtual Gtk::EntryBuffer::~EntryBuffer </td>
156
<td class="paramname"></td><td>)</td>
157
<td><code> [virtual]</code></td>
165
<a class="anchor" id="a560c87ddbf7790dde544535edada9d25"></a><!-- doxytag: member="Gtk::EntryBuffer::EntryBuffer" ref="a560c87ddbf7790dde544535edada9d25" args="()" -->
166
<div class="memitem">
167
<div class="memproto">
168
<table class="memname">
170
<td class="memname">Gtk::EntryBuffer::EntryBuffer </td>
172
<td class="paramname"></td><td>)</td>
173
<td><code> [protected]</code></td>
179
<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>
183
<a class="anchor" id="a0af68812843e71fa92933ee646226a18"></a><!-- doxytag: member="Gtk::EntryBuffer::EntryBuffer" ref="a0af68812843e71fa92933ee646226a18" args="(const Glib::ustring &text)" -->
184
<div class="memitem">
185
<div class="memproto">
186
<table class="memname">
188
<td class="memname">Gtk::EntryBuffer::EntryBuffer </td>
190
<td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
191
<td class="paramname"><em>text</em></td><td>)</td>
192
<td><code> [explicit, protected]</code></td>
198
<p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. </p>
199
<dl><dt><b>Parameters:</b></dt><dd>
200
<table class="params">
201
<tr><td class="paramname">text</td><td>Initial buffer text. </td></tr>
208
<hr/><h2>Member Function Documentation</h2>
209
<a class="anchor" id="aa8d182fb0881a3a58e71352f63a37710"></a><!-- doxytag: member="Gtk::EntryBuffer::create" ref="aa8d182fb0881a3a58e71352f63a37710" args="()" -->
210
<div class="memitem">
211
<div class="memproto">
212
<table class="memname">
214
<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>
216
<td class="paramname"></td><td>)</td>
217
<td><code> [static]</code></td>
223
<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>
227
<a class="anchor" id="a730e9d1751b9275a2de18da9c16d39c1"></a><!-- doxytag: member="Gtk::EntryBuffer::create" ref="a730e9d1751b9275a2de18da9c16d39c1" args="(const Glib::ustring &text)" -->
228
<div class="memitem">
229
<div class="memproto">
230
<table class="memname">
232
<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>
234
<td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
235
<td class="paramname"><em>text</em></td><td>)</td>
236
<td><code> [static]</code></td>
242
<p>Create a new <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a> object. </p>
243
<dl><dt><b>Parameters:</b></dt><dd>
244
<table class="params">
245
<tr><td class="paramname">text</td><td>Initial buffer text. </td></tr>
252
<a class="anchor" id="a1e735047dd16f4b1c40aa4c952d50258"></a><!-- doxytag: member="Gtk::EntryBuffer::delete_text" ref="a1e735047dd16f4b1c40aa4c952d50258" args="(guint position, int n_chars)" -->
253
<div class="memitem">
254
<div class="memproto">
255
<table class="memname">
257
<td class="memname">guint Gtk::EntryBuffer::delete_text </td>
259
<td class="paramtype">guint </td>
260
<td class="paramname"><em>position</em>, </td>
263
<td class="paramkey"></td>
265
<td class="paramtype">int </td>
266
<td class="paramname"><em>n_chars</em> </td>
277
<p>Deletes a sequence of characters from the buffer. </p>
278
<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>
279
<p>If <em>position</em> or <em>n_chars</em> are out of bounds, then they are coerced to sane values.</p>
280
<p>Note that the positions are specified in characters, not bytes.</p>
281
<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>
282
<dl><dt><b>Parameters:</b></dt><dd>
283
<table class="params">
284
<tr><td class="paramname">position</td><td>Position at which to delete text. </td></tr>
285
<tr><td class="paramname">n_chars</td><td>Number of characters to delete. </td></tr>
289
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters deleted. </dd></dl>
293
<a class="anchor" id="a325918e5e859bba2927daa25113c32d3"></a><!-- doxytag: member="Gtk::EntryBuffer::emit_deleted_text" ref="a325918e5e859bba2927daa25113c32d3" args="(guint position, guint n_chars)" -->
294
<div class="memitem">
295
<div class="memproto">
296
<table class="memname">
298
<td class="memname">void Gtk::EntryBuffer::emit_deleted_text </td>
300
<td class="paramtype">guint </td>
301
<td class="paramname"><em>position</em>, </td>
304
<td class="paramkey"></td>
306
<td class="paramtype">guint </td>
307
<td class="paramname"><em>n_chars</em> </td>
318
<p>Used when subclassing <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">Gtk::EntryBuffer</a>. </p>
319
<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>
320
<dl><dt><b>Parameters:</b></dt><dd>
321
<table class="params">
322
<tr><td class="paramname">position</td><td>Position at which text was deleted. </td></tr>
323
<tr><td class="paramname">n_chars</td><td>Number of characters deleted. </td></tr>
330
<a class="anchor" id="a0866b9a826b9f96f941eaf84945884fa"></a><!-- doxytag: member="Gtk::EntryBuffer::emit_inserted_text" ref="a0866b9a826b9f96f941eaf84945884fa" args="(guint position, const Glib::ustring &text)" -->
331
<div class="memitem">
332
<div class="memproto">
333
<table class="memname">
335
<td class="memname">void Gtk::EntryBuffer::emit_inserted_text </td>
337
<td class="paramtype">guint </td>
338
<td class="paramname"><em>position</em>, </td>
341
<td class="paramkey"></td>
343
<td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
344
<td class="paramname"><em>text</em> </td>
355
<p>Used when deriving from <a class="el" href="classGtk_1_1EntryBuffer.html" title="A Text buffer for the Entry widget.">EntryBuffer</a>. </p>
356
<dl><dt><b>Parameters:</b></dt><dd>
357
<table class="params">
358
<tr><td class="paramname">position</td><td>Position at which text was inserted. </td></tr>
359
<tr><td class="paramname">text</td><td>Text that was inserted. </td></tr>
366
<a class="anchor" id="a53cb0c54a2b13314e64036dae7c0f0db"></a><!-- doxytag: member="Gtk::EntryBuffer::get_bytes" ref="a53cb0c54a2b13314e64036dae7c0f0db" args="() const " -->
367
<div class="memitem">
368
<div class="memproto">
369
<table class="memname">
371
<td class="memname">gsize Gtk::EntryBuffer::get_bytes </td>
373
<td class="paramname"></td><td>)</td>
380
<p>Retrieves the length in bytes of the buffer. </p>
381
<p>See <a class="el" href="classGtk_1_1EntryBuffer.html#a9cebb86114b9cb03d24b86d058486c55" title="Retrieves the length in characters of the buffer.">get_length()</a>.</p>
382
<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>
383
<dl class="return"><dt><b>Returns:</b></dt><dd>The byte length of the buffer. </dd></dl>
387
<a class="anchor" id="a9cebb86114b9cb03d24b86d058486c55"></a><!-- doxytag: member="Gtk::EntryBuffer::get_length" ref="a9cebb86114b9cb03d24b86d058486c55" args="() const " -->
388
<div class="memitem">
389
<div class="memproto">
390
<table class="memname">
392
<td class="memname">guint Gtk::EntryBuffer::get_length </td>
394
<td class="paramname"></td><td>)</td>
401
<p>Retrieves the length in characters of the buffer. </p>
402
<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>
403
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters in the buffer. </dd></dl>
407
<a class="anchor" id="ac4299229d3f2dc3c1afc02c8e430641e"></a><!-- doxytag: member="Gtk::EntryBuffer::get_max_length" ref="ac4299229d3f2dc3c1afc02c8e430641e" args="() const " -->
408
<div class="memitem">
409
<div class="memproto">
410
<table class="memname">
412
<td class="memname">int Gtk::EntryBuffer::get_max_length </td>
414
<td class="paramname"></td><td>)</td>
421
<p>Retrieves the maximum allowed length of the text in <em>buffer</em>. </p>
422
<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>
423
<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>
424
<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>
428
<a class="anchor" id="afaff2f92189073b335d8fbb0102cd6c0"></a><!-- doxytag: member="Gtk::EntryBuffer::get_text" ref="afaff2f92189073b335d8fbb0102cd6c0" args="() const " -->
429
<div class="memitem">
430
<div class="memproto">
431
<table class="memname">
433
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::EntryBuffer::get_text </td>
435
<td class="paramname"></td><td>)</td>
442
<p>Retrieves the contents of the buffer. </p>
443
<p>The memory pointer returned by this call will not change unless this object emits a signal, or is finalized.</p>
444
<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>
445
<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>
449
<a class="anchor" id="a3abe82b4d53b3610ee47f825221cae8f"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj" ref="a3abe82b4d53b3610ee47f825221cae8f" args="() const " -->
450
<div class="memitem">
451
<div class="memproto">
452
<table class="memname">
454
<td class="memname">const GtkEntryBuffer* Gtk::EntryBuffer::gobj </td>
456
<td class="paramname"></td><td>)</td>
457
<td> const<code> [inline]</code></td>
463
<p>Provides access to the underlying C GObject. </p>
465
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>
469
<a class="anchor" id="ad567657dd7d73c3277dbf87647cfe4ef"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj" ref="ad567657dd7d73c3277dbf87647cfe4ef" args="()" -->
470
<div class="memitem">
471
<div class="memproto">
472
<table class="memname">
474
<td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj </td>
476
<td class="paramname"></td><td>)</td>
477
<td><code> [inline]</code></td>
483
<p>Provides access to the underlying C GObject. </p>
485
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>
489
<a class="anchor" id="acb885a342bd3b42577eab89d5e0d2925"></a><!-- doxytag: member="Gtk::EntryBuffer::gobj_copy" ref="acb885a342bd3b42577eab89d5e0d2925" args="()" -->
490
<div class="memitem">
491
<div class="memproto">
492
<table class="memname">
494
<td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj_copy </td>
496
<td class="paramname"></td><td>)</td>
503
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
507
<a class="anchor" id="a01bf8802e1570532eb7c6afc6bbd4851"></a><!-- doxytag: member="Gtk::EntryBuffer::insert_text" ref="a01bf8802e1570532eb7c6afc6bbd4851" args="(guint position, const Glib::ustring &text)" -->
508
<div class="memitem">
509
<div class="memproto">
510
<table class="memname">
512
<td class="memname">guint Gtk::EntryBuffer::insert_text </td>
514
<td class="paramtype">guint </td>
515
<td class="paramname"><em>position</em>, </td>
518
<td class="paramkey"></td>
520
<td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
521
<td class="paramname"><em>text</em> </td>
532
<p>Inserts <em>text</em> into the contents of the buffer, at position <em>position</em>. </p>
533
<dl><dt><b>Parameters:</b></dt><dd>
534
<table class="params">
535
<tr><td class="paramname">position</td><td>The position at which to insert text. </td></tr>
536
<tr><td class="paramname">text</td><td>The text to insert into the buffer. </td></tr>
540
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters actually inserted. </dd></dl>
544
<a class="anchor" id="a422081a55ff1fd9712fdde947bffd163"></a><!-- doxytag: member="Gtk::EntryBuffer::on_deleted_text" ref="a422081a55ff1fd9712fdde947bffd163" args="(guint position, guint n_chars)" -->
545
<div class="memitem">
546
<div class="memproto">
547
<table class="memname">
549
<td class="memname">virtual void Gtk::EntryBuffer::on_deleted_text </td>
551
<td class="paramtype">guint </td>
552
<td class="paramname"><em>position</em>, </td>
555
<td class="paramkey"></td>
557
<td class="paramtype">guint </td>
558
<td class="paramname"><em>n_chars</em> </td>
563
<td></td><td><code> [protected, virtual]</code></td>
571
<a class="anchor" id="a9abba6505cf595b5b09c1a931252e2b3"></a><!-- doxytag: member="Gtk::EntryBuffer::on_inserted_text" ref="a9abba6505cf595b5b09c1a931252e2b3" args="(guint position, const gchar *chars, guint n_chars)" -->
572
<div class="memitem">
573
<div class="memproto">
574
<table class="memname">
576
<td class="memname">virtual void Gtk::EntryBuffer::on_inserted_text </td>
578
<td class="paramtype">guint </td>
579
<td class="paramname"><em>position</em>, </td>
582
<td class="paramkey"></td>
584
<td class="paramtype">const gchar * </td>
585
<td class="paramname"><em>chars</em>, </td>
588
<td class="paramkey"></td>
590
<td class="paramtype">guint </td>
591
<td class="paramname"><em>n_chars</em> </td>
596
<td></td><td><code> [protected, virtual]</code></td>
604
<a class="anchor" id="a251c86b9c7bdf0acb1f65ab7f848b5f2"></a><!-- doxytag: member="Gtk::EntryBuffer::property_length" ref="a251c86b9c7bdf0acb1f65ab7f848b5f2" args="() const " -->
605
<div class="memitem">
606
<div class="memproto">
607
<table class="memname">
609
<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>
611
<td class="paramname"></td><td>)</td>
618
<p>Length of the text currently in the buffer. </p>
619
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
620
<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>
624
<a class="anchor" id="ae6b5a5b26c08165402e06f3c6b145e0f"></a><!-- doxytag: member="Gtk::EntryBuffer::property_max_length" ref="ae6b5a5b26c08165402e06f3c6b145e0f" args="() const " -->
625
<div class="memitem">
626
<div class="memproto">
627
<table class="memname">
629
<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>
631
<td class="paramname"></td><td>)</td>
638
<p>Maximum number of characters for this entry. </p>
639
<p>Zero if no maximum.</p>
640
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
641
<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>
645
<a class="anchor" id="a46b420066859b20ef65ff6e7641c8437"></a><!-- doxytag: member="Gtk::EntryBuffer::property_max_length" ref="a46b420066859b20ef65ff6e7641c8437" args="()" -->
646
<div class="memitem">
647
<div class="memproto">
648
<table class="memname">
650
<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>
652
<td class="paramname"></td><td>)</td>
659
<p>Maximum number of characters for this entry. </p>
660
<p>Zero if no maximum.</p>
661
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
662
<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>
666
<a class="anchor" id="acaa149a0085b30f3fa88bd84f1186d41"></a><!-- doxytag: member="Gtk::EntryBuffer::property_text" ref="acaa149a0085b30f3fa88bd84f1186d41" args="()" -->
667
<div class="memitem">
668
<div class="memproto">
669
<table class="memname">
671
<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>
673
<td class="paramname"></td><td>)</td>
680
<p>The contents of the buffer. </p>
681
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
682
<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>
686
<a class="anchor" id="af943bba0ef75fa1aaab367bce85b14b7"></a><!-- doxytag: member="Gtk::EntryBuffer::property_text" ref="af943bba0ef75fa1aaab367bce85b14b7" args="() const " -->
687
<div class="memitem">
688
<div class="memproto">
689
<table class="memname">
691
<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>
693
<td class="paramname"></td><td>)</td>
700
<p>The contents of the buffer. </p>
701
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
702
<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>
706
<a class="anchor" id="a381e1969e3f387ef19cbf10cfae5ca46"></a><!-- doxytag: member="Gtk::EntryBuffer::set_max_length" ref="a381e1969e3f387ef19cbf10cfae5ca46" args="(int max_length)" -->
707
<div class="memitem">
708
<div class="memproto">
709
<table class="memname">
711
<td class="memname">void Gtk::EntryBuffer::set_max_length </td>
713
<td class="paramtype">int </td>
714
<td class="paramname"><em>max_length</em></td><td>)</td>
721
<p>Sets the maximum allowed length of the contents of the buffer. </p>
722
<p>If the current contents are longer than the given length, then they will be truncated to fit.</p>
723
<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>
724
<dl><dt><b>Parameters:</b></dt><dd>
725
<table class="params">
726
<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>
733
<a class="anchor" id="a289ee88d181f1b81b9cada53d12628ff"></a><!-- doxytag: member="Gtk::EntryBuffer::set_text" ref="a289ee88d181f1b81b9cada53d12628ff" args="(const Glib::ustring &text)" -->
734
<div class="memitem">
735
<div class="memproto">
736
<table class="memname">
738
<td class="memname">void Gtk::EntryBuffer::set_text </td>
740
<td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
741
<td class="paramname"><em>text</em></td><td>)</td>
748
<p>Sets the text in the buffer. </p>
749
<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>
750
<dl><dt><b>Parameters:</b></dt><dd>
751
<table class="params">
752
<tr><td class="paramname">text</td><td>The text to set in the buffer. </td></tr>
759
<a class="anchor" id="afef4562f9fa399a93a3037158c136dd8"></a><!-- doxytag: member="Gtk::EntryBuffer::signal_deleted_text" ref="afef4562f9fa399a93a3037158c136dd8" args="()" -->
760
<div class="memitem">
761
<div class="memproto">
762
<table class="memname">
764
<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>
766
<td class="paramname"></td><td>)</td>
772
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_deleted_text(guint position, guint n_chars)</code> </dd></dl>
776
<a class="anchor" id="a549ae271ec91312a2fc69d9c7620ae49"></a><!-- doxytag: member="Gtk::EntryBuffer::signal_inserted_text" ref="a549ae271ec91312a2fc69d9c7620ae49" args="()" -->
777
<div class="memitem">
778
<div class="memproto">
779
<table class="memname">
781
<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>
783
<td class="paramname"></td><td>)</td>
789
<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>
793
<hr/><h2>Friends And Related Function Documentation</h2>
794
<a class="anchor" id="aa7f5eb545b57327fecf0681665f19d7c"></a><!-- doxytag: member="Gtk::EntryBuffer::wrap" ref="aa7f5eb545b57327fecf0681665f19d7c" args="(GtkEntryBuffer *object, bool take_copy=false)" -->
795
<div class="memitem">
796
<div class="memproto">
797
<table class="memname">
799
<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>
801
<td class="paramtype">GtkEntryBuffer * </td>
802
<td class="paramname"><em>object</em>, </td>
805
<td class="paramkey"></td>
807
<td class="paramtype">bool </td>
808
<td class="paramname"><em>take_copy</em> = <code>false</code> </td>
813
<td></td><td><code> [related]</code></td>
819
<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
820
<dl><dt><b>Parameters:</b></dt><dd>
821
<table class="params">
822
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
823
<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>
827
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
831
<hr/>The documentation for this class was generated from the following file:<ul>
832
<li>gtkmm/entrybuffer.h</li>
835
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:45 for gtkmm by 
836
<a href="http://www.doxygen.org/index.html">
837
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>