/usr/share/doc/libgnomeui-doc/html/libgnomeui-gnome-entry.html is in libgnomeui-doc 2.24.5-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated Modules">
<link rel="prev" href="libgnomeui-gnome-dialog-util.html" title="gnome-dialog-util">
<link rel="next" href="GnomeFileEntry.html" title="GnomeFileEntry">
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgnomeui-gnome-dialog-util.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="GnomeFileEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgnomeui-gnome-entry.synopsis" class="shortcut">Top</a>
|
<a href="#libgnomeui-gnome-entry.description" class="shortcut">Description</a>
|
<a href="#libgnomeui-gnome-entry.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#libgnomeui-gnome-entry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#libgnomeui-gnome-entry.properties" class="shortcut">Properties</a>
|
<a href="#libgnomeui-gnome-entry.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgnomeui-gnome-entry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgnomeui-gnome-entry.top_of_page"></a>GnomeEntry</span></h2>
<p>GnomeEntry</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgnomeui-gnome-entry.synopsis"></a><h2>Synopsis</h2>
<a name="GnomeEntry"></a><pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntryPrivate" title="GnomeEntryPrivate">GnomeEntryPrivate</a>;
struct <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry-struct" title="struct GnomeEntry">GnomeEntry</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-new" title="gnome_entry_new ()">gnome_entry_new</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *history_id</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-gtk-entry" title="gnome_entry_gtk_entry ()">gnome_entry_gtk_entry</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-get-history-id" title="gnome_entry_get_history_id ()">gnome_entry_get_history_id</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-set-history-id" title="gnome_entry_set_history_id ()">gnome_entry_set_history_id</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *history_id</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-set-max-saved" title="gnome_entry_set_max_saved ()">gnome_entry_set_max_saved</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_saved</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-get-max-saved" title="gnome_entry_get_max_saved ()">gnome_entry_get_max_saved</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-prepend-history" title="gnome_entry_prepend_history ()">gnome_entry_prepend_history</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> save</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-append-history" title="gnome_entry_append_history ()">gnome_entry_append_history</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> save</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-clear-history" title="gnome_entry_clear_history ()">gnome_entry_clear_history</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBox.html">GtkBox</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkHBox.html">GtkHBox</a>
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkCombo.html">GtkCombo</a>
+----GnomeEntry
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GnomeEntry implements
AtkImplementorIface, <a href="http://library.gnome.org/devel/gtk/unstable/GtkBuildable.html">GtkBuildable</a>, <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#GtkOrientable">GtkOrientable</a> and <a href="http://library.gnome.org/devel/gtk/unstable/GtkEditable.html">GtkEditable</a>.</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry--gtk-entry" title='The "gtk-entry" property'>gtk-entry</a>" <a href="http://library.gnome.org/devel/gtk/unstable/GtkEntry.html"><span class="type">GtkEntry</span></a>* : Read
"<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry--history-id" title='The "history-id" property'>history-id</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry-activate" title='The "activate" signal'>activate</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeEntryPrivate"></a><h3>GnomeEntryPrivate</h3>
<pre class="programlisting">typedef struct _GnomeEntryPrivate GnomeEntryPrivate;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeEntryPrivate</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeEntry-struct"></a><h3>struct GnomeEntry</h3>
<pre class="programlisting">struct GnomeEntry;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeEntry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-new"></a><h3>gnome_entry_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gnome_entry_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *history_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new GnomeEntry widget. If <em class="parameter"><code>history_id</code></em> is
not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the history list will be saved and restored between
uses under the given id.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>history_id</code></em> :</span></p></td>
<td>If not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the text id under which history data is stored</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Newly-created GnomeEntry widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-gtk-entry"></a><h3>gnome_entry_gtk_entry ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gnome_entry_gtk_entry (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_gtk_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Obtain pointer to GnomeEntry's internal text entry
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Pointer to GtkEntry widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-get-history-id"></a><h3>gnome_entry_get_history_id ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gnome_entry_get_history_id (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_get_history_id</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns the current history id of the GnomeEntry widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The current history id.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-set-history-id"></a><h3>gnome_entry_set_history_id ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_entry_set_history_id (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *history_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_set_history_id</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the id of the history list. This function cannot be
used to change and already existing id.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>history_id</code></em> :</span></p></td>
<td>the text id under which history data is stored</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-set-max-saved"></a><h3>gnome_entry_set_max_saved ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_entry_set_max_saved (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> max_saved</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_set_max_saved</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set internal limit on number of history items saved
to the config file.
Zero is an acceptable value for <em class="parameter"><code>max_saved</code></em>, but the same thing is
accomplished by setting the history id of <em class="parameter"><code>gentry</code></em> to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_saved</code></em> :</span></p></td>
<td>Maximum number of history items to save</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-get-max-saved"></a><h3>gnome_entry_get_max_saved ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gnome_entry_get_max_saved (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_get_max_saved</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Get internal limit on number of history items saved
to the config file
See #<a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-set-max-saved" title="gnome_entry_set_max_saved ()"><code class="function">gnome_entry_set_max_saved()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>An unsigned integer</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-prepend-history"></a><h3>gnome_entry_prepend_history ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_entry_prepend_history (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> save</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_prepend_history</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds a history item of the given <em class="parameter"><code>text</code></em> to the head of
the history list inside <em class="parameter"><code>gentry</code></em>. If <em class="parameter"><code>save</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the history
item will be saved in the config file (assuming that <em class="parameter"><code>gentry</code></em>'s
history id is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
Duplicates are automatically removed from the history list.
The history list is automatically saved if needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>save</code></em> :</span></p></td>
<td>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, history entry will be saved to config file</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>Text to add</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-append-history"></a><h3>gnome_entry_append_history ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_entry_append_history (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> save</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_append_history</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Adds a history item of the given <em class="parameter"><code>text</code></em> to the tail
of the history list inside <em class="parameter"><code>gentry</code></em>. If <em class="parameter"><code>save</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the
history item will be saved in the config file (assuming that
<em class="parameter"><code>gentry</code></em>'s history id is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
Duplicates are automatically removed from the history list.
The history list is automatically saved if needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>save</code></em> :</span></p></td>
<td>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, history entry will be saved to config file</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>Text to add</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-entry-clear-history"></a><h3>gnome_entry_clear_history ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_entry_clear_history (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *gentry</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_entry_clear_history</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Clears the history.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>gentry</code></em> :</span></p></td>
<td>Pointer to GnomeEntry object.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeEntry--gtk-entry"></a><h3>The <code class="literal">"gtk-entry"</code> property</h3>
<pre class="programlisting"> "gtk-entry" <a href="http://library.gnome.org/devel/gtk/unstable/GtkEntry.html"><span class="type">GtkEntry</span></a>* : Read</pre>
<p>The GTK entry.</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeEntry--history-id"></a><h3>The <code class="literal">"history-id"</code> property</h3>
<pre class="programlisting"> "history-id" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>History ID.</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-entry.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GnomeEntry-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> *entry,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
<td>the object which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.16</div>
</body>
</html>
|