-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fusebox-1.gir
493 lines (493 loc) · 22.1 KB
/
fusebox-1.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
<?xml version="1.0"?>
<!-- fusebox-1.gir generated by valadoc, do not modify. -->
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>
<include name="Gtk" version="4.0"/>
<include name="Gio" version="2.0"/>
<package name="fusebox-1"/>
<c:include name="fusebox-1.h"/>
<namespace name="fusebox" version="1" c:prefix="Fusebox" c:identifier-prefixes="Fusebox" c:symbol-prefixes="fusebox" shared-library="fusebox-1.so.1">
<class name="FusesManager" c:type="FuseboxFusesManager" c:symbol-prefix="fuses_manager" glib:type-name="FuseboxFusesManager" glib:get-type="fusebox_fuses_manager_get_type" glib:type-struct="FusesManagerClass" parent="GObject.Object">
<field name="parent_instance" readable="0" private="1">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="FusesManagerPrivate" c:type="FuseboxFusesManagerPrivate*"/>
</field>
<function name="get_default" c:identifier="fusebox_fuses_manager_get_default">
<return-value transfer-ownership="full">
<type name="fusebox.FusesManager" c:type="FuseboxFusesManager*"/>
</return-value>
</function>
<method name="has_fuses" c:identifier="fusebox_fuses_manager_has_fuses">
<return-value transfer-ownership="full">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.FusesManager" c:type="FuseboxFusesManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_fuses" c:identifier="fusebox_fuses_manager_get_fuses">
<return-value transfer-ownership="none">
<type name="GLib.List" c:type="GList*">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.FusesManager" c:type="FuseboxFusesManager*"/>
</instance-parameter>
</parameters>
</method>
<glib:signal name="fuse-added">
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="fuse" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="FusesManagerClass" c:type="FuseboxFusesManagerClass" glib:is-gtype-struct-for="FusesManager">
<field name="parent_class" readable="0" private="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="FusesManagerPrivate" c:type="FuseboxFusesManagerPrivate" disguised="1"/>
<class name="Fuse" c:type="FuseboxFuse" c:symbol-prefix="fuse" glib:type-name="FuseboxFuse" glib:get-type="fusebox_fuse_get_type" glib:type-struct="FuseClass" parent="GObject.Object" abstract="1">
<field name="parent_instance" readable="0" private="1">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="FusePrivate" c:type="FuseboxFusePrivate*"/>
</field>
<field name="SEP" writable="1">
<doc xml:whitespace="preserve"><para>The common used separator.</para></doc>
<type name="utf8" c:type="gchar*"/>
</field>
<method name="get_widget" c:identifier="fusebox_fuse_get_widget">
<doc xml:whitespace="preserve"><para>Returns the widget that contain the whole interface.</para></doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve"><para>a <type>GtkWidget</type> containing the interface. </para></doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<virtual-method name="get_widget" invoker="get_widget">
<doc xml:whitespace="preserve"><para>Returns the widget that contain the whole interface.</para></doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve"><para>a <type>GtkWidget</type> containing the interface. </para></doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="shown" c:identifier="fusebox_fuse_shown">
<doc xml:whitespace="preserve"><para>Called when the Fuse appears to the user.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<virtual-method name="shown" invoker="shown">
<doc xml:whitespace="preserve"><para>Called when the Fuse appears to the user.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="hidden" c:identifier="fusebox_fuse_hidden">
<doc xml:whitespace="preserve"><para>Called when the Fuse disappear to the user.</para>
<para>This is not called when the Fuse got destroyed or the window is closed, use ~Fuse &lpar;&rpar; instead.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<virtual-method name="hidden" invoker="hidden">
<doc xml:whitespace="preserve"><para>Called when the Fuse disappear to the user.</para>
<para>This is not called when the Fuse got destroyed or the window is closed, use ~Fuse &lpar;&rpar; instead.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="search" c:identifier="fusebox_fuse_search">
<doc xml:whitespace="preserve"><para>This function should return the widget that contain the whole interface.</para>
<para>When the user click on an action, the second parameter is send to the <function>fusebox_fuse_search_callback</function> method</para></doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>GHashTable</type> containing two strings like {&quot;Keyboard → Behavior → Duration&quot;, &quot;keyboard&lt;sep&gt;behavior&quot;}
. </para></doc>
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="search" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represent the search. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="_callback_" transfer-ownership="none" nullable="1" closure="2" scope="async">
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="_callback__target" transfer-ownership="none" nullable="1">
<type name="gpointer" c:type="void*"/>
</parameter>
</parameters>
</method>
<method name="search_finish" c:identifier="fusebox_fuse_search_finish">
<return-value transfer-ownership="full">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8" c:type="gchar*"/>
<type name="utf8" c:type="gchar*"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="_res_" transfer-ownership="none">
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<virtual-method name="search" invoker="search">
<doc xml:whitespace="preserve"><para>This function should return the widget that contain the whole interface.</para>
<para>When the user click on an action, the second parameter is send to the <function>fusebox_fuse_search_callback</function> method</para></doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>GHashTable</type> containing two strings like {&quot;Keyboard → Behavior → Duration&quot;, &quot;keyboard&lt;sep&gt;behavior&quot;}
. </para></doc>
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="search" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represent the search. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="_callback_" transfer-ownership="none" nullable="1" closure="2" scope="async">
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="_callback__target" transfer-ownership="none" nullable="1">
<type name="gpointer" c:type="void*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="search_finish" invoker="search_finish">
<return-value transfer-ownership="full">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8" c:type="gchar*"/>
<type name="utf8" c:type="gchar*"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="_res_" transfer-ownership="none">
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</virtual-method>
<method name="search_callback" c:identifier="fusebox_fuse_search_callback">
<doc xml:whitespace="preserve"><para>This function is used when the user click on a search result, it should show the selected setting &lpar;right tab…&rpar;.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="location" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represents the setting to show. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<virtual-method name="search_callback" invoker="search_callback">
<doc xml:whitespace="preserve"><para>This function is used when the user click on a search result, it should show the selected setting &lpar;right tab…&rpar;.</para></doc>
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="location" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represents the setting to show. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</virtual-method>
<property name="category" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>The category under which the Fuse will be stored.</para>
<para>Possible <type>FuseboxFuseCategory</type> values are PERSONAL, NETWORK or SYSTEM.</para></doc>
<type name="fusebox.FuseCategory" c:type="FuseboxFuseCategory"/>
</property>
<method name="get_category" c:identifier="fusebox_fuse_get_category">
<return-value transfer-ownership="none">
<type name="fusebox.FuseCategory" c:type="FuseboxFuseCategory"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="index" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>The placement index of the fuse; starts at 0.</para></doc>
<type name="gint" c:type="gint"/>
</property>
<method name="get_index" c:identifier="fusebox_fuse_get_index">
<return-value transfer-ownership="none">
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="code-name" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>The unique name representing the Fuse.</para>
<para>It is also used to recognise it with the open-fuse command.</para></doc>
<type name="utf8" c:type="gchar*"/>
</property>
<method name="get_code_name" c:identifier="fusebox_fuse_get_code_name">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="display-name" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>The localised name of the Fuse.</para></doc>
<type name="utf8" c:type="gchar*"/>
</property>
<method name="get_display_name" c:identifier="fusebox_fuse_get_display_name">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="description" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>A short description of the Fuse.</para></doc>
<type name="utf8" c:type="gchar*"/>
</property>
<method name="get_description" c:identifier="fusebox_fuse_get_description">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="icon" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>The icon representing the Fuse.</para></doc>
<type name="utf8" c:type="gchar*"/>
</property>
<method name="get_icon" c:identifier="fusebox_fuse_get_icon">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="supported-settings" writable="1" construct-only="1">
<doc xml:whitespace="preserve"><para>A map of settings:\/\/ endpoints and location to pass to the <function>fusebox_fuse_search_callback</function> method if the value is not
&percnt;NULL. For example {&quot;input/keyboard&quot;, &quot;keyboard&quot;}.</para></doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8" c:type="gchar*"/>
<type name="utf8" c:type="gchar*"/>
</type>
</property>
<method name="get_supported_settings" c:identifier="fusebox_fuse_get_supported_settings">
<return-value transfer-ownership="none">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8" c:type="gchar*"/>
<type name="utf8" c:type="gchar*"/>
</type>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<property name="can-show" writable="1">
<doc xml:whitespace="preserve"><para>Inform if the Fuse should be shown or not</para></doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<method name="get_can_show" c:identifier="fusebox_fuse_get_can_show">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_can_show" c:identifier="fusebox_fuse_set_can_show">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
</class>
<record name="FuseClass" c:type="FuseboxFuseClass" glib:is-gtype-struct-for="Fuse">
<field name="parent_class" readable="0" private="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="get_widget">
<callback name="get_widget" c:type="get_widget">
<return-value transfer-ownership="full">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="shown">
<callback name="shown" c:type="shown">
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="hidden">
<callback name="hidden" c:type="hidden">
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="search">
<callback name="search" c:type="search">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
<parameter name="search" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represent the search. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="_callback_" transfer-ownership="none" nullable="1" closure="3" scope="async">
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="_callback__target" transfer-ownership="none" nullable="1">
<type name="gpointer" c:type="void*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="search_finish">
<callback name="search_finish" c:type="search_finish">
<return-value transfer-ownership="full">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8" c:type="gchar*"/>
<type name="utf8" c:type="gchar*"/>
</type>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
<parameter name="_res_" transfer-ownership="none">
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="search_callback">
<callback name="search_callback" c:type="search_callback">
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="fusebox.Fuse" c:type="FuseboxFuse*"/>
</parameter>
<parameter name="location" transfer-ownership="none">
<doc xml:whitespace="preserve"><para>a <type>gchar</type> that represents the setting to show. </para></doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<record name="FusePrivate" c:type="FuseboxFusePrivate" disguised="1"/>
<enumeration name="FuseCategory" c:type="FuseboxFuseCategory" glib:type-name="FuseboxFuseCategory" glib:get-type="fusebox_fuse_category_get_type">
<member name="network" c:identifier="FUSEBOX_FUSE_CATEGORY_NETWORK" value="0"/>
<member name="personal" c:identifier="FUSEBOX_FUSE_CATEGORY_PERSONAL" value="1"/>
<member name="system" c:identifier="FUSEBOX_FUSE_CATEGORY_SYSTEM" value="2"/>
<member name="custom" c:identifier="FUSEBOX_FUSE_CATEGORY_CUSTOM" value="3"/>
</enumeration>
</namespace>
</repository>