D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / libgnome-menu / libgnome-menu.gi
blob9d726e98ff9888f6c0fc50369cb96eae66508f1f
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="GMenu">
4 <callback name="GMenuTreeChangedFunc">
5 <return-type type="void"/>
6 <parameters>
7 <parameter name="tree" type="GMenuTree*"/>
8 <parameter name="user_data" type="gpointer"/>
9 </parameters>
10 </callback>
11 <struct name="GMenuTree">
12 <method name="add_monitor" symbol="gmenu_tree_add_monitor">
13 <return-type type="void"/>
14 <parameters>
15 <parameter name="tree" type="GMenuTree*"/>
16 <parameter name="callback" type="GMenuTreeChangedFunc"/>
17 <parameter name="user_data" type="gpointer"/>
18 </parameters>
19 </method>
20 <method name="get_directory_from_path" symbol="gmenu_tree_get_directory_from_path">
21 <return-type type="GMenuTreeDirectory*"/>
22 <parameters>
23 <parameter name="tree" type="GMenuTree*"/>
24 <parameter name="path" type="char*"/>
25 </parameters>
26 </method>
27 <method name="get_menu_file" symbol="gmenu_tree_get_menu_file">
28 <return-type type="char*"/>
29 <parameters>
30 <parameter name="tree" type="GMenuTree*"/>
31 </parameters>
32 </method>
33 <method name="get_root_directory" symbol="gmenu_tree_get_root_directory">
34 <return-type type="GMenuTreeDirectory*"/>
35 <parameters>
36 <parameter name="tree" type="GMenuTree*"/>
37 </parameters>
38 </method>
39 <method name="get_sort_key" symbol="gmenu_tree_get_sort_key">
40 <return-type type="GMenuTreeSortKey"/>
41 <parameters>
42 <parameter name="tree" type="GMenuTree*"/>
43 </parameters>
44 </method>
45 <method name="get_user_data" symbol="gmenu_tree_get_user_data">
46 <return-type type="gpointer"/>
47 <parameters>
48 <parameter name="tree" type="GMenuTree*"/>
49 </parameters>
50 </method>
51 <method name="lookup" symbol="gmenu_tree_lookup">
52 <return-type type="GMenuTree*"/>
53 <parameters>
54 <parameter name="menu_file" type="char*"/>
55 <parameter name="flags" type="GMenuTreeFlags"/>
56 </parameters>
57 </method>
58 <method name="ref" symbol="gmenu_tree_ref">
59 <return-type type="GMenuTree*"/>
60 <parameters>
61 <parameter name="tree" type="GMenuTree*"/>
62 </parameters>
63 </method>
64 <method name="remove_monitor" symbol="gmenu_tree_remove_monitor">
65 <return-type type="void"/>
66 <parameters>
67 <parameter name="tree" type="GMenuTree*"/>
68 <parameter name="callback" type="GMenuTreeChangedFunc"/>
69 <parameter name="user_data" type="gpointer"/>
70 </parameters>
71 </method>
72 <method name="set_sort_key" symbol="gmenu_tree_set_sort_key">
73 <return-type type="void"/>
74 <parameters>
75 <parameter name="tree" type="GMenuTree*"/>
76 <parameter name="sort_key" type="GMenuTreeSortKey"/>
77 </parameters>
78 </method>
79 <method name="set_user_data" symbol="gmenu_tree_set_user_data">
80 <return-type type="void"/>
81 <parameters>
82 <parameter name="tree" type="GMenuTree*"/>
83 <parameter name="user_data" type="gpointer"/>
84 <parameter name="dnotify" type="GDestroyNotify"/>
85 </parameters>
86 </method>
87 <method name="unref" symbol="gmenu_tree_unref">
88 <return-type type="void"/>
89 <parameters>
90 <parameter name="tree" type="GMenuTree*"/>
91 </parameters>
92 </method>
93 </struct>
94 <struct name="GMenuTreeAlias">
95 <method name="get_directory" symbol="gmenu_tree_alias_get_directory">
96 <return-type type="GMenuTreeDirectory*"/>
97 <parameters>
98 <parameter name="alias" type="GMenuTreeAlias*"/>
99 </parameters>
100 </method>
101 <method name="get_item" symbol="gmenu_tree_alias_get_item">
102 <return-type type="GMenuTreeItem*"/>
103 <parameters>
104 <parameter name="alias" type="GMenuTreeAlias*"/>
105 </parameters>
106 </method>
107 </struct>
108 <struct name="GMenuTreeDirectory">
109 <method name="get_comment" symbol="gmenu_tree_directory_get_comment">
110 <return-type type="char*"/>
111 <parameters>
112 <parameter name="directory" type="GMenuTreeDirectory*"/>
113 </parameters>
114 </method>
115 <method name="get_contents" symbol="gmenu_tree_directory_get_contents">
116 <return-type type="GSList*"/>
117 <parameters>
118 <parameter name="directory" type="GMenuTreeDirectory*"/>
119 </parameters>
120 </method>
121 <method name="get_desktop_file_path" symbol="gmenu_tree_directory_get_desktop_file_path">
122 <return-type type="char*"/>
123 <parameters>
124 <parameter name="directory" type="GMenuTreeDirectory*"/>
125 </parameters>
126 </method>
127 <method name="get_icon" symbol="gmenu_tree_directory_get_icon">
128 <return-type type="char*"/>
129 <parameters>
130 <parameter name="directory" type="GMenuTreeDirectory*"/>
131 </parameters>
132 </method>
133 <method name="get_is_nodisplay" symbol="gmenu_tree_directory_get_is_nodisplay">
134 <return-type type="gboolean"/>
135 <parameters>
136 <parameter name="directory" type="GMenuTreeDirectory*"/>
137 </parameters>
138 </method>
139 <method name="get_menu_id" symbol="gmenu_tree_directory_get_menu_id">
140 <return-type type="char*"/>
141 <parameters>
142 <parameter name="directory" type="GMenuTreeDirectory*"/>
143 </parameters>
144 </method>
145 <method name="get_name" symbol="gmenu_tree_directory_get_name">
146 <return-type type="char*"/>
147 <parameters>
148 <parameter name="directory" type="GMenuTreeDirectory*"/>
149 </parameters>
150 </method>
151 <method name="get_tree" symbol="gmenu_tree_directory_get_tree">
152 <return-type type="GMenuTree*"/>
153 <parameters>
154 <parameter name="directory" type="GMenuTreeDirectory*"/>
155 </parameters>
156 </method>
157 <method name="make_path" symbol="gmenu_tree_directory_make_path">
158 <return-type type="char*"/>
159 <parameters>
160 <parameter name="directory" type="GMenuTreeDirectory*"/>
161 <parameter name="entry" type="GMenuTreeEntry*"/>
162 </parameters>
163 </method>
164 </struct>
165 <struct name="GMenuTreeEntry">
166 <method name="get_comment" symbol="gmenu_tree_entry_get_comment">
167 <return-type type="char*"/>
168 <parameters>
169 <parameter name="entry" type="GMenuTreeEntry*"/>
170 </parameters>
171 </method>
172 <method name="get_desktop_file_id" symbol="gmenu_tree_entry_get_desktop_file_id">
173 <return-type type="char*"/>
174 <parameters>
175 <parameter name="entry" type="GMenuTreeEntry*"/>
176 </parameters>
177 </method>
178 <method name="get_desktop_file_path" symbol="gmenu_tree_entry_get_desktop_file_path">
179 <return-type type="char*"/>
180 <parameters>
181 <parameter name="entry" type="GMenuTreeEntry*"/>
182 </parameters>
183 </method>
184 <method name="get_display_name" symbol="gmenu_tree_entry_get_display_name">
185 <return-type type="char*"/>
186 <parameters>
187 <parameter name="entry" type="GMenuTreeEntry*"/>
188 </parameters>
189 </method>
190 <method name="get_exec" symbol="gmenu_tree_entry_get_exec">
191 <return-type type="char*"/>
192 <parameters>
193 <parameter name="entry" type="GMenuTreeEntry*"/>
194 </parameters>
195 </method>
196 <method name="get_generic_name" symbol="gmenu_tree_entry_get_generic_name">
197 <return-type type="char*"/>
198 <parameters>
199 <parameter name="entry" type="GMenuTreeEntry*"/>
200 </parameters>
201 </method>
202 <method name="get_icon" symbol="gmenu_tree_entry_get_icon">
203 <return-type type="char*"/>
204 <parameters>
205 <parameter name="entry" type="GMenuTreeEntry*"/>
206 </parameters>
207 </method>
208 <method name="get_is_excluded" symbol="gmenu_tree_entry_get_is_excluded">
209 <return-type type="gboolean"/>
210 <parameters>
211 <parameter name="entry" type="GMenuTreeEntry*"/>
212 </parameters>
213 </method>
214 <method name="get_is_nodisplay" symbol="gmenu_tree_entry_get_is_nodisplay">
215 <return-type type="gboolean"/>
216 <parameters>
217 <parameter name="entry" type="GMenuTreeEntry*"/>
218 </parameters>
219 </method>
220 <method name="get_launch_in_terminal" symbol="gmenu_tree_entry_get_launch_in_terminal">
221 <return-type type="gboolean"/>
222 <parameters>
223 <parameter name="entry" type="GMenuTreeEntry*"/>
224 </parameters>
225 </method>
226 <method name="get_name" symbol="gmenu_tree_entry_get_name">
227 <return-type type="char*"/>
228 <parameters>
229 <parameter name="entry" type="GMenuTreeEntry*"/>
230 </parameters>
231 </method>
232 </struct>
233 <struct name="GMenuTreeHeader">
234 <method name="get_directory" symbol="gmenu_tree_header_get_directory">
235 <return-type type="GMenuTreeDirectory*"/>
236 <parameters>
237 <parameter name="header" type="GMenuTreeHeader*"/>
238 </parameters>
239 </method>
240 </struct>
241 <struct name="GMenuTreeItem">
242 <method name="get_parent" symbol="gmenu_tree_item_get_parent">
243 <return-type type="GMenuTreeDirectory*"/>
244 <parameters>
245 <parameter name="item" type="GMenuTreeItem*"/>
246 </parameters>
247 </method>
248 <method name="get_user_data" symbol="gmenu_tree_item_get_user_data">
249 <return-type type="gpointer"/>
250 <parameters>
251 <parameter name="item" type="GMenuTreeItem*"/>
252 </parameters>
253 </method>
254 <method name="ref" symbol="gmenu_tree_item_ref">
255 <return-type type="gpointer"/>
256 <parameters>
257 <parameter name="item" type="gpointer"/>
258 </parameters>
259 </method>
260 <method name="set_user_data" symbol="gmenu_tree_item_set_user_data">
261 <return-type type="void"/>
262 <parameters>
263 <parameter name="item" type="GMenuTreeItem*"/>
264 <parameter name="user_data" type="gpointer"/>
265 <parameter name="dnotify" type="GDestroyNotify"/>
266 </parameters>
267 </method>
268 <method name="unref" symbol="gmenu_tree_item_unref">
269 <return-type type="void"/>
270 <parameters>
271 <parameter name="item" type="gpointer"/>
272 </parameters>
273 </method>
274 </struct>
275 <struct name="GMenuTreeSeparator">
276 </struct>
277 <enum name="GMenuTreeFlags">
278 <member name="GMENU_TREE_FLAGS_NONE" value="0"/>
279 <member name="GMENU_TREE_FLAGS_INCLUDE_EXCLUDED" value="1"/>
280 <member name="GMENU_TREE_FLAGS_SHOW_EMPTY" value="2"/>
281 <member name="GMENU_TREE_FLAGS_INCLUDE_NODISPLAY" value="4"/>
282 <member name="GMENU_TREE_FLAGS_SHOW_ALL_SEPARATORS" value="8"/>
283 <member name="GMENU_TREE_FLAGS_MASK" value="15"/>
284 </enum>
285 <enum name="GMenuTreeItemType">
286 <member name="GMENU_TREE_ITEM_INVALID" value="0"/>
287 <member name="GMENU_TREE_ITEM_DIRECTORY" value="1"/>
288 <member name="GMENU_TREE_ITEM_ENTRY" value="2"/>
289 <member name="GMENU_TREE_ITEM_SEPARATOR" value="3"/>
290 <member name="GMENU_TREE_ITEM_HEADER" value="4"/>
291 <member name="GMENU_TREE_ITEM_ALIAS" value="5"/>
292 </enum>
293 <enum name="GMenuTreeSortKey">
294 <member name="GMENU_TREE_SORT_NAME" value="0"/>
295 <member name="GMENU_TREE_SORT_DISPLAY_NAME" value="1"/>
296 </enum>
297 </namespace>
298 </api>