<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="gtkextra-GtkFileList">
<refmeta>
<refentrytitle role="top_of_page" id="gtkextra-GtkFileList.top_of_page">GtkFileList</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTKEXTRA Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkFileList</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="gtkextra-GtkFileList.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;gtkextra.h&gt;

                    <link linkend="GtkFileListItem">GtkFileListItem</link>;
                    <link linkend="GtkFileListType">GtkFileListType</link>;
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gtk-file-list-new">gtk_file_list_new</link>                   (<link linkend="guint">guint</link> icon_width,
                                                         <link linkend="gint">gint</link> mode,
                                                         const <link linkend="gchar">gchar</link> *path);
<link linkend="void">void</link>                <link linkend="gtk-file-list-construct">gtk_file_list_construct</link>             (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="guint">guint</link> icon_width,
                                                         <link linkend="gint">gint</link> mode,
                                                         const <link linkend="gchar">gchar</link> *path);
<link linkend="void">void</link>                <link linkend="gtk-file-list-set-filter">gtk_file_list_set_filter</link>            (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> *filter);
<link linkend="gboolean">gboolean</link>            <link linkend="gtk-file-list-open-dir">gtk_file_list_open_dir</link>              (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> *path);
const <link linkend="gchar">gchar</link>*        <link linkend="gtk-file-list-get-path">gtk_file_list_get_path</link>              (<link linkend="GtkFileList">GtkFileList</link> *file_list);
const <link linkend="gchar">gchar</link>*        <link linkend="gtk-file-list-get-filename">gtk_file_list_get_filename</link>          (<link linkend="GtkFileList">GtkFileList</link> *file_list);
<link linkend="gint">gint</link>                <link linkend="gtk-file-list-get-filetype">gtk_file_list_get_filetype</link>          (<link linkend="GtkFileList">GtkFileList</link> *file_list);
<link linkend="gint">gint</link>                <link linkend="gtk-file-list-add-type">gtk_file_list_add_type</link>              (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> **pixmap_data);
<link linkend="gint">gint</link>                <link linkend="gtk-file-list-add-type-with-pixmap">gtk_file_list_add_type_with_pixmap</link>  (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="GdkPixmap">GdkPixmap</link> *pixmap,
                                                         <link linkend="GdkBitmap">GdkBitmap</link> *mask);
<link linkend="void">void</link>                <link linkend="gtk-file-list-add-type-filter">gtk_file_list_add_type_filter</link>       (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="gint">gint</link> type,
                                                         const <link linkend="gchar">gchar</link> *filter);
</synopsis>
</refsynopsisdiv>









<refsect1 id="gtkextra-GtkFileList.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="gtkextra-GtkFileList.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GtkFileListItem" role="struct">
<title>GtkFileListItem</title>
<indexterm zone="GtkFileListItem"><primary sortas="GtkFileListItem">GtkFileListItem</primary></indexterm><programlisting>typedef struct {
  gchar *file_name;
  gint type;
  gint is_dir;
  gint is_link;
} GtkFileListItem;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="GtkFileListType" role="struct">
<title>GtkFileListType</title>
<indexterm zone="GtkFileListType"><primary sortas="GtkFileListType">GtkFileListType</primary></indexterm><programlisting>typedef struct {
  gchar *extension;
  gint type;
} GtkFileListType;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="gtk-file-list-new" role="function">
<title>gtk_file_list_new ()</title>
<indexterm zone="gtk-file-list-new"><primary sortas="gtk_file_list_new">gtk_file_list_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gtk_file_list_new                   (<link linkend="guint">guint</link> icon_width,
                                                         <link linkend="gint">gint</link> mode,
                                                         const <link linkend="gchar">gchar</link> *path);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>icon_width</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mode</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-construct" role="function">
<title>gtk_file_list_construct ()</title>
<indexterm zone="gtk-file-list-construct"><primary sortas="gtk_file_list_construct">gtk_file_list_construct</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_file_list_construct             (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="guint">guint</link> icon_width,
                                                         <link linkend="gint">gint</link> mode,
                                                         const <link linkend="gchar">gchar</link> *path);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>icon_width</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mode</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-set-filter" role="function">
<title>gtk_file_list_set_filter ()</title>
<indexterm zone="gtk-file-list-set-filter"><primary sortas="gtk_file_list_set_filter">gtk_file_list_set_filter</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_file_list_set_filter            (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> *filter);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filter</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-open-dir" role="function">
<title>gtk_file_list_open_dir ()</title>
<indexterm zone="gtk-file-list-open-dir"><primary sortas="gtk_file_list_open_dir">gtk_file_list_open_dir</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gtk_file_list_open_dir              (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> *path);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-get-path" role="function">
<title>gtk_file_list_get_path ()</title>
<indexterm zone="gtk-file-list-get-path"><primary sortas="gtk_file_list_get_path">gtk_file_list_get_path</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>*        gtk_file_list_get_path              (<link linkend="GtkFileList">GtkFileList</link> *file_list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-get-filename" role="function">
<title>gtk_file_list_get_filename ()</title>
<indexterm zone="gtk-file-list-get-filename"><primary sortas="gtk_file_list_get_filename">gtk_file_list_get_filename</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>*        gtk_file_list_get_filename          (<link linkend="GtkFileList">GtkFileList</link> *file_list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-get-filetype" role="function">
<title>gtk_file_list_get_filetype ()</title>
<indexterm zone="gtk-file-list-get-filetype"><primary sortas="gtk_file_list_get_filetype">gtk_file_list_get_filetype</primary></indexterm><programlisting><link linkend="gint">gint</link>                gtk_file_list_get_filetype          (<link linkend="GtkFileList">GtkFileList</link> *file_list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-add-type" role="function">
<title>gtk_file_list_add_type ()</title>
<indexterm zone="gtk-file-list-add-type"><primary sortas="gtk_file_list_add_type">gtk_file_list_add_type</primary></indexterm><programlisting><link linkend="gint">gint</link>                gtk_file_list_add_type              (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         const <link linkend="gchar">gchar</link> **pixmap_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixmap_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-add-type-with-pixmap" role="function">
<title>gtk_file_list_add_type_with_pixmap ()</title>
<indexterm zone="gtk-file-list-add-type-with-pixmap"><primary sortas="gtk_file_list_add_type_with_pixmap">gtk_file_list_add_type_with_pixmap</primary></indexterm><programlisting><link linkend="gint">gint</link>                gtk_file_list_add_type_with_pixmap  (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="GdkPixmap">GdkPixmap</link> *pixmap,
                                                         <link linkend="GdkBitmap">GdkBitmap</link> *mask);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixmap</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mask</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gtk-file-list-add-type-filter" role="function">
<title>gtk_file_list_add_type_filter ()</title>
<indexterm zone="gtk-file-list-add-type-filter"><primary sortas="gtk_file_list_add_type_filter">gtk_file_list_add_type_filter</primary></indexterm><programlisting><link linkend="void">void</link>                gtk_file_list_add_type_filter       (<link linkend="GtkFileList">GtkFileList</link> *file_list,
                                                         <link linkend="gint">gint</link> type,
                                                         const <link linkend="gchar">gchar</link> *filter);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>file_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>type</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filter</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
