]> Pileus Git - ~andy/gtk/blob - gtk/gtkrecentchooserutils.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkrecentchooserutils.h
1 /* gtkrecentchooserutils.h - Private utility functions for implementing a
2  *                           GtkRecentChooser interface
3  *
4  * Copyright (C) 2006 Emmanuele Bassi
5  *
6  * All rights reserved
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20  *
21  * Based on gtkfilechooserutils.h:
22  *      Copyright (C) 2003 Red Hat, Inc.
23  */
24  
25 #ifndef __GTK_RECENT_CHOOSER_UTILS_H__
26 #define __GTK_RECENT_CHOOSER_UTILS_H__
27
28 #include "gtkrecentchooserprivate.h"
29
30 G_BEGIN_DECLS
31
32
33 #define GTK_RECENT_CHOOSER_DELEGATE_QUARK       (_gtk_recent_chooser_delegate_get_quark ())
34
35 typedef enum {
36   GTK_RECENT_CHOOSER_PROP_FIRST           = 0x3000,
37   GTK_RECENT_CHOOSER_PROP_RECENT_MANAGER,
38   GTK_RECENT_CHOOSER_PROP_SHOW_PRIVATE,
39   GTK_RECENT_CHOOSER_PROP_SHOW_NOT_FOUND,
40   GTK_RECENT_CHOOSER_PROP_SHOW_TIPS,
41   GTK_RECENT_CHOOSER_PROP_SHOW_ICONS,
42   GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE,
43   GTK_RECENT_CHOOSER_PROP_LIMIT,
44   GTK_RECENT_CHOOSER_PROP_LOCAL_ONLY,
45   GTK_RECENT_CHOOSER_PROP_SORT_TYPE,
46   GTK_RECENT_CHOOSER_PROP_FILTER,
47   GTK_RECENT_CHOOSER_PROP_LAST
48 } GtkRecentChooserProp;
49
50 void   _gtk_recent_chooser_install_properties  (GObjectClass          *klass);
51
52 void   _gtk_recent_chooser_delegate_iface_init (GtkRecentChooserIface *iface);
53 void   _gtk_recent_chooser_set_delegate        (GtkRecentChooser      *receiver,
54                                                 GtkRecentChooser      *delegate);
55
56 GQuark _gtk_recent_chooser_delegate_get_quark  (void) G_GNUC_CONST;
57
58 G_END_DECLS
59
60 #endif /* __GTK_RECENT_CHOOSER_UTILS_H__ */