]> Pileus Git - ~andy/gtk/blob - gtk/gtkfilechooserutils.h
Handle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
[~andy/gtk] / gtk / gtkfilechooserutils.h
1 /* GTK - The GIMP Toolkit
2  * gtkfilechooserutils.h: Private utility functions useful for
3  *                        implementing a GtkFileChooser interface
4  * Copyright (C) 2003, Red Hat, Inc.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef __GTK_FILE_CHOOSER_UTILS_H__
23 #define __GTK_FILE_CHOOSER_UTILS_H__
24
25 #include "gtkfilechooserprivate.h"
26
27 G_BEGIN_DECLS
28
29 typedef enum {
30   GTK_FILE_CHOOSER_PROP_FIRST                  = 0x1000,
31   GTK_FILE_CHOOSER_PROP_ACTION                 = GTK_FILE_CHOOSER_PROP_FIRST,
32   GTK_FILE_CHOOSER_PROP_FILE_SYSTEM_BACKEND,
33   GTK_FILE_CHOOSER_PROP_FILTER,
34   GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
35   GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET, 
36   GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
37   GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
38   GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
39   GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
40   GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
41   GTK_FILE_CHOOSER_PROP_LAST                   = GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
42 } GtkFileChooserProp;
43
44 void _gtk_file_chooser_install_properties (GObjectClass *klass);
45
46 void _gtk_file_chooser_delegate_iface_init (GtkFileChooserIface *iface);
47 void _gtk_file_chooser_set_delegate        (GtkFileChooser *receiver,
48                                             GtkFileChooser *delegate);
49
50 G_END_DECLS
51
52 #endif /* __GTK_FILE_CHOOSER_UTILS_H__ */