~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/doc/gtkmm-2.4/reference/html/classGtk_1_1EntryBuffer.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
3
<head>
 
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"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;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>
 
30
    </ul>
 
31
  </div>
 
32
  <div id="navrow2" class="tabs2">
 
33
    <ul class="tablist">
 
34
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
35
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
36
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
 
37
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
38
    </ul>
 
39
  </div>
 
40
  <div id="nav-path" class="navpath">
 
41
    <ul>
 
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>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#pub-methods">Public Member Functions</a> &#124;
 
50
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
 
51
<a href="#pro-methods">Protected Member Functions</a> &#124;
 
52
<a href="#related">Related Functions</a> </div>
 
53
  <div class="headertitle">
 
54
<h1>Gtk::EntryBuffer Class Reference</h1> </div>
 
55
</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>
 
73
 
 
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&#160;</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*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#ad567657dd7d73c3277dbf87647cfe4ef">gobj</a> ()</td></tr>
 
80
<tr><td class="mdescLeft">&#160;</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*&#160;</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">&#160;</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*&#160;</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">&#160;</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&#160;</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">&#160;</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&#160;</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">&#160;</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>&#160;</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">&#160;</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&#160;</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>&amp; text)</td></tr>
 
92
<tr><td class="mdescLeft">&#160;</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&#160;</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">&#160;</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&#160;</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">&#160;</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&#160;</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>&amp; text)</td></tr>
 
98
<tr><td class="mdescLeft">&#160;</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&#160;</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">&#160;</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&#160;</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>&amp; text)</td></tr>
 
102
<tr><td class="mdescLeft">&#160;</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&#160;</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">&#160;</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>&lt; void, <br class="typebreak"/>
 
106
guint, const gchar*, guint &gt;&#160;</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>&lt; void, <br class="typebreak"/>
 
108
guint, guint &gt;&#160;</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
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</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">&#160;</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
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</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">&#160;</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
&lt; guint &gt;&#160;</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">&#160;</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>&lt; int &gt;&#160;</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">&#160;</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>&lt; int &gt;&#160;</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">&#160;</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>&lt; <a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#aa8d182fb0881a3a58e71352f63a37710">create</a> ()</td></tr>
 
125
<tr><td class="mdescLeft">&#160;</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>&lt; <a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a> &gt;&#160;</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>&amp; text)</td></tr>
 
127
<tr><td class="mdescLeft">&#160;</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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EntryBuffer.html#a560c87ddbf7790dde544535edada9d25">EntryBuffer</a> ()</td></tr>
 
131
<tr><td class="mdescLeft">&#160;</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">&#160;</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>&amp; text)</td></tr>
 
133
<tr><td class="mdescLeft">&#160;</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&#160;</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&#160;</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>&lt; <a class="el" href="classGtk_1_1EntryBuffer.html">Gtk::EntryBuffer</a> &gt;&#160;</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">&#160;</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>
 
141
</table>
 
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>
 
147
<p>@newin{2,20} </p>
 
148
</div><hr/><h2>Constructor &amp; 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">
 
153
        <tr>
 
154
          <td class="memname">virtual Gtk::EntryBuffer::~EntryBuffer </td>
 
155
          <td>(</td>
 
156
          <td class="paramname"></td><td>)</td>
 
157
          <td><code> [virtual]</code></td>
 
158
        </tr>
 
159
      </table>
 
160
</div>
 
161
<div class="memdoc">
 
162
 
 
163
</div>
 
164
</div>
 
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">
 
169
        <tr>
 
170
          <td class="memname">Gtk::EntryBuffer::EntryBuffer </td>
 
171
          <td>(</td>
 
172
          <td class="paramname"></td><td>)</td>
 
173
          <td><code> [protected]</code></td>
 
174
        </tr>
 
175
      </table>
 
176
</div>
 
177
<div class="memdoc">
 
178
 
 
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>
 
180
 
 
181
</div>
 
182
</div>
 
183
<a class="anchor" id="a0af68812843e71fa92933ee646226a18"></a><!-- doxytag: member="Gtk::EntryBuffer::EntryBuffer" ref="a0af68812843e71fa92933ee646226a18" args="(const Glib::ustring &amp;text)" -->
 
184
<div class="memitem">
 
185
<div class="memproto">
 
186
      <table class="memname">
 
187
        <tr>
 
