~ubuntu-branches/ubuntu/edgy/gimp/edgy-proposed

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpFileEntry.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-08-28 16:54:33 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060828165433-4a009iph3a8lq78s
Tags: 2.2.13-1ubuntu1
* Sync with Debian
* New upstream version, UVF exception granted by Colin Watson
* debian/patches/10_dont_show_wizard.patch:
  - don't use the setup wizard on first run
* debian/rules:
  - add gettext domain to the .desktop
  - run "intltool-update -p" for the different po directories of the package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1
2
<html>
2
3
<head>
3
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
7
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
8
9
<link rel="prev" href="GimpDialog.html" title="GimpDialog">
9
10
<link rel="next" href="GimpFrame.html" title="GimpFrame">
10
 
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
11
12
<link rel="stylesheet" href="style.css" type="text/css">
12
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
13
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
19
20
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
20
21
</head>
21
22
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
22
 
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
23
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
24
<tr valign="middle">
23
25
<td><a accesskey="p" href="GimpDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
24
26
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
25
27
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
26
28
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
27
29
<td><a accesskey="n" href="GimpFrame.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
 
</tr></table>
 
30
</tr>
 
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
 
32
                  &#160;|&#160;
 
33
                  <a href="#desc" class="shortcut">Description</a>
 
34
                  &#160;|&#160;
 
35
                  <a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
 
36
                  &#160;|&#160;
 
37
                  <a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
 
38
</table>
29
39
<div class="refentry" lang="en">
30
40
<a name="GimpFileEntry"></a><div class="titlepage"></div>
31
41
<div class="refnamediv"><table width="100%"><tr>
32
42
<td valign="top">
33
 
<h2><span class="refentrytitle">GimpFileEntry</span></h2>
 
43
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpFileEntry</span></h2>
34
44
<p>GimpFileEntry &#8212; Widget for entering a filename.</p>
35
45
</td>
36
46
<td valign="top" align="right"></td>
37
47
</tr></table></div>
38
48
<div class="refsynopsisdiv">
39
 
<h2>Synopsis</h2>
 
49
<a name="synopsis"></a><h2>Synopsis</h2>
40
50
<pre class="synopsis">
41
51
 
42
52
 
43
53
 
44
54
            <a href="GimpFileEntry.html#GimpFileEntry-struct">GimpFileEntry</a>;
45
 
<a
46
 
href="../gtk/GtkWidget.html"
47
 
>GtkWidget</a>*  <a href="GimpFileEntry.html#gimp-file-entry-new">gimp_file_entry_new</a>             (const gchar *title,
 
55
GtkWidget*  <a href="GimpFileEntry.html#gimp-file-entry-new">gimp_file_entry_new</a>             (const gchar *title,
48
56
                                             const gchar *filename,
49
57
                                             gboolean dir_only,
50
58
                                             gboolean check_valid);
55
63
</pre>
56
64
</div>
57
65
<div class="refsect1" lang="en">
58
 
<a name="id2561187"></a><h2>Object Hierarchy</h2>
 
66
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
59
67
<pre class="synopsis">
60
68
 
61
69
  GObject
62
 
   +----<a
63
 
href="../gtk/GtkObject.html"
64
 
>GtkObject</a>
65
 
         +----<a
66
 
href="../gtk/GtkWidget.html"
67
 
>GtkWidget</a>
68
 
               +----<a
69
 
href="../gtk/GtkContainer.html"
70
 
>GtkContainer</a>
71
 
                     +----<a
72
 
href="../gtk/GtkBox.html"
73
 
>GtkBox</a>
74
 
                           +----<a
75
 
href="../gtk/GtkHBox.html"
76
 
>GtkHBox</a>
77
 
                                 +----GimpFileEntry
 
70
   +----GInitiallyUnowned
 
71
         +----GtkObject
 
72
               +----GtkWidget
 
73
                     +----GtkContainer
 
74
                           +----GtkBox
 
75
                                 +----GtkHBox
 
76
                                       +----GimpFileEntry
78
77
</pre>
79
78
</div>
80
79
<div class="refsect1" lang="en">
81
 
<a name="id2552420"></a><h2>Implemented Interfaces</h2>
 
80
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
82
81
<p>
83
82
GimpFileEntry implements
84
83
 AtkImplementorIface.</p>
85
84
</div>
86
85
<div class="refsect1" lang="en">
87
 
<a name="id2552437"></a><h2>Signal Prototypes</h2>
 
86
<a name="signal_proto"></a><h2>Signals</h2>
88
87
<pre class="synopsis">
89
88
 
90
89
"<a href="GimpFileEntry.html#GimpFileEntry-filename-changed">filename-changed</a>"
91
90
            void        user_function      (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
92
 
                                            gpointer user_data);
 
91
                                            gpointer       user_data)      : Run first
93
92
</pre>
94
93
</div>
95
94
<div class="refsect1" lang="en">
96
 
<a name="id2552476"></a><h2>Description</h2>
 
95
<a name="desc"></a><h2>Description</h2>
97
96
<p>
98
97
This widget is used to enter filenames or directories.
99
98
</p>
100
99
<p>
101
 
There is a <a
102
 
href="../gtk/GtkEntry.html"
103
 
><span class="type">GtkEntry</span></a> for entering the filename manually and a "..."
104
 
button which will pop up a <a
105
 
href="../gtk/GtkFileSelection.html"
106
 
