File: gtkfilelist.xml

package info (click to toggle)
gtkextra 3.3.4-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,580 kB
  • sloc: ansic: 60,728; xml: 28,485; sh: 4,758; makefile: 476
file content (410 lines) | stat: -rw-r--r-- 25,020 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
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<!--ENTITY index-Objects-Grouped SYSTEM "objects_grouped.sgml"-->
<refentry id="GtkFileList">
<refmeta>
<refentrytitle role="top_of_page" id="GtkFileList.top_of_page">GtkFileList</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTKEXTRA Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkFileList</refname>
<refpurpose>A file list widget fot GTK</refpurpose>
</refnamediv>

<refsect1 id="GtkFileList.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-file-list-new">gtk_file_list_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-construct">gtk_file_list_construct</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-set-filter">gtk_file_list_set_filter</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-open-dir">gtk_file_list_open_dir</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-file-list-get-path">gtk_file_list_get_path</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-file-list-get-filename">gtk_file_list_get_filename</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-get-filetype">gtk_file_list_get_filetype</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-add-type">gtk_file_list_add_type</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-add-type-with-pixmap">gtk_file_list_add_type_with_pixmap</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-file-list-add-type-filter">gtk_file_list_add_type_filter</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkFileList.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="name" colwidth="150px"/>
<colspec colname="description"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkFileList-struct">GtkFileList</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkFileListItem">GtkFileListItem</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkFileListType">GtkFileListType</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkFileList.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkObject">GtkObject</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
                <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkContainer">GtkContainer</link>
                    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkFixed">GtkFixed</link>
                        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkIconList">GtkIconList</link>
                            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkFileList
</screen>
</refsect1>
<refsect1 id="GtkFileList.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkFileList implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link> and  <link linkend="GtkBuildable">GtkBuildable</link>.</para>

</refsect1>

<refsect1 id="GtkFileList.includes"><title>Includes</title><synopsis>#include &lt;gtkextra.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkFileList.description" role="desc">
<title role="desc.title">Description</title>
<para>It is a GtkIconList subclass that displays the contents of a given directory using fancy icons for different types of files</para>

</refsect1>
<refsect1 id="GtkFileList.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-file-list-new" role="function">
<title>gtk_file_list_new&#160;()</title>
<indexterm zone="gtk-file-list-new"><primary>gtk_file_list_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_file_list_new (<parameter><link linkend="guint"><type>guint</type></link> icon_width</parameter>,
                   <parameter><link linkend="gint"><type>gint</type></link> mode</parameter>,
                   <parameter>const <link linkend="gchar"><type>gchar</type></link> *path</parameter>);</programlisting>
<para>Create a newfile list widget.
Remark for the 2nd open file window you must use: gtk_icon_file_selection_show_tree(GTK_ICON_FILESEL(filesel), TRUE);</para>
<refsect3 id="gtk-file-list-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>icon_width</para></entry>
<entry role="parameter_description"><para>the width of the icon</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>mode</para></entry>
<entry role="parameter_description"><para>GTK_FILE_LIST_SORT_NAME , GTK_FILE_LIST_SORT_TYPE</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>the path to the files to be be opened in <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-new.returns" role="returns">
<title>Returns</title>
<para> the newly-created <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-construct" role="function">
<title>gtk_file_list_construct&#160;()</title>
<indexterm zone="gtk-file-list-construct"><primary>gtk_file_list_construct</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_file_list_construct (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                         <parameter><link linkend="guint"><type>guint</type></link> icon_width</parameter>,
                         <parameter><link linkend="gint"><type>gint</type></link> mode</parameter>,
                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *path</parameter>);</programlisting>