188
          <td class="memname">Gtk::EntryBuffer::EntryBuffer </td>
 
189
          <td>(</td>
 
190
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
191
          <td class="paramname"><em>text</em></td><td>)</td>
 
192
          <td><code> [explicit, protected]</code></td>
 
193
        </tr>
 
194
      </table>
 
195
</div>
 
196
<div class="memdoc">
 
197
 
 
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>
 
202
  </table>
 
203
  </dd>
 
204
</dl>
 
205
 
 
206
</div>
 
207
</div>
 
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">
 
213
        <tr>
 
214
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a>&gt; Gtk::EntryBuffer::create </td>
 
215
          <td>(</td>
 
216
          <td class="paramname"></td><td>)</td>
 
217
          <td><code> [static]</code></td>
 
218
        </tr>
 
219
      </table>
 
220
</div>
 
221
<div class="memdoc">
 
222
 
 
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>
 
224
 
 
225
</div>
 
226
</div>
 
227
<a class="anchor" id="a730e9d1751b9275a2de18da9c16d39c1"></a><!-- doxytag: member="Gtk::EntryBuffer::create" ref="a730e9d1751b9275a2de18da9c16d39c1" args="(const Glib::ustring &amp;text)" -->
 
228
<div class="memitem">
 
229
<div class="memproto">
 
230
      <table class="memname">
 
231
        <tr>
 
232
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1EntryBuffer.html">EntryBuffer</a>&gt; Gtk::EntryBuffer::create </td>
 
233
          <td>(</td>
 
234
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
235
          <td class="paramname"><em>text</em></td><td>)</td>
 
236
          <td><code> [static]</code></td>
 
237
        </tr>
 
238
      </table>
 
239
</div>
 
240
<div class="memdoc">
 
241
 
 
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>
 
246
  </table>
 
247
  </dd>
 
248
</dl>
 
249
 
 
250
</div>
 
251
</div>
 
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">
 
256
        <tr>
 
257
          <td class="memname">guint Gtk::EntryBuffer::delete_text </td>
 
258
          <td>(</td>
 
259
          <td class="paramtype">guint&#160;</td>
 
260
          <td class="paramname"><em>position</em>, </td>
 
261
        </tr>
 
262
        <tr>
 
263
          <td class="paramkey"></td>
 
264
          <td></td>
 
265
          <td class="paramtype">int&#160;</td>
 
266
          <td class="paramname"><em>n_chars</em>&#160;</td>
 
267
        </tr>
 
268
        <tr>
 
269
          <td></td>
 
270
          <td>)</td>
 
271
          <td></td><td></td>
 
272
        </tr>
 
273
      </table>
 
274
</div>
 
275
<div class="memdoc">
 
276
 
 
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>
 
286
  </table>
 
287
  </dd>
 
288
</dl>
 
289
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters deleted. </dd></dl>
 
290
 
 
291
</div>
 
292
</div>
 
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">
 
297
        <tr>
 
298
          <td class="memname">void Gtk::EntryBuffer::emit_deleted_text </td>
 
299
          <td>(</td>
 
300
          <td class="paramtype">guint&#160;</td>
 
301
          <td class="paramname"><em>position</em>, </td>
 
302
        </tr>
 
303
        <tr>
 
304
          <td class="paramkey"></td>
 
305
          <td></td>
 
306
          <td class="paramtype">guint&#160;</td>
 
307
          <td class="paramname"><em>n_chars</em>&#160;</td>
 
308
        </tr>
 
309
        <tr>
 
310
          <td></td>
 
311
          <td>)</td>
 
312
          <td></td><td></td>
 
313
        </tr>
 
314
      </table>
 
315
</div>
 
316
<div class="memdoc">
 
317
 
 
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>
 
324
  </table>
 
325
  </dd>
 
326
</dl>
 
327
 
 
328
</div>
 
329
</div>
 
330
<a class="anchor" id="a0866b9a826b9f96f941eaf84945884fa"></a><!-- doxytag: member="Gtk::EntryBuffer::emit_inserted_text" ref="a0866b9a826b9f96f941eaf84945884fa" args="(guint position, const Glib::ustring &amp;text)" -->
 
331
<div class="memitem">
 
332
<div class="memproto">
 
333
      <table class="memname">
 
334
        <tr>
 
335
          <td class="memname">void Gtk::EntryBuffer::emit_inserted_text </td>
 