><span class="type">GtkFileSelection</span></a> dialog.
 
100
There is a <span class="type">GtkEntry</span> for entering the filename manually and a "..."
 
101
button which will pop up a <span class="type">GtkFileSelection</span> dialog.
107
102
</p>
108
103
<p>
109
104
You can restrict the <span class="type">GimpFileSelection</span> to directories. In this case
110
 
the filename listbox of the <a
111
 
href="../gtk/GtkFileSelection.html"
112
 
><span class="type">GtkFileSelection</span></a> dialog will be hidden.
 
105
the filename listbox of the <span class="type">GtkFileSelection</span> dialog will be hidden.
113
106
</p>
114
107
<p>
115
108
If you specify <em class="parameter"><code>check_valid</code></em> as <span class="type">TRUE</span> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
122
115
</p>
123
116
</div>
124
117
<div class="refsect1" lang="en">
125
 
<a name="id2518281"></a><h2>Details</h2>
 
118
<a name="details"></a><h2>Details</h2>
126
119
<div class="refsect2" lang="en">
127
 
<a name="id2518287"></a><h3>
 
120
<a name="id2564773"></a><h3>
128
121
<a name="GimpFileEntry-struct"></a>GimpFileEntry</h3>
129
 
<a class="indexterm" name="id2518297"></a><pre class="programlisting">typedef struct _GimpFileEntry GimpFileEntry;</pre>
 
122
<a class="indexterm" name="id2564784"></a><pre class="programlisting">typedef struct _GimpFileEntry GimpFileEntry;</pre>
130
123
<p>
131
124
 
132
125
</p>
133
126
</div>
134
127
<hr>
135
128
<div class="refsect2" lang="en">
136
 
<a name="id2518313"></a><h3>
 
129
<a name="id2563294"></a><h3>
137
130
<a name="gimp-file-entry-new"></a>gimp_file_entry_new ()</h3>
138
 
<a class="indexterm" name="id2518323"></a><pre class="programlisting"><a
139
 
href="../gtk/GtkWidget.html"
140
 
>GtkWidget</a>*  gimp_file_entry_new             (const gchar *title,
 
131
<a class="indexterm" name="id2563307"></a><pre class="programlisting">GtkWidget*  gimp_file_entry_new             (const gchar *title,
141
132
                                             const gchar *filename,
142
133
                                             gboolean dir_only,
143
134
                                             gboolean check_valid);</pre>
185
176
</div>
186
177
<hr>
187
178
<div class="refsect2" lang="en">
188
 
<a name="id2559697"></a><h3>
 
179
<a name="id2563472"></a><h3>
189
180
<a name="gimp-file-entry-get-filename"></a>gimp_file_entry_get_filename ()</h3>
190
 
<a class="indexterm" name="id2559706"></a><pre class="programlisting">gchar*      gimp_file_entry_get_filename    (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);</pre>
 
181
<a class="indexterm" name="id2563483"></a><pre class="programlisting">gchar*      gimp_file_entry_get_filename    (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);</pre>
191
182
<p>
192
183
Note that you have to <code class="function">g_free()</code> the returned string.</p>
193
184
<p>
213
204
</div>
214
205
<hr>
215
206
<div class="refsect2" lang="en">
216
 
<a name="id2559776"></a><h3>
 
207
<a name="id2570407"></a><h3>
217
208
<a name="gimp-file-entry-set-filename"></a>gimp_file_entry_set_filename ()</h3>
218
 
<a class="indexterm" name="id2559787"></a><pre class="programlisting">void        gimp_file_entry_set_filename    (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
 
209
<a class="indexterm" name="id2570420"></a><pre class="programlisting">void        gimp_file_entry_set_filename    (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
219
210
                                             const gchar *filename);</pre>
220
211
<p>
221
212
If you specified <em class="parameter"><code>check_valid</code></em> as <code class="literal">TRUE</code> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
244
235
</div>
245
236
</div>
246
237
<div class="refsect1" lang="en">
247
 
<a name="id2518826"></a><h2>Signals</h2>
 
238
<a name="signals"></a><h2>Signal Details</h2>
248
239
<div class="refsect2" lang="en">
249
 
<a name="id2518832"></a><h3>
 
240
<a name="id2570537"></a><h3>
250
241
<a name="GimpFileEntry-filename-changed"></a>The "filename-changed" signal</h3>
251
 
<pre class="programlisting">void        user_function                  (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
252
 
                                            gpointer user_data);</pre>
 
242
<a class="indexterm" name="id2570546"></a><pre class="programlisting">void        user_function                  (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
 
243
                                            gpointer       user_data)      : Run first</pre>
253
244
<p>
254
245
This signal is emitted whenever the user changes the filename.</p>
255
246
<p>
266
257
</div>
267
258
</div>
268
259
<div class="refsect1" lang="en">
269
 
<a name="id2518895"></a><h2>See Also</h2>
 
260
<a name="id2570606"></a><h2>See Also</h2>
270
261
<p>
271
262
<a href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a>
272
263
</p>
273
264
</div>
274
265
</div>
275
 
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
276
 
<td align="left"><a accesskey="p" href="GimpDialog.html"><b>&lt;&lt;&#160;GimpDialog</b></a></td>
277
 
<td align="right"><a accesskey="n" href="GimpFrame.html"><b>GimpFrame&#160;&gt;&gt;</b></a></td>
278
 
</tr></table>
279
266
</body>
280
267
</html>