]> Pileus Git - ~andy/gtk/blob - gtk/gactionmuxer.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gactionmuxer.h
1 /*
2  * Copyright © 2011 Canonical Limited
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the licence, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  *
17  * Author: Ryan Lortie <desrt@desrt.ca>
18  */
19
20 #ifndef __G_ACTION_MUXER_H__
21 #define __G_ACTION_MUXER_H__
22
23 #include <gio/gio.h>
24
25 G_BEGIN_DECLS
26
27 #define G_TYPE_ACTION_MUXER                                 (g_action_muxer_get_type ())
28 #define G_ACTION_MUXER(inst)                                (G_TYPE_CHECK_INSTANCE_CAST ((inst),                     \
29                                                              G_TYPE_ACTION_MUXER, GActionMuxer))
30 #define G_IS_ACTION_MUXER(inst)                             (G_TYPE_CHECK_INSTANCE_TYPE ((inst),                     \
31                                                              G_TYPE_ACTION_MUXER))
32
33 typedef struct _GActionMuxer                                GActionMuxer;
34
35 G_GNUC_INTERNAL
36 GType                   g_action_muxer_get_type                         (void);
37 G_GNUC_INTERNAL
38 GActionMuxer *          g_action_muxer_new                              (void);
39
40 G_GNUC_INTERNAL
41 void                    g_action_muxer_insert                           (GActionMuxer *muxer,
42                                                                          const gchar  *prefix,
43                                                                          GActionGroup *group);
44
45 G_GNUC_INTERNAL
46 void                    g_action_muxer_remove                           (GActionMuxer *muxer,
47                                                                          const gchar  *prefix);
48
49 G_GNUC_INTERNAL
50 GActionMuxer *          g_action_muxer_get_parent                       (GActionMuxer *muxer);
51
52 G_GNUC_INTERNAL
53 void                    g_action_muxer_set_parent                       (GActionMuxer *muxer,
54                                                                          GActionMuxer *parent);
55
56 G_END_DECLS
57
58 #endif /* __G_ACTION_MUXER_H__ */