336
          <td>(</td>
 
337
          <td class="paramtype">guint&#160;</td>
 
338
          <td class="paramname"><em>position</em>, </td>
 
339
        </tr>
 
340
        <tr>
 
341
          <td class="paramkey"></td>
 
342
          <td></td>
 
343
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
344
          <td class="paramname"><em>text</em>&#160;</td>
 
345
        </tr>
 
346
        <tr>
 
347
          <td></td>
 
348
          <td>)</td>
 
349
          <td></td><td></td>
 
350
        </tr>
 
351
      </table>
 
352
</div>
 
353
<div class="memdoc">
 
354
 
 
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>
 
360
  </table>
 
361
  </dd>
 
362
</dl>
 
363
 
 
364
</div>
 
365
</div>
 
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">
 
370
        <tr>
 
371
          <td class="memname">gsize Gtk::EntryBuffer::get_bytes </td>
 
372
          <td>(</td>
 
373
          <td class="paramname"></td><td>)</td>
 
374
          <td> const</td>
 
375
        </tr>
 
376
      </table>
 
377
</div>
 
378
<div class="memdoc">
 
379
 
 
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>
 
384
 
 
385
</div>
 
386
</div>
 
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">
 
391
        <tr>
 
392
          <td class="memname">guint Gtk::EntryBuffer::get_length </td>
 
393
          <td>(</td>
 
394
          <td class="paramname"></td><td>)</td>
 
395
          <td> const</td>
 
396
        </tr>
 
397
      </table>
 
398
</div>
 
399
<div class="memdoc">
 
400
 
 
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>
 
404
 
 
405
</div>
 
406
</div>
 
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">
 
411
        <tr>
 
412
          <td class="memname">int Gtk::EntryBuffer::get_max_length </td>
 
413
          <td>(</td>
 
414
          <td class="paramname"></td><td>)</td>
 
415
          <td> const</td>
 
416
        </tr>
 
417
      </table>
 
418
</div>
 
419
<div class="memdoc">
 
420
 
 
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>
 
425
 
 
426
</div>
 
427
</div>
 
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">
 
432
        <tr>
 
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>
 
434
          <td>(</td>
 
435
          <td class="paramname"></td><td>)</td>
 
436
          <td> const</td>
 
437
        </tr>
 
438
      </table>
 
439
</div>
 
440
<div class="memdoc">
 
441
 
 
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>
 
446
 
 
447
</div>
 
448
</div>
 
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">
 
453
        <tr>
 
454
          <td class="memname">const GtkEntryBuffer* Gtk::EntryBuffer::gobj </td>
 
455
          <td>(</td>
 
456
          <td class="paramname"></td><td>)</td>
 
457
          <td> const<code> [inline]</code></td>
 
458
        </tr>
 
459
      </table>
 
460
</div>
 
461
<div class="memdoc">
 
462
 
 
463
<p>Provides access to the underlying C GObject. </p>
 
464
 
 
465
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>
 
466
 
 
467
</div>
 
468
</div>
 
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">
 
473
        <tr>
 
474
          <td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj </td>
 
475
          <td>(</td>
 
476
          <td class="paramname"></td><td>)</td>
 
477
          <td><code> [inline]</code></td>
 
478
        </tr>
 
479
      </table>
 
480
</div>
 
481
<div class="memdoc">
 
482
 
 
483
<p>Provides access to the underlying C GObject. </p>
 
484
 
 
485
<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>
 
486
 
 
487
</div>
 
488
</div>
 
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">
 
493
        <tr>
 
494
          <td class="memname">GtkEntryBuffer* Gtk::EntryBuffer::gobj_copy </td>
 
495
          <td>(</td>
 
496
          <td class="paramname"></td><td>)</td>
 
497
          <td></td>
 
498
        </tr>
 
499
      </table>
 
500
</div>
 
501
<div class="memdoc">
 
502
 
 
503
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
 
504
 
 
505
</div>
 
506
</div>
 
507
<a class="anchor" id="a01bf8802e1570532eb7c6afc6bbd4851"></a><!-- doxytag: member="Gtk::EntryBuffer::insert_text" ref="a01bf8802e1570532eb7c6afc6bbd4851" args="(guint position, const Glib::ustring &amp;text)" -->
 
508
<div class="memitem">
 
509
<div class="memproto">
 
510
      <table class="memname">
 
511
        <tr>
 
