1 | /* |
2 | * Copyright © 2011, 2013 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 __GTK_MENU_TRACKER_ITEM_PRIVATE_H__ |
21 | #define |
22 | |
23 | #include "gtkactionobservableprivate.h" |
24 | |
25 | #define (gtk_menu_tracker_item_get_type ()) |
26 | #define (inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ |
27 | GTK_TYPE_MENU_TRACKER_ITEM, GtkMenuTrackerItem)) |
28 | #define (inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ |
29 | GTK_TYPE_MENU_TRACKER_ITEM)) |
30 | |
31 | typedef struct ; |
32 | |
33 | #define (gtk_menu_tracker_item_role_get_type ()) |
34 | |
35 | typedef enum { |
36 | , |
37 | , |
38 | , |
39 | } ; |
40 | |
41 | GType (void) G_GNUC_CONST; |
42 | |
43 | GType (void) G_GNUC_CONST; |
44 | |
45 | GtkMenuTrackerItem * (GtkActionObservable *observable, |
46 | GMenuModel *model, |
47 | int item_index, |
48 | gboolean mac_os_mode, |
49 | const char *action_namespace, |
50 | gboolean is_separator); |
51 | |
52 | const char * (GtkMenuTrackerItem *self); |
53 | |
54 | const char * (GtkMenuTrackerItem *self); |
55 | |
56 | const char * (GtkMenuTrackerItem *self); |
57 | |
58 | const char * (GtkMenuTrackerItem *self); |
59 | |
60 | GtkActionObservable * (GtkMenuTrackerItem *self); |
61 | |
62 | gboolean (GtkMenuTrackerItem *self); |
63 | |
64 | gboolean (GtkMenuTrackerItem *self, |
65 | const char *link_name); |
66 | |
67 | const char * (GtkMenuTrackerItem *self); |
68 | |
69 | gboolean (GtkMenuTrackerItem *self); |
70 | |
71 | GIcon * (GtkMenuTrackerItem *self); |
72 | |
73 | GIcon * (GtkMenuTrackerItem *self); |
74 | |
75 | gboolean (GtkMenuTrackerItem *self); |
76 | |
77 | GtkMenuTrackerItemRole (GtkMenuTrackerItem *self); |
78 | |
79 | gboolean (GtkMenuTrackerItem *self); |
80 | |
81 | const char * (GtkMenuTrackerItem *self); |
82 | |
83 | GMenuModel * (GtkMenuTrackerItem *self, |
84 | const char *link_name); |
85 | |
86 | char * (GtkMenuTrackerItem *self); |
87 | |
88 | gboolean (GtkMenuTrackerItem *self); |
89 | |
90 | gboolean (GtkMenuTrackerItem *self); |
91 | |
92 | gboolean (GtkMenuTrackerItem *self); |
93 | |
94 | void (GtkMenuTrackerItem *self); |
95 | |
96 | void (GtkMenuTrackerItem *self, |
97 | gboolean shown); |
98 | |
99 | gboolean (GtkMenuTrackerItem *self); |
100 | |
101 | #endif |
102 | |