]> Pileus Git - ~andy/gtk/blob - gtk/gtkrecentchooserprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkrecentchooserprivate.h
1 /* gtkrecentprivatechooser.h - Interface definitions for recent selectors UI
2  *
3  * Copyright (C) 2006 Emmanuele Bassi
4  *
5  * All rights reserved
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __GTK_RECENT_CHOOSER_PRIVATE_H__
22 #define __GTK_RECENT_CHOOSER_PRIVATE_H__
23
24 #include "gtkrecentmanager.h"
25 #include "gtkrecentchooser.h"
26 #include "gtkactivatable.h"
27
28 G_BEGIN_DECLS
29
30 GtkRecentManager *_gtk_recent_chooser_get_recent_manager     (GtkRecentChooser  *chooser);
31 GList *           _gtk_recent_chooser_get_items              (GtkRecentChooser  *chooser,
32                                                               GtkRecentFilter   *filter,
33                                                               GtkRecentSortFunc  func,
34                                                               gpointer           data);
35
36 void              _gtk_recent_chooser_item_activated         (GtkRecentChooser  *chooser);
37 void              _gtk_recent_chooser_selection_changed      (GtkRecentChooser  *chooser);
38
39 void              _gtk_recent_chooser_update                 (GtkActivatable       *activatable,
40                                                               GtkAction            *action,
41                                                               const gchar          *property_name);
42 void              _gtk_recent_chooser_sync_action_properties (GtkActivatable       *activatable,
43                                                               GtkAction            *action);
44 void              _gtk_recent_chooser_set_related_action     (GtkRecentChooser     *recent_chooser, 
45                                                               GtkAction            *action);
46 GtkAction        *_gtk_recent_chooser_get_related_action     (GtkRecentChooser     *recent_chooser);
47 void              _gtk_recent_chooser_set_use_action_appearance (GtkRecentChooser  *recent_chooser, 
48                                                                  gboolean           use_appearance);
49 gboolean          _gtk_recent_chooser_get_use_action_appearance (GtkRecentChooser  *recent_chooser);
50
51 G_END_DECLS
52
53 #endif /* ! __GTK_RECENT_CHOOSER_PRIVATE_H__ */