512
          <td class="memname">guint Gtk::EntryBuffer::insert_text </td>
 
513
          <td>(</td>
 
514
          <td class="paramtype">guint&#160;</td>
 
515
          <td class="paramname"><em>position</em>, </td>
 
516
        </tr>
 
517
        <tr>
 
518
          <td class="paramkey"></td>
 
519
          <td></td>
 
520
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
521
          <td class="paramname"><em>text</em>&#160;</td>
 
522
        </tr>
 
523
        <tr>
 
524
          <td></td>
 
525
          <td>)</td>
 
526
          <td></td><td></td>
 
527
        </tr>
 
528
      </table>
 
529
</div>
 
530
<div class="memdoc">
 
531
 
 
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>
 
537
  </table>
 
538
  </dd>
 
539
</dl>
 
540
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters actually inserted. </dd></dl>
 
541
 
 
542
</div>
 
543
</div>
 
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">
 
548
        <tr>
 
549
          <td class="memname">virtual void Gtk::EntryBuffer::on_deleted_text </td>
 
550
          <td>(</td>
 
551
          <td class="paramtype">guint&#160;</td>
 
552
          <td class="paramname"><em>position</em>, </td>
 
553
        </tr>
 
554
        <tr>
 
555
          <td class="paramkey"></td>
 
556
          <td></td>
 
557
          <td class="paramtype">guint&#160;</td>
 
558
          <td class="paramname"><em>n_chars</em>&#160;</td>
 
559
        </tr>
 
560
        <tr>
 
561
          <td></td>
 
562
          <td>)</td>
 
563
          <td></td><td><code> [protected, virtual]</code></td>
 
564
        </tr>
 
565
      </table>
 
566
</div>
 
567
<div class="memdoc">
 
568
 
 
569
</div>
 
570
</div>
 
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">
 
575
        <tr>
 
576
          <td class="memname">virtual void Gtk::EntryBuffer::on_inserted_text </td>
 
577
          <td>(</td>
 
578
          <td class="paramtype">guint&#160;</td>
 
579
          <td class="paramname"><em>position</em>, </td>
 
580
        </tr>
 
581
        <tr>
 
582
          <td class="paramkey"></td>
 
583
          <td></td>
 
584
          <td class="paramtype">const gchar *&#160;</td>
 
585
          <td class="paramname"><em>chars</em>, </td>
 
586
        </tr>
 
587
        <tr>
 
588
          <td class="paramkey"></td>
 
589
          <td></td>
 
590
          <td class="paramtype">guint&#160;</td>
 
591
          <td class="paramname"><em>n_chars</em>&#160;</td>
 
592
        </tr>
 
593
        <tr>
 
594
          <td></td>
 
595
          <td>)</td>
 
596
          <td></td><td><code> [protected, virtual]</code></td>
 
597
        </tr>
 
598
      </table>
 
599
</div>
 
600
<div class="memdoc">
 
601
 
 
602
</div>
 
603
</div>
 
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">
 
608
        <tr>
 
609
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;guint&gt; Gtk::EntryBuffer::property_length </td>
 
610
          <td>(</td>
 
611
          <td class="paramname"></td><td>)</td>
 
612
          <td> const</td>
 
613
        </tr>
 
614
      </table>
 
615
</div>
 
616
<div class="memdoc">
 
617
 
 
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>
 
621
 
 
622
</div>
 
623
</div>
 
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">
 
628
        <tr>
 
629
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::EntryBuffer::property_max_length </td>
 
630
          <td>(</td>
 
631
          <td class="paramname"></td><td>)</td>
 
632
          <td> const</td>
 
633
        </tr>
 
634
      </table>
 
635
</div>
 
636
<div class="memdoc">
 
637
 
 
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>
 
642
 
 
643
</div>
 
644
</div>
 
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">
 
649
        <tr>
 
650
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::EntryBuffer::property_max_length </td>
 
651
          <td>(</td>
 
652
          <td class="paramname"></td><td>)</td>
 
653
          <td></td>
 
654
        </tr>
 
655
      </table>
 
656
</div>
 
657
<div class="memdoc">
 
658
 
 
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>
 
663
 
 
664
</div>
 
665
</div>
 
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">
 
670
        <tr>
 
671
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::EntryBuffer::property_text </td>
 
672
          <td>(</td>
 
673
          <td class="paramname"></td><td>)</td>
 
674
          <td></td>
 
