File: GnomeFileEntry.html

package info (click to toggle)
libgnomeui 2.24.5-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 12,428 kB
  • sloc: ansic: 37,044; sh: 11,082; makefile: 409; xml: 18
file content (619 lines) | stat: -rw-r--r-- 42,899 bytes parent folder | download | duplicates (3)
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
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeFileEntry</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-entry.html" title="GnomeEntry">
<link rel="next" href="libgnomeui-gnome-font-picker.html" title="GnomeFontPicker">
<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-entry.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="libgnomeui-gnome-font-picker.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GnomeFileEntry.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GnomeFileEntry.description" class="shortcut">Description</a>
                   | 
                  <a href="#GnomeFileEntry.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GnomeFileEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GnomeFileEntry.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GnomeFileEntry.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GnomeFileEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GnomeFileEntry.top_of_page"></a>GnomeFileEntry</span></h2>
<p>GnomeFileEntry</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GnomeFileEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomeui/libgnomeui.h&gt;

struct              <a class="link" href="GnomeFileEntry.html#GnomeFileEntry-struct" title="struct GnomeFileEntry">GnomeFileEntry</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GnomeFileEntry.html#gnome-file-entry-new" title="gnome_file_entry_new ()">gnome_file_entry_new</a>                (<em class="parameter"><code>const <span class="type">char</span> *history_id</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-construct" title="gnome_file_entry_construct ()">gnome_file_entry_construct</a>          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *history_id</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GnomeFileEntry.html#gnome-file-entry-gnome-entry" title="gnome_file_entry_gnome_entry ()">gnome_file_entry_gnome_entry</a>        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GnomeFileEntry.html#gnome-file-entry-gtk-entry" title="gnome_file_entry_gtk_entry ()">gnome_file_entry_gtk_entry</a>          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-title" title="gnome_file_entry_set_title ()">gnome_file_entry_set_title</a>          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-default-path" title="gnome_file_entry_set_default_path ()">gnome_file_entry_set_default_path</a>   (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-directory-entry" title="gnome_file_entry_set_directory_entry ()">gnome_file_entry_set_directory_entry</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> directory_entry</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GnomeFileEntry.html#gnome-file-entry-get-directory-entry" title="gnome_file_entry_get_directory_entry ()">gnome_file_entry_get_directory_entry</a>
                                                        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="GnomeFileEntry.html#gnome-file-entry-get-full-path" title="gnome_file_entry_get_full_path ()">gnome_file_entry_get_full_path</a>      (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> file_must_exist</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-filename" title="gnome_file_entry_set_filename ()">gnome_file_entry_set_filename</a>       (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-modal" title="gnome_file_entry_set_modal ()">gnome_file_entry_set_modal</a>          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_modal</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GnomeFileEntry.html#gnome-file-entry-get-modal" title="gnome_file_entry_get_modal ()">gnome_file_entry_get_modal</a>          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-directory" title="gnome_file_entry_set_directory ()">gnome_file_entry_set_directory</a>      (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> directory_entry</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/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/GtkVBox.html">GtkVBox</a>
                                       +----GnomeFileEntry
                                             +----<a class="link" href="GnomePixmapEntry.html" title="GnomePixmapEntry">GnomePixmapEntry</a>
</pre>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GnomeFileEntry 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="GnomeFileEntry.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--browse-dialog-title" title='The "browse-dialog-title" property'>browse-dialog-title</a>"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--default-path" title='The "default-path" property'>default-path</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--directory-entry" title='The "directory-entry" property'>directory-entry</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--filechooser-action" title='The "filechooser-action" property'>filechooser-action</a>"       <a href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a>  : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--filename" title='The "filename" property'>filename</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--gnome-entry" title='The "gnome-entry" property'>gnome-entry</a>"              <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a>*           : Read
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--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="GnomeFileEntry.html#GnomeFileEntry--history-id" title='The "history-id" property'>history-id</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--modal" title='The "modal" property'>modal</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry--use-filechooser" title='The "use-filechooser" property'>use-filechooser</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry-activate" title='The "activate" signal'>activate</a>"                                       : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
  "<a class="link" href="GnomeFileEntry.html#GnomeFileEntry-browse-clicked" title='The "browse-clicked" signal'>browse-clicked</a>"                                 : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeFileEntry-struct"></a><h3>struct GnomeFileEntry</h3>
<pre class="programlisting">struct GnomeFileEntry;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeFileEntry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-new"></a><h3>gnome_file_entry_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gnome_file_entry_new                (<em class="parameter"><code>const <span class="type">char</span> *history_id</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</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_file_entry_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new <a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> widget.
</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>the id given to <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-new" title="gnome_entry_new ()"><span class="type">gnome_entry_new</span></a> (see <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>browse_dialog_title</code></em> :</span></p></td>
<td>Title for the file dialog window.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the widget, NULL if it cannot be created.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-construct"></a><h3>gnome_file_entry_construct ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_construct          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *history_id</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</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_file_entry_construct</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Constructs a <a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>A <a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> to construct.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>history_id</code></em> :</span></p></td>
<td>the id given to <a class="link" href="libgnomeui-gnome-entry.html#gnome-entry-new" title="gnome_entry_new ()"><span class="type">gnome_entry_new</span></a> (see <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>browse_dialog_title</code></em> :</span></p></td>
<td>Title for the file dialog window.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-gnome-entry"></a><h3>gnome_file_entry_gnome_entry ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gnome_file_entry_gnome_entry        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</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_file_entry_gnome_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
It returns a pointer to the gnome entry widget of the
widget (see<a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to the component <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a> widget</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-gtk-entry"></a><h3>gnome_file_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_file_entry_gtk_entry          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</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_file_entry_gtk_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Similar to <a class="link" href="GnomeFileEntry.html#gnome-file-entry-gnome-entry" title="gnome_file_entry_gnome_entry ()"><span class="type">gnome_file_entry_gnome_entry</span></a> but
returns the gtk entry instead of the Gnome entry widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Returns the GtkEntry widget</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-title"></a><h3>gnome_file_entry_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_title          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *browse_dialog_title</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_file_entry_set_title</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the title of the browse dialog to <em class="parameter"><code>browse_dialog_title</code></em>.
The new title will go into effect the next time the browse button is pressed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>browse_dialog_title</code></em> :</span></p></td>
<td>The new title for the file browse dialog window.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-default-path"></a><h3>gnome_file_entry_set_default_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_default_path   (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</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_file_entry_set_default_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the default path of browse dialog to <em class="parameter"><code>path</code></em>. The
default path is only used if the entry is empty or if the current path
of the entry is not an absolute path, in which case the default
path is prepended to it before the dialog is started.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A path string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-directory-entry"></a><h3>gnome_file_entry_set_directory_entry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_directory_entry
                                                        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> directory_entry</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_file_entry_set_directory_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets whether this is a directory only entry.  If
<em class="parameter"><code>directory_entry</code></em> is true, then <a class="link" href="GnomeFileEntry.html#gnome-file-entry-get-full-path" title="gnome_file_entry_get_full_path ()"><span class="type">gnome_file_entry_get_full_path</span></a> will
check for the file being a directory, and the browse dialog will have
the file list disabled.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>directory_entry</code></em> :</span></p></td>
<td>boolean</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-get-directory-entry"></a><h3>gnome_file_entry_get_directory_entry ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gnome_file_entry_get_directory_entry
                                                        (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</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_file_entry_get_directory_entry</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Gets whether this is a directory only entry.
See also <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-directory-entry" title="gnome_file_entry_set_directory_entry ()"><span class="type">gnome_file_entry_set_directory_entry</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A boolean.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-get-full-path"></a><h3>gnome_file_entry_get_full_path ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_file_entry_get_full_path      (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> file_must_exist</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_file_entry_get_full_path</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Gets the full absolute path of the file from the entry.
If <em class="parameter"><code>file_must_exist</code></em> is false, nothing is tested and the path is returned.
If <em class="parameter"><code>file_must_exist</code></em> is true, then the path is only returned if the path
actually exists. In case the entry is a directory entry (see
<a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-directory-entry" title="gnome_file_entry_set_directory_entry ()"><span class="type">gnome_file_entry_set_directory_entry</span></a>), then if the path exists and is a
directory then it's returned; if not, it is assumed it was a file so
we try to strip it, and try again. It allocates memory for the returned string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>file_must_exist</code></em> :</span></p></td>
<td>boolean</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string with the path or NULL if something went
wrong</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-filename"></a><h3>gnome_file_entry_set_filename ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_filename       (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</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_file_entry_set_filename</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the internal entry to this string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-modal"></a><h3>gnome_file_entry_set_modal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_modal          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_modal</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_file_entry_set_modal</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the modality of the browse dialog.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_modal</code></em> :</span></p></td>
<td>true if the window is to be modal, false otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-get-modal"></a><h3>gnome_file_entry_get_modal ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gnome_file_entry_get_modal          (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</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_file_entry_get_modal</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function gets the boolean which specifies if
the browsing dialog is modal or not
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A boolean.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-file-entry-set-directory"></a><h3>gnome_file_entry_set_directory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_file_entry_set_directory      (<em class="parameter"><code><a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fentry</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> directory_entry</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_file_entry_set_directory</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated, use <a class="link" href="GnomeFileEntry.html#gnome-file-entry-set-directory-entry" title="gnome_file_entry_set_directory_entry ()"><span class="type">gnome_file_entry_set_directory_entry</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fentry</code></em> :</span></p></td>
<td>The GnomeFileEntry widget to work with.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>directory_entry</code></em> :</span></p></td>
<td>boolean</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeFileEntry--browse-dialog-title"></a><h3>The <code class="literal">"browse-dialog-title"</code> property</h3>
<pre class="programlisting">  "browse-dialog-title"      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Title for the Browse file dialog.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--default-path"></a><h3>The <code class="literal">"default-path"</code> property</h3>
<pre class="programlisting">  "default-path"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Default path for the Browse file window.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--directory-entry"></a><h3>The <code class="literal">"directory-entry"</code> property</h3>
<pre class="programlisting">  "directory-entry"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the file entry is being used to enter directory names or complete filenames.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--filechooser-action"></a><h3>The <code class="literal">"filechooser-action"</code> property</h3>
<pre class="programlisting">  "filechooser-action"       <a href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a>  : Read / Write</pre>
<p>The type of operation that the file selector is performing.</p>
<p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--filename"></a><h3>The <code class="literal">"filename"</code> property</h3>
<pre class="programlisting">  "filename"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Filename that should be displayed in the file entry.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--gnome-entry"></a><h3>The <code class="literal">"gnome-entry"</code> property</h3>
<pre class="programlisting">  "gnome-entry"              <a class="link" href="libgnomeui-gnome-entry.html#GnomeEntry"><span class="type">GnomeEntry</span></a>*           : Read</pre>
<p>GnomeEntry that the file entry uses for entering filenames.  You can use this property to get the GnomeEntry if you need to modify or query any of its parameters.</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--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>GtkEntry that the file entry uses for entering filenames.  You can use this property to get the GtkEntry if you need to modify or query any of its parameters.</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--history-id"></a><h3>The <code class="literal">"history-id"</code> property</h3>
<pre class="programlisting">  "history-id"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Unique identifier for the file entry.  This will be used to save the history list.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--modal"></a><h3>The <code class="literal">"modal"</code> property</h3>
<pre class="programlisting">  "modal"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether the Browse file window should be modal.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry--use-filechooser"></a><h3>The <code class="literal">"use-filechooser"</code> property</h3>
<pre class="programlisting">  "use-filechooser"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GnomeFileEntry.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GnomeFileEntry-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="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fileentry,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/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>fileentry</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>
<hr>
<div class="refsect2">
<a name="GnomeFileEntry-browse-clicked"></a><h3>The <code class="literal">"browse-clicked"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GnomeFileEntry.html" title="GnomeFileEntry"><span class="type">GnomeFileEntry</span></a> *fileentry,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/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>fileentry</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>