<para>Initializes newfile list widget with specified values.</para>
<refsect3 id="gtk-file-list-construct.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para><link linkend="GtkFileList"><type>GtkFileList</type></link> widget</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>icon_width</para></entry>
<entry role="parameter_description"><para>the width of the icon</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>mode</para></entry>
<entry role="parameter_description"><para>GTK_FILE_LIST_SORT_NAME , GTK_FILE_LIST_SORT_TYPE</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>the path to the files to be be opened in <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-set-filter" role="function">
<title>gtk_file_list_set_filter&#160;()</title>
<indexterm zone="gtk-file-list-set-filter"><primary>gtk_file_list_set_filter</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_file_list_set_filter (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                          <parameter>const <link linkend="gchar"><type>gchar</type></link> *filter</parameter>);</programlisting>
<para>Sets a filter for files displayed in Open window.</para>
<refsect3 id="gtk-file-list-set-filter.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>filter</para></entry>
<entry role="parameter_description"><para>filter applied to files </para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-open-dir" role="function">
<title>gtk_file_list_open_dir&#160;()</title>
<indexterm zone="gtk-file-list-open-dir"><primary>gtk_file_list_open_dir</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_file_list_open_dir (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> *dir_path</parameter>);</programlisting>
<para>Opens the content of specified directory in <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para>
<refsect3 id="gtk-file-list-open-dir.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkFileList"><type>GtkFileList</type></link> widget</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>dir_path</para></entry>
<entry role="parameter_description"><para>path of directory to be opened in <link linkend="GtkFileList"><type>GtkFileList</type></link> widget</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-open-dir.returns" role="returns">
<title>Returns</title>
<para> TRUE(succes) or FALSE(failure)</para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-get-path" role="function">
<title>gtk_file_list_get_path&#160;()</title>
<indexterm zone="gtk-file-list-get-path"><primary>gtk_file_list_get_path</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
gtk_file_list_get_path (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>);</programlisting>
<para>Get the path of the files shown in filelist</para>
<refsect3 id="gtk-file-list-get-path.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-get-path.returns" role="returns">
<title>Returns</title>
<para> the path of files.</para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-get-filename" role="function">
<title>gtk_file_list_get_filename&#160;()</title>
<indexterm zone="gtk-file-list-get-filename"><primary>gtk_file_list_get_filename</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link>&#160;*
gtk_file_list_get_filename (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>);</programlisting>
<para>Get the path of the files shown in filelist</para>
<refsect3 id="gtk-file-list-get-filename.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-get-filename.returns" role="returns">
<title>Returns</title>
<para> the filename</para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-get-filetype" role="function">
<title>gtk_file_list_get_filetype&#160;()</title>
<indexterm zone="gtk-file-list-get-filetype"><primary>gtk_file_list_get_filetype</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_file_list_get_filetype (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>);</programlisting>
<para>Get the <link linkend="GtkFileListType"><type>GtkFileListType</type></link> of selected file in File List.</para>
<refsect3 id="gtk-file-list-get-filetype.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.
GTK_FILE_LIST_FILE,
GTK_FILE_LIST_HTML,
GTK_FILE_LIST_TEXT,
GTK_FILE_LIST_DOC,
GTK_FILE_LIST_PDF,
GTK_FILE_LIST_C,
GTK_FILE_LIST_CPP,
GTK_FILE_LIST_H,
GTK_FILE_LIST_F,
GTK_FILE_LIST_JAVA,
GTK_FILE_LIST_EXEC,
GTK_FILE_LIST_IMG,
GTK_FILE_LIST_ARCH,
GTK_FILE_LIST_PKG,
GTK_FILE_LIST_DEB,
GTK_FILE_LIST_RPM,
GTK_FILE_LIST_CAT,
GTK_FILE_LIST_SOUND,
GTK_FILE_LIST_MOVIE,
GTK_FILE_LIST_CORE)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-get-filetype.returns" role="returns">
<title>Returns</title>
<para> The <link linkend="GtkFileListType"><type>GtkFileListType</type></link> (   GTK_FILE_LIST_FOLDER,</para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-add-type" role="function">
<title>gtk_file_list_add_type&#160;()</title>
<indexterm zone="gtk-file-list-add-type"><primary>gtk_file_list_add_type</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_file_list_add_type (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                        <parameter>const <link linkend="gchar"><type>gchar</type></link> **pixmap_data</parameter>);</programlisting>
<para>Add a new file type in a <link linkend="GtkFileList"><type>GtkFileList</type></link> structure.</para>
<refsect3 id="gtk-file-list-add-type.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>pixmap_data</para></entry>
<entry role="parameter_description"><para>Pointer to a string containing the XPM data.(last argument of <link linkend="gdk-pixmap-create-from-xpm-d"><function>gdk_pixmap_create_from_xpm_d()</function></link> ).</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-add-type.returns" role="returns">
<title>Returns</title>
<para> the identification number given to the added
filetype </para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-add-type-with-pixmap" role="function">
<title>gtk_file_list_add_type_with_pixmap&#160;()</title>
<indexterm zone="gtk-file-list-add-type-with-pixmap"><primary>gtk_file_list_add_type_with_pixmap</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_file_list_add_type_with_pixmap (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                                    <parameter><link linkend="GdkPixmap"><type>GdkPixmap</type></link> *pixmap</parameter>,
                                    <parameter><link linkend="GdkBitmap"><type>GdkBitmap</type></link> *mask</parameter>);</programlisting>
<para>Add a new file type in a <link linkend="GtkFileList"><type>GtkFileList</type></link> structure.</para>
<refsect3 id="gtk-file-list-add-type-with-pixmap.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>pixmap</para></entry>
<entry role="parameter_description"><para>a <link linkend="GdkPixmap"><type>GdkPixmap</type></link> object.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>mask</para></entry>
<entry role="parameter_description"><para>a <link linkend="GdkBitmap"><type>GdkBitmap</type></link> mask.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-file-list-add-type-with-pixmap.returns" role="returns">
<title>Returns</title>
<para> the identification number given to the added
filetype </para>
</refsect3></refsect2>
<refsect2 id="gtk-file-list-add-type-filter" role="function">
<title>gtk_file_list_add_type_filter&#160;()</title>
<indexterm zone="gtk-file-list-add-type-filter"><primary>gtk_file_list_add_type_filter</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_file_list_add_type_filter (<parameter><link linkend="GtkFileList"><type>GtkFileList</type></link> *file_list</parameter>,
                               <parameter><link linkend="gint"><type>gint</type></link> type</parameter>,
                               <parameter>const <link linkend="gchar"><type>gchar</type></link> *filter</parameter>);</programlisting>
<para>Add a filter for specified file type in a <link linkend="GtkFileList"><type>GtkFileList</type></link> structure.</para>
<refsect3 id="gtk-file-list-add-type-filter.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>file_list</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkFileList"><type>GtkFileList</type></link> widget.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>type</para></entry>
<entry role="parameter_description"><para>file type.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>filter</para></entry>
<entry role="parameter_description"><para>filter for specified type.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkFileList.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkFileList-struct" role="struct">
<title>struct GtkFileList</title>
<indexterm zone="GtkFileList-struct"><primary>GtkFileList</primary></indexterm>
<programlisting language="C">struct GtkFileList;</programlisting>
<para>The GtkFileList structure contains only private data.
It should only be accessed through the functions described below.</para>
</refsect2>
<refsect2 id="GtkFileListItem" role="struct">
<title>struct GtkFileListItem</title>
<indexterm zone="GtkFileListItem"><primary>GtkFileListItem</primary></indexterm>
<programlisting language="C">struct GtkFileListItem {
};
</programlisting>
<para>The GtkFileListItem structure contains only private data.
It should only be accessed through the functions described below.</para>
</refsect2>
<refsect2 id="GtkFileListType" role="struct">
<title>struct GtkFileListType</title>
<indexterm zone="GtkFileListType"><primary>GtkFileListType</primary></indexterm>
<programlisting language="C">struct GtkFileListType {
};
</programlisting>
<para>The GtkFileListType structure contains only private data.
It should only be accessed through the functions described below.</para>
</refsect2>

</refsect1>

</refentry>