675
        </tr>
 
676
      </table>
 
677
</div>
 
678
<div class="memdoc">
 
679
 
 
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>
 
683
 
 
684
</div>
 
685
</div>
 
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">
 
690
        <tr>
 
691
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gtk::EntryBuffer::property_text </td>
 
692
          <td>(</td>
 
693
          <td class="paramname"></td><td>)</td>
 
694
          <td> const</td>
 
695
        </tr>
 
696
      </table>
 
697
</div>
 
698
<div class="memdoc">
 
699
 
 
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>
 
703
 
 
704
</div>
 
705
</div>
 
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">
 
710
        <tr>
 
711
          <td class="memname">void Gtk::EntryBuffer::set_max_length </td>
 
712
          <td>(</td>
 
713
          <td class="paramtype">int&#160;</td>
 
714
          <td class="paramname"><em>max_length</em></td><td>)</td>
 
715
          <td></td>
 
716
        </tr>
 
717
      </table>
 
718
</div>
 
719
<div class="memdoc">
 
720
 
 
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>
 
727
  </table>
 
728
  </dd>
 
729
</dl>
 
730
 
 
731
</div>
 
732
</div>
 
733
<a class="anchor" id="a289ee88d181f1b81b9cada53d12628ff"></a><!-- doxytag: member="Gtk::EntryBuffer::set_text" ref="a289ee88d181f1b81b9cada53d12628ff" args="(const Glib::ustring &amp;text)" -->
 
734
<div class="memitem">
 
735
<div class="memproto">
 
736
      <table class="memname">
 
737
        <tr>
 
738
          <td class="memname">void Gtk::EntryBuffer::set_text </td>
 
739
          <td>(</td>
 
740
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
 
741
          <td class="paramname"><em>text</em></td><td>)</td>
 
742
          <td></td>
 
743
        </tr>
 
744
      </table>
 
745
</div>
 
746
<div class="memdoc">
 
747
 
 
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>
 
753
  </table>
 
754
  </dd>
 
755
</dl>
 
756
 
 
757
</div>
 
758
</div>
 
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">
 
763
        <tr>
 
764
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy2.html">Glib::SignalProxy2</a>&lt; void,guint,guint &gt; Gtk::EntryBuffer::signal_deleted_text </td>
 
765
          <td>(</td>
 
766
          <td class="paramname"></td><td>)</td>
 
767
          <td></td>
 
768
        </tr>
 
769
      </table>
 
770
</div>
 
771
<div class="memdoc">
 
772
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_deleted_text(guint position, guint n_chars)</code> </dd></dl>
 
773
 
 
774
</div>
 
775
</div>
 
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">
 
780
        <tr>
 
781
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; void,guint,const gchar*,guint &gt; Gtk::EntryBuffer::signal_inserted_text </td>
 
782
          <td>(</td>
 
783
          <td class="paramname"></td><td>)</td>
 
784
          <td></td>
 
785
        </tr>
 
786
      </table>
 
787
</div>
 
788
<div class="memdoc">
 
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>
 
790
 
 
791
</div>
 
792
</div>
 
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">
 
798
        <tr>
 
799
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1EntryBuffer.html">Gtk::EntryBuffer</a> &gt; wrap </td>
 
800
          <td>(</td>
 
801
          <td class="paramtype">GtkEntryBuffer *&#160;</td>
 
802
          <td class="paramname"><em>object</em>, </td>
 
803
        </tr>
 
804
        <tr>
 
805
          <td class="paramkey"></td>
 
806
          <td></td>
 
807
          <td class="paramtype">bool&#160;</td>
 
808
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
 
809
        </tr>
 
810
        <tr>
 
811
          <td></td>
 
812
          <td>)</td>
 
813
          <td></td><td><code> [related]</code></td>
 
814
        </tr>
 
815
      </table>
 
816
</div>
 
817
<div class="memdoc">
 
818
 
 
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>
 
824
  </table>
 
825
  </dd>
 
826
</dl>
 
827
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
 
828
 
 
829
</div>
 
830
</div>
 
831
<hr/>The documentation for this class was generated from the following file:<ul>
 
832
<li>gtkmm/entrybuffer.h</li>
 
833
</ul>
 
834
</div>
 
835
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:45 for gtkmm by&#160;
 
836
<a href="http://www.doxygen.org/index.html">
 
837
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
838
</body>
 
839
</html>