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.
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.
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.
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.
22 #ifndef __GTK_FILE_CHOOSER_UTILS_H__
23 #define __GTK_FILE_CHOOSER_UTILS_H__
25 #include "gtkfilechooserprivate.h"
29 #define GTK_FILE_CHOOSER_DELEGATE_QUARK (_gtk_file_chooser_delegate_get_quark ())
32 GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
33 GTK_FILE_CHOOSER_PROP_ACTION = GTK_FILE_CHOOSER_PROP_FIRST,
34 GTK_FILE_CHOOSER_PROP_FILTER,
35 GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
36 GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
37 GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
38 GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
39 GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
40 GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
41 GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
42 GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
43 GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS,
44 GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS
47 void _gtk_file_chooser_install_properties (GObjectClass *klass);
49 void _gtk_file_chooser_delegate_iface_init (GtkFileChooserIface *iface);
50 void _gtk_file_chooser_set_delegate (GtkFileChooser *receiver,
51 GtkFileChooser *delegate);
53 GQuark _gtk_file_chooser_delegate_get_quark (void) G_GNUC_CONST;
57 #endif /* __GTK_FILE_CHOOSER_UTILS_H__ */