2
<!-- This file was automatically generated from C sources - DO NOT EDIT!
3
To affect the contents of this file, edit the original C definitions,
4
and/or use gtk-doc annotations. -->
5
<repository version="1.2"
6
xmlns="http://www.gtk.org/introspection/core/1.0"
7
xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
<include name="GLib" version="2.0"/>
10
<include name="GObject" version="2.0"/>
11
<include name="Gio" version="2.0"/>
12
<package name="unity-webapps-0.2"/>
13
<c:include name="src/../unity-webapps-gen-context.h"/>
14
<c:include name="src/../unity-webapps-gen-indicator.h"/>
15
<c:include name="src/../unity-webapps-gen-launcher.h"/>
16
<c:include name="src/../unity-webapps-gen-music-player.h"/>
17
<c:include name="src/../unity-webapps-gen-notification.h"/>
18
<c:include name="src/../unity-webapps-gen-service.h"/>
19
<c:include name="src/unity-webapps-context.h"/>
20
<c:include name="src/unity-webapps-dbus-defs.h"/>
21
<c:include name="src/unity-webapps-dbus-util.h"/>
22
<c:include name="src/unity-webapps-indicator-context.h"/>
23
<c:include name="src/unity-webapps-launcher-context.h"/>
24
<c:include name="src/unity-webapps-music-player-context.h"/>
25
<c:include name="src/unity-webapps-notification-context.h"/>
26
<c:include name="src/unity-webapps-permissions.h"/>
27
<c:include name="src/unity-webapps-rate.h"/>
28
<c:include name="src/unity-webapps-sanitizer.h"/>
29
<c:include name="src/unity-webapps-script-repo.h"/>
30
<c:include name="src/unity-webapps-scripts.h"/>
31
<c:include name="src/unity-webapps-service.h"/>
32
<namespace name="UnityWebapps"
34
shared-library="libunity_webapps.so.0"
35
c:identifier-prefixes="UnityWebapps"
36
c:symbol-prefixes="unity_webapps">
37
<record name="ApplicationActionDesc"
38
c:type="UnityWebappsApplicationActionDesc">
39
<field name="path" writable="1">
40
<type name="utf8" c:type="const gchar*"/>
42
<field name="callback" writable="1">
43
<type name="ContextActionCallback"
44
c:type="UnityWebappsContextActionCallback"/>
46
<field name="user_data" writable="1">
47
<type name="gpointer" c:type="gpointer"/>
50
<constant name="CONTEXT_IFACE"
51
value="com.canonical.Unity.Webapps.Context"
52
c:type="UNITY_WEBAPPS_CONTEXT_IFACE">
53
<type name="utf8" c:type="gchar*"/>
55
<constant name="CONTEXT_MENU_PATH"
56
value="/com/canonical/Unity/Webapps/Context/ApplicationActions"
57
c:type="UNITY_WEBAPPS_CONTEXT_MENU_PATH">
58
<type name="utf8" c:type="gchar*"/>
60
<constant name="CONTEXT_PATH"
61
value="/com/canonical/Unity/Webapps/Context"
62
c:type="UNITY_WEBAPPS_CONTEXT_PATH">
63
<type name="utf8" c:type="gchar*"/>
66
c:symbol-prefix="context"
67
c:type="UnityWebappsContext"
68
parent="GObject.Object"
69
glib:type-name="UnityWebappsContext"
70
glib:get-type="unity_webapps_context_get_type"
71
glib:type-struct="ContextClass">
72
<implements name="Gio.AsyncInitable"/>
73
<implements name="Gio.Initable"/>
74
<constructor name="new_for_context_name"
75
c:identifier="unity_webapps_context_new_for_context_name">
76
<return-value transfer-ownership="full">
77
<type name="Context" c:type="UnityWebappsContext*"/>
80
<parameter name="service" transfer-ownership="none">
81
<type name="Service" c:type="UnityWebappsService*"/>
83
<parameter name="context_name" transfer-ownership="none">
84
<type name="utf8" c:type="const gchar*"/>
88
<constructor name="new_lazy"
89
c:identifier="unity_webapps_context_new_lazy">
90
<return-value transfer-ownership="full">
91
<type name="Context" c:type="UnityWebappsContext*"/>
94
<parameter name="service" transfer-ownership="none">
95
<type name="Service" c:type="UnityWebappsService*"/>
97
<parameter name="name" transfer-ownership="none">
98
<type name="utf8" c:type="const gchar*"/>
100
<parameter name="domain" transfer-ownership="none">
101
<type name="utf8" c:type="const gchar*"/>
103
<parameter name="icon_url" transfer-ownership="none">
104
<type name="utf8" c:type="const gchar*"/>
106
<parameter name="mime_types" transfer-ownership="none">
107
<type name="utf8" c:type="const gchar*"/>
111
<constructor name="new_sync"
112
c:identifier="unity_webapps_context_new_sync">
113
<return-value transfer-ownership="full">
114
<type name="Context" c:type="UnityWebappsContext*"/>
117
<parameter name="service" transfer-ownership="none">
118
<type name="Service" c:type="UnityWebappsService*"/>
120
<parameter name="name" transfer-ownership="none">
121
<type name="utf8" c:type="const gchar*"/>
123
<parameter name="domain" transfer-ownership="none">
124
<type name="utf8" c:type="const gchar*"/>
126
<parameter name="icon_url" transfer-ownership="none">
127
<type name="utf8" c:type="const gchar*"/>
129
<parameter name="mime_types" transfer-ownership="none">
130
<type name="utf8" c:type="const gchar*"/>
135
c:identifier="unity_webapps_context_new"
137
<return-value transfer-ownership="none">
138
<type name="none" c:type="void"/>
141
<parameter name="service" transfer-ownership="none">
142
<type name="Service" c:type="UnityWebappsService*"/>
144
<parameter name="name" transfer-ownership="none">
145
<type name="utf8" c:type="const gchar*"/>
147
<parameter name="domain" transfer-ownership="none">
148
<type name="utf8" c:type="const gchar*"/>
150
<parameter name="icon_url" transfer-ownership="none">
151
<type name="utf8" c:type="const gchar*"/>
153
<parameter name="mime_types" transfer-ownership="none">
154
<type name="utf8" c:type="const gchar*"/>
156
<parameter name="callback" transfer-ownership="none" closure="6">
157
<type name="ContextReadyCallback"
158
c:type="UnityWebappsContextReadyCallback"/>
160
<parameter name="user_data" transfer-ownership="none">
161
<type name="gpointer" c:type="gpointer"/>
165
<method name="add_application_actions"
166
c:identifier="unity_webapps_context_add_application_actions">
167
<return-value transfer-ownership="none">
168
<type name="none" c:type="void"/>
171
<parameter name="actions" transfer-ownership="none">
172
<type name="ApplicationActionDesc"
173
c:type="UnityWebappsApplicationActionDesc*"/>
175
<parameter name="len" transfer-ownership="none">
176
<type name="gint" c:type="gint"/>
180
<method name="add_icon" c:identifier="unity_webapps_context_add_icon">
181
<return-value transfer-ownership="none">
182
<type name="none" c:type="void"/>
185
<parameter name="url" transfer-ownership="none">
186
<type name="utf8" c:type="const gchar*"/>
188
<parameter name="size" transfer-ownership="none">
189
<type name="gint" c:type="gint"/>
193
<method name="close" c:identifier="unity_webapps_context_close">
194
<return-value transfer-ownership="none">
195
<type name="none" c:type="void"/>
198
<method name="close_interest"
199
c:identifier="unity_webapps_context_close_interest">
200
<return-value transfer-ownership="none">
201
<type name="none" c:type="void"/>
204
<parameter name="interest_id" transfer-ownership="none">
205
<type name="gint" c:type="gint"/>
209
<method name="destroy" c:identifier="unity_webapps_context_destroy">
210
<return-value transfer-ownership="none">
211
<type name="none" c:type="void"/>
214
<parameter name="user_abandoned" transfer-ownership="none">
215
<type name="gboolean" c:type="gboolean"/>
219
<method name="get_application_accept_data"
220
c:identifier="unity_webapps_context_get_application_accept_data"
223
<array c:type="gchar**">
228
<method name="get_context_name"
229
c:identifier="unity_webapps_context_get_context_name">
230
<return-value transfer-ownership="none">
231
<type name="utf8" c:type="const gchar*"/>
234
<method name="get_desktop_name"
235
c:identifier="unity_webapps_context_get_desktop_name">
236
<return-value transfer-ownership="none">
237
<type name="utf8" c:type="const gchar*"/>
240
<method name="get_domain"
241
c:identifier="unity_webapps_context_get_domain">
242
<return-value transfer-ownership="none">
243
<type name="utf8" c:type="const gchar*"/>
246
<method name="get_focus_interest"
247
c:identifier="unity_webapps_context_get_focus_interest">
248
<return-value transfer-ownership="none">
249
<type name="gint" c:type="gint"/>
252
<method name="get_icon_name"
253
c:identifier="unity_webapps_context_get_icon_name">
254
<return-value transfer-ownership="full">
255
<type name="utf8" c:type="gchar*"/>
258
<method name="get_interest_id"
259
c:identifier="unity_webapps_context_get_interest_id">
260
<return-value transfer-ownership="none">
261
<type name="gint" c:type="gint"/>
264
<method name="get_interest_owner"
265
c:identifier="unity_webapps_context_get_interest_owner">
266
<return-value transfer-ownership="full">
267
<type name="utf8" c:type="gchar*"/>
270
<parameter name="interest_id" transfer-ownership="none">
271
<type name="gint" c:type="gint"/>
275
<method name="get_name" c:identifier="unity_webapps_context_get_name">
276
<return-value transfer-ownership="none">
277
<type name="utf8" c:type="const gchar*"/>
280
<method name="get_service"
281
c:identifier="unity_webapps_context_get_service"
284
<type name="Service" c:type="UnityWebappsService*"/>
287
<method name="get_view_is_active"
288
c:identifier="unity_webapps_context_get_view_is_active">
289
<return-value transfer-ownership="none">
290
<type name="gboolean" c:type="gboolean"/>
293
<parameter name="interest_id" transfer-ownership="none">
294
<type name="gint" c:type="gint"/>
298
<method name="get_view_location"
299
c:identifier="unity_webapps_context_get_view_location">
300
<return-value transfer-ownership="full">
301
<type name="utf8" c:type="gchar*"/>
304
<parameter name="interest_id" transfer-ownership="none">
305
<type name="gint" c:type="gint"/>
309
<method name="get_view_window"
310
c:identifier="unity_webapps_context_get_view_window">
311
<return-value transfer-ownership="none">
312
<type name="guint64" c:type="guint64"/>
315
<parameter name="interest_id" transfer-ownership="none">
316
<type name="gint" c:type="gint"/>
320
<method name="list_interests"
321
c:identifier="unity_webapps_context_list_interests">
322
<return-value transfer-ownership="full">
323
<type name="GLib.Variant" c:type="GVariant*"/>
326
<method name="on_close_callback"
327
c:identifier="unity_webapps_context_on_close_callback"
329
<return-value transfer-ownership="none">
330
<type name="none" c:type="void"/>
333
<parameter name="callback" transfer-ownership="none" closure="1">
334
<type name="ContextCloseCallback"
335
c:type="UnityWebappsContextCloseCallback"/>
337
<parameter name="user_data" transfer-ownership="none">
338
<type name="gpointer" c:type="gpointer"/>
342
<method name="on_interest_appeared"
343
c:identifier="unity_webapps_context_on_interest_appeared"
345
<return-value transfer-ownership="none">
346
<type name="none" c:type="void"/>
349
<parameter name="callback" transfer-ownership="none" closure="1">
350
<type name="ContextNotifyCallback"
351
c:type="UnityWebappsContextNotifyCallback"/>
353
<parameter name="user_data" transfer-ownership="none">
354
<type name="gpointer" c:type="gpointer"/>
358
<method name="on_interest_vanished"
359
c:identifier="unity_webapps_context_on_interest_vanished"
361
<return-value transfer-ownership="none">
362
<type name="none" c:type="void"/>
365
<parameter name="callback" transfer-ownership="none" closure="1">
366
<type name="ContextNotifyCallback"
367
c:type="UnityWebappsContextNotifyCallback"/>
369
<parameter name="user_data" transfer-ownership="none">
370
<type name="gpointer" c:type="gpointer"/>
374
<method name="on_raise_callback"
375
c:identifier="unity_webapps_context_on_raise_callback"
377
<return-value transfer-ownership="none">
378
<type name="none" c:type="void"/>
381
<parameter name="callback" transfer-ownership="none" closure="1">
382
<type name="ContextRaiseCallback"
383
c:type="UnityWebappsContextRaiseCallback"/>
385
<parameter name="user_data" transfer-ownership="none">
386
<type name="gpointer" c:type="gpointer"/>
390
<method name="on_view_is_active_changed"
391
c:identifier="unity_webapps_context_on_view_is_active_changed"
393
<return-value transfer-ownership="none">
394
<type name="none" c:type="void"/>
397
<parameter name="callback" transfer-ownership="none" closure="1">
398
<type name="ContextViewNotifyCallback"
399
c:type="UnityWebappsContextViewNotifyCallback"/>
401
<parameter name="user_data" transfer-ownership="none">
402
<type name="gpointer" c:type="gpointer"/>
406
<method name="on_view_location_changed"
407
c:identifier="unity_webapps_context_on_view_location_changed"
409
<return-value transfer-ownership="none">
410
<type name="none" c:type="void"/>
413
<parameter name="callback" transfer-ownership="none" closure="1">
414
<type name="ContextLocationNotifyCallback"
415
c:type="UnityWebappsContextLocationNotifyCallback"/>
417
<parameter name="user_data" transfer-ownership="none">
418
<type name="gpointer" c:type="gpointer"/>
422
<method name="on_view_window_changed"
423
c:identifier="unity_webapps_context_on_view_window_changed"
425
<return-value transfer-ownership="none">
426
<type name="none" c:type="void"/>
429
<parameter name="callback" transfer-ownership="none" closure="1">
430
<type name="ContextWindowNotifyCallback"
431
c:type="UnityWebappsContextWindowNotifyCallback"/>
433
<parameter name="user_data" transfer-ownership="none">
434
<type name="gpointer" c:type="gpointer"/>
438
<method name="prepare"
439
c:identifier="unity_webapps_context_prepare"
441
<return-value transfer-ownership="none">
442
<type name="none" c:type="void"/>
445
<parameter name="callback" transfer-ownership="none" closure="1">
446
<type name="ContextReadyCallback"
447
c:type="UnityWebappsContextReadyCallback"/>
449
<parameter name="user_data" transfer-ownership="none">
450
<type name="gpointer" c:type="gpointer"/>
454
<method name="raise" c:identifier="unity_webapps_context_raise">
455
<return-value transfer-ownership="none">
456
<type name="none" c:type="void"/>
459
<method name="raise_interest"
460
c:identifier="unity_webapps_context_raise_interest">
461
<return-value transfer-ownership="none">
462
<type name="none" c:type="void"/>
465
<parameter name="interest_id" transfer-ownership="none">
466
<type name="gint" c:type="gint"/>
470
<method name="remove_application_action"
471
c:identifier="unity_webapps_context_remove_application_action">
472
<return-value transfer-ownership="none">
473
<type name="none" c:type="void"/>
476
<parameter name="label" transfer-ownership="none">
477
<type name="utf8" c:type="const gchar*"/>
481
<method name="remove_application_actions"
482
c:identifier="unity_webapps_context_remove_application_actions">
483
<return-value transfer-ownership="none">
484
<type name="none" c:type="void"/>
487
<method name="request_preview"
488
c:identifier="unity_webapps_context_request_preview"
490
<return-value transfer-ownership="none">
491
<type name="none" c:type="void"/>
494
<parameter name="interest_id" transfer-ownership="none">
495
<type name="gint" c:type="gint"/>
497
<parameter name="callback" transfer-ownership="none" closure="2">
498
<type name="ContextPreviewReadyCallback"
499
c:type="UnityWebappsContextPreviewReadyCallback"/>
501
<parameter name="user_data" transfer-ownership="none">
502
<type name="gpointer" c:type="gpointer"/>
506
<method name="set_application_accept_data"
507
c:identifier="unity_webapps_context_set_application_accept_data">
508
<return-value transfer-ownership="none">
509
<type name="none" c:type="void"/>
512
<parameter name="mimes" transfer-ownership="none">
513
<type name="StrWrapperDesc" c:type="UnityWebappsStrWrapperDesc*"/>
515
<parameter name="len" transfer-ownership="none">
516
<type name="gint" c:type="gint"/>
520
<method name="set_homepage"
521
c:identifier="unity_webapps_context_set_homepage">
522
<return-value transfer-ownership="none">
523
<type name="none" c:type="void"/>
526
<parameter name="homepage" transfer-ownership="none">
527
<type name="utf8" c:type="const gchar*"/>
531
<method name="set_preview_requested_callback"
532
c:identifier="unity_webapps_context_set_preview_requested_callback"
534
<return-value transfer-ownership="none">
535
<type name="none" c:type="void"/>
538
<parameter name="callback" transfer-ownership="none" closure="1">
539
<type name="ContextPreviewCallback"
540
c:type="UnityWebappsContextPreviewCallback"/>
542
<parameter name="user_data" transfer-ownership="none">
543
<type name="gpointer" c:type="gpointer"/>
547
<method name="set_view_is_active"
548
c:identifier="unity_webapps_context_set_view_is_active">
549
<return-value transfer-ownership="none">
550
<type name="none" c:type="void"/>
553
<parameter name="active" transfer-ownership="none">
554
<type name="gboolean" c:type="gboolean"/>
558
<method name="set_view_location"
559
c:identifier="unity_webapps_context_set_view_location">
560
<return-value transfer-ownership="none">
561
<type name="none" c:type="void"/>
564
<parameter name="location" transfer-ownership="none">
565
<type name="utf8" c:type="const gchar*"/>
569
<method name="set_view_window"
570
c:identifier="unity_webapps_context_set_view_window">
571
<return-value transfer-ownership="none">
572
<type name="none" c:type="void"/>
575
<parameter name="window" transfer-ownership="none">
576
<type name="guint64" c:type="guint64"/>
580
<method name="shutdown" c:identifier="unity_webapps_context_shutdown">
581
<return-value transfer-ownership="none">
582
<type name="gboolean" c:type="gboolean"/>
585
<property name="context-name"
588
transfer-ownership="none">
591
<property name="domain"
594
transfer-ownership="none">
597
<property name="icon-url"
600
transfer-ownership="none">
603
<property name="mime-types"
606
transfer-ownership="none">
609
<property name="name"
612
transfer-ownership="none">
615
<property name="service"
618
transfer-ownership="none">
619
<type name="Service"/>
621
<field name="object">
622
<type name="GObject.Object" c:type="GObject"/>
625
<type name="ContextPrivate" c:type="UnityWebappsContextPrivate*"/>
627
<glib:signal name="accept-data-changed" when="last">
628
<return-value transfer-ownership="none">
632
<parameter name="object" transfer-ownership="none">
640
<callback name="ContextAcceptDataChanged"
641
c:type="UnityWebappsContextAcceptDataChanged">
642
<return-value transfer-ownership="none">
643
<type name="none" c:type="void"/>
646
<parameter name="context" transfer-ownership="none">
647
<type name="Context" c:type="UnityWebappsContext*"/>
649
<parameter name="file" transfer-ownership="none">
650
<type name="utf8" c:type="const gchar**"/>
652
<parameter name="user_data" transfer-ownership="none" closure="2">
653
<type name="gpointer" c:type="gpointer"/>
657
<callback name="ContextActionCallback"
658
c:type="UnityWebappsContextActionCallback">
659
<return-value transfer-ownership="none">
660
<type name="none" c:type="void"/>
663
<parameter name="context" transfer-ownership="none">
664
<type name="Context" c:type="UnityWebappsContext*"/>
666
<parameter name="user_data" transfer-ownership="none" closure="1">
667
<type name="gpointer" c:type="gpointer"/>
671
<record name="ContextClass"
672
c:type="UnityWebappsContextClass"
673
glib:is-gtype-struct-for="Context">
674
<field name="parent_class">
675
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
677
<field name="accept_data_changed">
678
<type name="ContextAcceptDataChanged"
679
c:type="UnityWebappsContextAcceptDataChanged"/>
682
<callback name="ContextCloseCallback"
683
c:type="UnityWebappsContextCloseCallback">
684
<return-value transfer-ownership="none">
685
<type name="none" c:type="void"/>
688
<parameter name="context" transfer-ownership="none">
689
<type name="Context" c:type="UnityWebappsContext*"/>
691
<parameter name="user_data" transfer-ownership="none" closure="1">
692
<type name="gpointer" c:type="gpointer"/>
696
<callback name="ContextLocationNotifyCallback"
697
c:type="UnityWebappsContextLocationNotifyCallback">
698
<return-value transfer-ownership="none">
699
<type name="none" c:type="void"/>
702
<parameter transfer-ownership="none">
703
<type name="Context" c:type="UnityWebappsContext*"/>
705
<parameter transfer-ownership="none">
706
<type name="gint" c:type="gint"/>
708
<parameter transfer-ownership="none">
709
<type name="utf8" c:type="const gchar*"/>
711
<parameter transfer-ownership="none">
712
<type name="gpointer" c:type="gpointer"/>
716
<callback name="ContextNotifyCallback"
717
c:type="UnityWebappsContextNotifyCallback">
718
<return-value transfer-ownership="none">
719
<type name="none" c:type="void"/>
722
<parameter transfer-ownership="none">
723
<type name="Context" c:type="UnityWebappsContext*"/>
725
<parameter transfer-ownership="none">
726
<type name="gint" c:type="gint"/>
728
<parameter transfer-ownership="none">
729
<type name="gpointer" c:type="gpointer"/>
733
<callback name="ContextPreviewCallback"
734
c:type="UnityWebappsContextPreviewCallback">
735
<return-value transfer-ownership="none">
736
<type name="utf8" c:type="const gchar*"/>
739
<parameter name="context" transfer-ownership="none">
740
<type name="Context" c:type="UnityWebappsContext*"/>
742
<parameter name="user_data" transfer-ownership="none" closure="1">
743
<type name="gpointer" c:type="gpointer"/>
747
<callback name="ContextPreviewReadyCallback"
748
c:type="UnityWebappsContextPreviewReadyCallback">
749
<return-value transfer-ownership="none">
750
<type name="none" c:type="void"/>
753
<parameter name="context" transfer-ownership="none">
754
<type name="Context" c:type="UnityWebappsContext*"/>
756
<parameter name="interest_id" transfer-ownership="none">
757
<type name="gint" c:type="gint"/>
759
<parameter name="preview_data" transfer-ownership="none">
760
<type name="utf8" c:type="const gchar*"/>
762
<parameter name="user_data" transfer-ownership="none" closure="3">
763
<type name="gpointer" c:type="gpointer"/>
767
<record name="ContextPrivate" c:type="UnityWebappsContextPrivate">
768
<field name="service" writable="1">
769
<type name="Service" c:type="UnityWebappsService*"/>
771
<field name="context_proxy" writable="1">
772
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
774
<field name="notification_context" writable="1">
775
<type name="NotificationContext"
776
c:type="UnityWebappsNotificationContext*"/>
778
<field name="indicator_context" writable="1">
779
<type name="IndicatorContext" c:type="UnityWebappsIndicatorContext*"/>
781
<field name="music_player_context" writable="1">
782
<type name="MusicPlayerContext"
783
c:type="UnityWebappsMusicPlayerContext*"/>
785
<field name="launcher_context" writable="1">
786
<type name="LauncherContext" c:type="UnityWebappsLauncherContext*"/>
788
<field name="global_rate" writable="1">
789
<type name="guint" c:type="guint"/>
791
<field name="name" writable="1">
792
<type name="utf8" c:type="gchar*"/>
794
<field name="domain" writable="1">
795
<type name="utf8" c:type="gchar*"/>
797
<field name="icon_url" writable="1">
798
<type name="utf8" c:type="gchar*"/>
800
<field name="mime_types" writable="1">
801
<type name="utf8" c:type="gchar*"/>
803
<field name="context_name" writable="1">
804
<type name="utf8" c:type="gchar*"/>
806
<field name="took_interest" writable="1">
807
<type name="gboolean" c:type="gboolean"/>
809
<field name="user_abandoned" writable="1">
810
<type name="gboolean" c:type="gboolean"/>
812
<field name="interest_id" writable="1">
813
<type name="gint" c:type="gint"/>
815
<field name="preview_callback" writable="1">
816
<type name="ContextPreviewCallback"
817
c:type="UnityWebappsContextPreviewCallback"/>
819
<field name="preview_user_data" writable="1">
820
<type name="gpointer" c:type="gpointer"/>
822
<field name="action_callbacks_by_name" writable="1">
823
<type name="GLib.HashTable" c:type="GHashTable*">
824
<type name="gpointer" c:type="gpointer"/>
825
<type name="gpointer" c:type="gpointer"/>
828
<field name="remote_ready" writable="1">
829
<type name="gboolean" c:type="gboolean"/>
832
<callback name="ContextRaiseCallback"
833
c:type="UnityWebappsContextRaiseCallback">
834
<return-value transfer-ownership="none">
835
<type name="none" c:type="void"/>
838
<parameter name="context" transfer-ownership="none">
839
<type name="Context" c:type="UnityWebappsContext*"/>
841
<parameter name="file" transfer-ownership="none">
842
<type name="utf8" c:type="const gchar*"/>
844
<parameter name="user_data" transfer-ownership="none" closure="2">
845
<type name="gpointer" c:type="gpointer"/>
849
<callback name="ContextReadyCallback"
850
c:type="UnityWebappsContextReadyCallback">
851
<return-value transfer-ownership="none">
852
<type name="none" c:type="void"/>
855
<parameter transfer-ownership="none">
856
<type name="Context" c:type="UnityWebappsContext*"/>
858
<parameter name="user_data" transfer-ownership="none" closure="1">
859
<type name="gpointer" c:type="gpointer"/>
863
<callback name="ContextViewNotifyCallback"
864
c:type="UnityWebappsContextViewNotifyCallback">
865
<return-value transfer-ownership="none">
866
<type name="none" c:type="void"/>
869
<parameter transfer-ownership="none">
870
<type name="Context" c:type="UnityWebappsContext*"/>
872
<parameter transfer-ownership="none">
873
<type name="gint" c:type="gint"/>
875
<parameter transfer-ownership="none">
876
<type name="gboolean" c:type="gboolean"/>
878
<parameter transfer-ownership="none">
879
<type name="gpointer" c:type="gpointer"/>
883
<callback name="ContextWindowNotifyCallback"
884
c:type="UnityWebappsContextWindowNotifyCallback">
885
<return-value transfer-ownership="none">
886
<type name="none" c:type="void"/>
889
<parameter transfer-ownership="none">
890
<type name="Context" c:type="UnityWebappsContext*"/>
892
<parameter transfer-ownership="none">
893
<type name="gint" c:type="gint"/>
895
<parameter transfer-ownership="none">
896
<type name="guint64" c:type="guint64"/>
898
<parameter transfer-ownership="none">
899
<type name="gpointer" c:type="gpointer"/>
903
<bitfield name="DebugFlag" c:type="UnityWebappsDebugFlag">
904
<member name="all" value="1" c:identifier="UNITY_WEBAPPS_DEBUG_ALL"/>
905
<member name="context"
907
c:identifier="UNITY_WEBAPPS_DEBUG_CONTEXT"/>
908
<member name="notification"
910
c:identifier="UNITY_WEBAPPS_DEBUG_NOTIFICATION"/>
911
<member name="indicator"
913
c:identifier="UNITY_WEBAPPS_DEBUG_INDICATOR"/>
914
<member name="music_player"
916
c:identifier="UNITY_WEBAPPS_DEBUG_MUSIC_PLAYER"/>
917
<member name="launcher"
919
c:identifier="UNITY_WEBAPPS_DEBUG_LAUNCHER"/>
920
<member name="interest"
922
c:identifier="UNITY_WEBAPPS_DEBUG_INTEREST"/>
923
<member name="service"
925
c:identifier="UNITY_WEBAPPS_DEBUG_SERVICE"/>
926
<member name="resource"
928
c:identifier="UNITY_WEBAPPS_DEBUG_RESOURCE"/>
929
<member name="rate" value="512" c:identifier="UNITY_WEBAPPS_DEBUG_RATE"/>
930
<member name="action"
932
c:identifier="UNITY_WEBAPPS_DEBUG_ACTION"/>
933
<member name="window_tracker"
935
c:identifier="UNITY_WEBAPPS_DEBUG_WINDOW_TRACKER"/>
936
<member name="application_info"
938
c:identifier="UNITY_WEBAPPS_DEBUG_APPLICATION_INFO"/>
939
<member name="indicator_model"
941
c:identifier="UNITY_WEBAPPS_DEBUG_INDICATOR_MODEL"/>
944
c:identifier="UNITY_WEBAPPS_DEBUG_MISC"/>
946
<interface name="GenContext"
947
c:symbol-prefix="gen_context"
948
c:type="UnityWebappsGenContext"
949
glib:type-name="UnityWebappsGenContext"
950
glib:get-type="unity_webapps_gen_context_get_type"
951
glib:type-struct="GenContextIface">
952
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link>.</doc>
953
<function name="interface_info"
954
c:identifier="unity_webapps_gen_context_interface_info">
955
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link> D-Bus interface.</doc>
956
<return-value transfer-ownership="none">
957
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
958
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
961
<function name="override_properties"
962
c:identifier="unity_webapps_gen_context_override_properties">
963
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenContext interface for a concrete class.
964
The properties are overridden in the order they are defined.</doc>
965
<return-value transfer-ownership="none">
966
<doc xml:whitespace="preserve">The last property id.</doc>
967
<type name="guint" c:type="guint"/>
970
<parameter name="klass" transfer-ownership="none">
971
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
972
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
974
<parameter name="property_id_begin" transfer-ownership="none">
975
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
976
<type name="guint" c:type="guint"/>
980
<virtual-method name="accept_data_changed">
981
<return-value transfer-ownership="none">
982
<type name="none" c:type="void"/>
985
<parameter name="arg_files" transfer-ownership="none">
986
<type name="utf8" c:type="const gchar* const*"/>
990
<virtual-method name="application_action_invoked">
991
<return-value transfer-ownership="none">
992
<type name="none" c:type="void"/>
995
<parameter name="arg_name" transfer-ownership="none">
996
<type name="utf8" c:type="const gchar*"/>
1000
<virtual-method name="close_requested">
1001
<return-value transfer-ownership="none">
1002
<type name="none" c:type="void"/>
1005
<parameter name="arg_interest" transfer-ownership="none">
1006
<type name="gint" c:type="gint"/>
1010
<virtual-method name="context_ready">
1011
<return-value transfer-ownership="none">
1012
<type name="none" c:type="void"/>
1015
<parameter name="arg_version" transfer-ownership="none">
1016
<type name="utf8" c:type="const gchar*"/>
1020
<virtual-method name="get_desktop_name"
1021
invoker="get_desktop_name"
1023
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.DesktopName">"DesktopName"</link> D-Bus property.
1025
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1027
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_desktop_name() if on another thread.</warning></doc>
1028
<return-value transfer-ownership="none">
1029
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
1030
<type name="utf8" c:type="const gchar*"/>
1033
<virtual-method name="get_domain"
1034
invoker="get_domain"
1036
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Domain">"Domain"</link> D-Bus property.
1038
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1040
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_domain() if on another thread.</warning></doc>
1041
<return-value transfer-ownership="none">
1042
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
1043
<type name="utf8" c:type="const gchar*"/>
1046
<virtual-method name="get_focus_interest"
1047
invoker="get_focus_interest"
1049
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.FocusInterest">"FocusInterest"</link> D-Bus property.
1051
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
1052
<return-value transfer-ownership="none">
1053
<doc xml:whitespace="preserve">The property value.</doc>
1054
<type name="gint" c:type="gint"/>
1057
<virtual-method name="get_name" invoker="get_name" introspectable="0">
1058
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Name">"Name"</link> D-Bus property.
1060
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1062
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_name() if on another thread.</warning></doc>
1063
<return-value transfer-ownership="none">
1064
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
1065
<type name="utf8" c:type="const gchar*"/>
1068
<virtual-method name="get_view_is_active"
1069
invoker="get_view_is_active"
1071
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.ViewIsActive">"ViewIsActive"</link> D-Bus property.
1073
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
1074
<return-value transfer-ownership="none">
1075
<doc xml:whitespace="preserve">The property value.</doc>
1076
<type name="gboolean" c:type="gboolean"/>
1079
<virtual-method name="handle_add_application_actions">
1080
<return-value transfer-ownership="none">
1081
<type name="gboolean" c:type="gboolean"/>
1084
<parameter name="invocation" transfer-ownership="none">
1085
<type name="Gio.DBusMethodInvocation"
1086
c:type="GDBusMethodInvocation*"/>
1088
<parameter name="arg_names" transfer-ownership="none">
1089
<type name="utf8" c:type="const gchar* const*"/>
1091
<parameter name="arg_interest" transfer-ownership="none">
1092
<type name="gint" c:type="gint"/>
1096
<virtual-method name="handle_add_icon">
1097
<return-value transfer-ownership="none">
1098
<type name="gboolean" c:type="gboolean"/>
1101
<parameter name="invocation" transfer-ownership="none">
1102
<type name="Gio.DBusMethodInvocation"
1103
c:type="GDBusMethodInvocation*"/>
1105
<parameter name="arg_IconUrl" transfer-ownership="none">
1106
<type name="utf8" c:type="const gchar*"/>
1108
<parameter name="arg_Size" transfer-ownership="none">
1109
<type name="gint" c:type="gint"/>
1113
<virtual-method name="handle_add_interest">
1114
<return-value transfer-ownership="none">
1115
<type name="gboolean" c:type="gboolean"/>
1118
<parameter name="invocation" transfer-ownership="none">
1119
<type name="Gio.DBusMethodInvocation"
1120
c:type="GDBusMethodInvocation*"/>
1124
<virtual-method name="handle_close">
1125
<return-value transfer-ownership="none">
1126
<type name="gboolean" c:type="gboolean"/>
1129
<parameter name="invocation" transfer-ownership="none">
1130
<type name="Gio.DBusMethodInvocation"
1131
c:type="GDBusMethodInvocation*"/>
1135
<virtual-method name="handle_close_interest">
1136
<return-value transfer-ownership="none">
1137
<type name="gboolean" c:type="gboolean"/>
1140
<parameter name="invocation" transfer-ownership="none">
1141
<type name="Gio.DBusMethodInvocation"
1142
c:type="GDBusMethodInvocation*"/>
1144
<parameter name="arg_interest" transfer-ownership="none">
1145
<type name="gint" c:type="gint"/>
1149
<virtual-method name="handle_get_application_accept_data">
1150
<return-value transfer-ownership="none">
1151
<type name="gboolean" c:type="gboolean"/>
1154
<parameter name="invocation" transfer-ownership="none">
1155
<type name="Gio.DBusMethodInvocation"
1156
c:type="GDBusMethodInvocation*"/>
1160
<virtual-method name="handle_get_icon_name">
1161
<return-value transfer-ownership="none">
1162
<type name="gboolean" c:type="gboolean"/>
1165
<parameter name="invocation" transfer-ownership="none">
1166
<type name="Gio.DBusMethodInvocation"
1167
c:type="GDBusMethodInvocation*"/>
1171
<virtual-method name="handle_get_interest_count">
1172
<return-value transfer-ownership="none">
1173
<type name="gboolean" c:type="gboolean"/>
1176
<parameter name="invocation" transfer-ownership="none">
1177
<type name="Gio.DBusMethodInvocation"
1178
c:type="GDBusMethodInvocation*"/>
1182
<virtual-method name="handle_get_interest_owner">
1183
<return-value transfer-ownership="none">
1184
<type name="gboolean" c:type="gboolean"/>
1187
<parameter name="invocation" transfer-ownership="none">
1188
<type name="Gio.DBusMethodInvocation"
1189
c:type="GDBusMethodInvocation*"/>
1191
<parameter name="arg_interest" transfer-ownership="none">
1192
<type name="gint" c:type="gint"/>
1196
<virtual-method name="handle_get_view_is_active">
1197
<return-value transfer-ownership="none">
1198
<type name="gboolean" c:type="gboolean"/>
1201
<parameter name="invocation" transfer-ownership="none">
1202
<type name="Gio.DBusMethodInvocation"
1203
c:type="GDBusMethodInvocation*"/>
1205
<parameter name="arg_interest" transfer-ownership="none">
1206
<type name="gint" c:type="gint"/>
1210
<virtual-method name="handle_get_view_location">
1211
<return-value transfer-ownership="none">
1212
<type name="gboolean" c:type="gboolean"/>
1215
<parameter name="invocation" transfer-ownership="none">
1216
<type name="Gio.DBusMethodInvocation"
1217
c:type="GDBusMethodInvocation*"/>
1219
<parameter name="arg_interest" transfer-ownership="none">
1220
<type name="gint" c:type="gint"/>
1224
<virtual-method name="handle_get_view_window">
1225
<return-value transfer-ownership="none">
1226
<type name="gboolean" c:type="gboolean"/>
1229
<parameter name="invocation" transfer-ownership="none">
1230
<type name="Gio.DBusMethodInvocation"
1231
c:type="GDBusMethodInvocation*"/>
1233
<parameter name="arg_interest" transfer-ownership="none">
1234
<type name="gint" c:type="gint"/>
1238
<virtual-method name="handle_list_interests">
1239
<return-value transfer-ownership="none">
1240
<type name="gboolean" c:type="gboolean"/>
1243
<parameter name="invocation" transfer-ownership="none">
1244
<type name="Gio.DBusMethodInvocation"
1245
c:type="GDBusMethodInvocation*"/>
1249
<virtual-method name="handle_lost_interest">
1250
<return-value transfer-ownership="none">
1251
<type name="gboolean" c:type="gboolean"/>
1254
<parameter name="invocation" transfer-ownership="none">
1255
<type name="Gio.DBusMethodInvocation"
1256
c:type="GDBusMethodInvocation*"/>
1258
<parameter name="arg_id" transfer-ownership="none">
1259
<type name="gint" c:type="gint"/>
1261
<parameter name="arg_user_abandoned" transfer-ownership="none">
1262
<type name="gboolean" c:type="gboolean"/>
1266
<virtual-method name="handle_preview_ready">
1267
<return-value transfer-ownership="none">
1268
<type name="gboolean" c:type="gboolean"/>
1271
<parameter name="invocation" transfer-ownership="none">
1272
<type name="Gio.DBusMethodInvocation"
1273
c:type="GDBusMethodInvocation*"/>
1275
<parameter name="arg_interest" transfer-ownership="none">
1276
<type name="gint" c:type="gint"/>
1278
<parameter name="arg_data" transfer-ownership="none">
1279
<type name="utf8" c:type="const gchar*"/>
1283
<virtual-method name="handle_raise">
1284
<return-value transfer-ownership="none">
1285
<type name="gboolean" c:type="gboolean"/>
1288
<parameter name="invocation" transfer-ownership="none">
1289
<type name="Gio.DBusMethodInvocation"
1290
c:type="GDBusMethodInvocation*"/>
1292
<parameter name="arg_files" transfer-ownership="none">
1293
<type name="utf8" c:type="const gchar* const*"/>
1297
<virtual-method name="handle_raise_interest">
1298
<return-value transfer-ownership="none">
1299
<type name="gboolean" c:type="gboolean"/>
1302
<parameter name="invocation" transfer-ownership="none">
1303
<type name="Gio.DBusMethodInvocation"
1304
c:type="GDBusMethodInvocation*"/>
1306
<parameter name="arg_interest" transfer-ownership="none">
1307
<type name="gint" c:type="gint"/>
1311
<virtual-method name="handle_remove_application_action">
1312
<return-value transfer-ownership="none">
1313
<type name="gboolean" c:type="gboolean"/>
1316
<parameter name="invocation" transfer-ownership="none">
1317
<type name="Gio.DBusMethodInvocation"
1318
c:type="GDBusMethodInvocation*"/>
1320
<parameter name="arg_name" transfer-ownership="none">
1321
<type name="utf8" c:type="const gchar*"/>
1323
<parameter name="arg_interest" transfer-ownership="none">
1324
<type name="gint" c:type="gint"/>
1328
<virtual-method name="handle_remove_application_actions">
1329
<return-value transfer-ownership="none">
1330
<type name="gboolean" c:type="gboolean"/>
1333
<parameter name="invocation" transfer-ownership="none">
1334
<type name="Gio.DBusMethodInvocation"
1335
c:type="GDBusMethodInvocation*"/>
1337
<parameter name="arg_interest" transfer-ownership="none">
1338
<type name="gint" c:type="gint"/>
1342
<virtual-method name="handle_request_preview">
1343
<return-value transfer-ownership="none">
1344
<type name="gboolean" c:type="gboolean"/>
1347
<parameter name="invocation" transfer-ownership="none">
1348
<type name="Gio.DBusMethodInvocation"
1349
c:type="GDBusMethodInvocation*"/>
1351
<parameter name="arg_interest" transfer-ownership="none">
1352
<type name="gint" c:type="gint"/>
1356
<virtual-method name="handle_set_application_accept_data">
1357
<return-value transfer-ownership="none">
1358
<type name="gboolean" c:type="gboolean"/>
1361
<parameter name="invocation" transfer-ownership="none">
1362
<type name="Gio.DBusMethodInvocation"
1363
c:type="GDBusMethodInvocation*"/>
1365
<parameter name="arg_names" transfer-ownership="none">
1366
<type name="utf8" c:type="const gchar* const*"/>
1368
<parameter name="arg_interest" transfer-ownership="none">
1369
<type name="gint" c:type="gint"/>
1373
<virtual-method name="handle_set_homepage">
1374
<return-value transfer-ownership="none">
1375
<type name="gboolean" c:type="gboolean"/>
1378
<parameter name="invocation" transfer-ownership="none">
1379
<type name="Gio.DBusMethodInvocation"
1380
c:type="GDBusMethodInvocation*"/>
1382
<parameter name="arg_homepage" transfer-ownership="none">
1383
<type name="utf8" c:type="const gchar*"/>
1387
<virtual-method name="handle_set_view_is_active">
1388
<return-value transfer-ownership="none">
1389
<type name="gboolean" c:type="gboolean"/>
1392
<parameter name="invocation" transfer-ownership="none">
1393
<type name="Gio.DBusMethodInvocation"
1394
c:type="GDBusMethodInvocation*"/>
1396
<parameter name="arg_interest" transfer-ownership="none">
1397
<type name="gint" c:type="gint"/>
1399
<parameter name="arg_active" transfer-ownership="none">
1400
<type name="gboolean" c:type="gboolean"/>
1404
<virtual-method name="handle_set_view_location">
1405
<return-value transfer-ownership="none">
1406
<type name="gboolean" c:type="gboolean"/>
1409
<parameter name="invocation" transfer-ownership="none">
1410
<type name="Gio.DBusMethodInvocation"
1411
c:type="GDBusMethodInvocation*"/>
1413
<parameter name="arg_interest" transfer-ownership="none">
1414
<type name="gint" c:type="gint"/>
1416
<parameter name="arg_location" transfer-ownership="none">
1417
<type name="utf8" c:type="const gchar*"/>
1421
<virtual-method name="handle_set_view_window">
1422
<return-value transfer-ownership="none">
1423
<type name="gboolean" c:type="gboolean"/>
1426
<parameter name="invocation" transfer-ownership="none">
1427
<type name="Gio.DBusMethodInvocation"
1428
c:type="GDBusMethodInvocation*"/>
1430
<parameter name="arg_interest" transfer-ownership="none">
1431
<type name="gint" c:type="gint"/>
1433
<parameter name="arg_window" transfer-ownership="none">
1434
<type name="guint64" c:type="guint64"/>
1438
<virtual-method name="handle_shutdown">
1439
<return-value transfer-ownership="none">
1440
<type name="gboolean" c:type="gboolean"/>
1443
<parameter name="invocation" transfer-ownership="none">
1444
<type name="Gio.DBusMethodInvocation"
1445
c:type="GDBusMethodInvocation*"/>
1449
<virtual-method name="interest_appeared">
1450
<return-value transfer-ownership="none">
1451
<type name="none" c:type="void"/>
1454
<parameter name="arg_interest" transfer-ownership="none">
1455
<type name="gint" c:type="gint"/>
1459
<virtual-method name="interest_vanished">
1460
<return-value transfer-ownership="none">
1461
<type name="none" c:type="void"/>
1464
<parameter name="arg_interest" transfer-ownership="none">
1465
<type name="gint" c:type="gint"/>
1469
<virtual-method name="no_interest">
1470
<return-value transfer-ownership="none">
1471
<type name="none" c:type="void"/>
1474
<parameter name="arg_user_abandoned" transfer-ownership="none">
1475
<type name="gboolean" c:type="gboolean"/>
1479
<virtual-method name="preview_requested">
1480
<return-value transfer-ownership="none">
1481
<type name="none" c:type="void"/>
1484
<parameter name="arg_interest" transfer-ownership="none">
1485
<type name="gint" c:type="gint"/>
1489
<virtual-method name="raise_requested">
1490
<return-value transfer-ownership="none">
1491
<type name="none" c:type="void"/>
1494
<parameter name="arg_interest" transfer-ownership="none">
1495
<type name="gint" c:type="gint"/>
1497
<parameter name="arg_files" transfer-ownership="none">
1498
<type name="utf8" c:type="const gchar* const*"/>
1502
<virtual-method name="view_is_active_changed">
1503
<return-value transfer-ownership="none">
1504
<type name="none" c:type="void"/>
1507
<parameter name="arg_interest" transfer-ownership="none">
1508
<type name="gint" c:type="gint"/>
1510
<parameter name="arg_active" transfer-ownership="none">
1511
<type name="gboolean" c:type="gboolean"/>
1515
<virtual-method name="view_location_changed">
1516
<return-value transfer-ownership="none">
1517
<type name="none" c:type="void"/>
1520
<parameter name="arg_interest" transfer-ownership="none">
1521
<type name="gint" c:type="gint"/>
1523
<parameter name="arg_location" transfer-ownership="none">
1524
<type name="utf8" c:type="const gchar*"/>
1528
<virtual-method name="view_window_changed">
1529
<return-value transfer-ownership="none">
1530
<type name="none" c:type="void"/>
1533
<parameter name="arg_interest" transfer-ownership="none">
1534
<type name="gint" c:type="gint"/>
1536
<parameter name="arg_window" transfer-ownership="none">
1537
<type name="guint64" c:type="guint64"/>
1541
<virtual-method name="xid_changed">
1542
<return-value transfer-ownership="none">
1543
<type name="none" c:type="void"/>
1546
<method name="call_add_application_actions"
1547
c:identifier="unity_webapps_gen_context_call_add_application_actions">
1548
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddApplicationActions">AddApplicationActions()</link> D-Bus method on @proxy.
1549
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1550
You can then call unity_webapps_gen_context_call_add_application_actions_finish() to get the result of the operation.
1552
See unity_webapps_gen_context_call_add_application_actions_sync() for the synchronous, blocking version of this method.</doc>
1553
<return-value transfer-ownership="none">
1554
<type name="none" c:type="void"/>
1557
<parameter name="arg_names" transfer-ownership="none">
1558
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1559
<type name="utf8" c:type="const gchar* const*"/>
1561
<parameter name="arg_interest" transfer-ownership="none">
1562
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1563
<type name="gint" c:type="gint"/>
1565
<parameter name="cancellable"
1566
transfer-ownership="none"
1568
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1569
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1571
<parameter name="callback"
1572
transfer-ownership="none"
1576
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1577
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1579
<parameter name="user_data" transfer-ownership="none">
1580
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1581
<type name="gpointer" c:type="gpointer"/>
1585
<method name="call_add_application_actions_finish"
1586
c:identifier="unity_webapps_gen_context_call_add_application_actions_finish"
1588
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_add_application_actions().</doc>
1589
<return-value transfer-ownership="none" skip="1">
1590
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1591
<type name="gboolean" c:type="gboolean"/>
1594
<parameter name="res" transfer-ownership="none">
1595
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_add_application_actions().</doc>
1596
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1600
<method name="call_add_application_actions_sync"
1601
c:identifier="unity_webapps_gen_context_call_add_application_actions_sync"
1603
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddApplicationActions">AddApplicationActions()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1605
See unity_webapps_gen_context_call_add_application_actions() for the asynchronous version of this method.</doc>
1606
<return-value transfer-ownership="none" skip="1">
1607
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1608
<type name="gboolean" c:type="gboolean"/>
1611
<parameter name="arg_names" transfer-ownership="none">
1612
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1613
<type name="utf8" c:type="const gchar* const*"/>
1615
<parameter name="arg_interest" transfer-ownership="none">
1616
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1617
<type name="gint" c:type="gint"/>
1619
<parameter name="cancellable"
1620
transfer-ownership="none"
1622
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1623
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1627
<method name="call_add_icon"
1628
c:identifier="unity_webapps_gen_context_call_add_icon">
1629
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddIcon">AddIcon()</link> D-Bus method on @proxy.
1630
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1631
You can then call unity_webapps_gen_context_call_add_icon_finish() to get the result of the operation.
1633
See unity_webapps_gen_context_call_add_icon_sync() for the synchronous, blocking version of this method.</doc>
1634
<return-value transfer-ownership="none">
1635
<type name="none" c:type="void"/>
1638
<parameter name="arg_IconUrl" transfer-ownership="none">
1639
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1640
<type name="utf8" c:type="const gchar*"/>
1642
<parameter name="arg_Size" transfer-ownership="none">
1643
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1644
<type name="gint" c:type="gint"/>
1646
<parameter name="cancellable"
1647
transfer-ownership="none"
1649
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1650
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1652
<parameter name="callback"
1653
transfer-ownership="none"
1657
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1658
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1660
<parameter name="user_data" transfer-ownership="none">
1661
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1662
<type name="gpointer" c:type="gpointer"/>
1666
<method name="call_add_icon_finish"
1667
c:identifier="unity_webapps_gen_context_call_add_icon_finish"
1669
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_add_icon().</doc>
1670
<return-value transfer-ownership="none" skip="1">
1671
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1672
<type name="gboolean" c:type="gboolean"/>
1675
<parameter name="res" transfer-ownership="none">
1676
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_add_icon().</doc>
1677
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1681
<method name="call_add_icon_sync"
1682
c:identifier="unity_webapps_gen_context_call_add_icon_sync"
1684
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddIcon">AddIcon()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1686
See unity_webapps_gen_context_call_add_icon() for the asynchronous version of this method.</doc>
1687
<return-value transfer-ownership="none" skip="1">
1688
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1689
<type name="gboolean" c:type="gboolean"/>
1692
<parameter name="arg_IconUrl" transfer-ownership="none">
1693
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1694
<type name="utf8" c:type="const gchar*"/>
1696
<parameter name="arg_Size" transfer-ownership="none">
1697
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1698
<type name="gint" c:type="gint"/>
1700
<parameter name="cancellable"
1701
transfer-ownership="none"
1703
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1704
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1708
<method name="call_add_interest"
1709
c:identifier="unity_webapps_gen_context_call_add_interest">
1710
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddInterest">AddInterest()</link> D-Bus method on @proxy.
1711
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1712
You can then call unity_webapps_gen_context_call_add_interest_finish() to get the result of the operation.
1714
See unity_webapps_gen_context_call_add_interest_sync() for the synchronous, blocking version of this method.</doc>
1715
<return-value transfer-ownership="none">
1716
<type name="none" c:type="void"/>
1719
<parameter name="cancellable"
1720
transfer-ownership="none"
1722
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1723
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1725
<parameter name="callback"
1726
transfer-ownership="none"
1730
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1731
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1733
<parameter name="user_data" transfer-ownership="none">
1734
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1735
<type name="gpointer" c:type="gpointer"/>
1739
<method name="call_add_interest_finish"
1740
c:identifier="unity_webapps_gen_context_call_add_interest_finish"
1742
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_add_interest().</doc>
1743
<return-value transfer-ownership="none" skip="1">
1744
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1745
<type name="gboolean" c:type="gboolean"/>
1748
<parameter name="out_id"
1750
caller-allocates="0"
1751
transfer-ownership="full">
1752
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
1753
<type name="gint" c:type="gint*"/>
1755
<parameter name="res" transfer-ownership="none">
1756
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_add_interest().</doc>
1757
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1761
<method name="call_add_interest_sync"
1762
c:identifier="unity_webapps_gen_context_call_add_interest_sync"
1764
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddInterest">AddInterest()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1766
See unity_webapps_gen_context_call_add_interest() for the asynchronous version of this method.</doc>
1767
<return-value transfer-ownership="none" skip="1">
1768
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1769
<type name="gboolean" c:type="gboolean"/>
1772
<parameter name="out_id"
1774
caller-allocates="0"
1775
transfer-ownership="full">
1776
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
1777
<type name="gint" c:type="gint*"/>
1779
<parameter name="cancellable"
1780
transfer-ownership="none"
1782
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1783
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1787
<method name="call_close"
1788
c:identifier="unity_webapps_gen_context_call_close">
1789
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Close">Close()</link> D-Bus method on @proxy.
1790
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1791
You can then call unity_webapps_gen_context_call_close_finish() to get the result of the operation.
1793
See unity_webapps_gen_context_call_close_sync() for the synchronous, blocking version of this method.</doc>
1794
<return-value transfer-ownership="none">
1795
<type name="none" c:type="void"/>
1798
<parameter name="cancellable"
1799
transfer-ownership="none"
1801
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1802
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1804
<parameter name="callback"
1805
transfer-ownership="none"
1809
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1810
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1812
<parameter name="user_data" transfer-ownership="none">
1813
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1814
<type name="gpointer" c:type="gpointer"/>
1818
<method name="call_close_finish"
1819
c:identifier="unity_webapps_gen_context_call_close_finish"
1821
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_close().</doc>
1822
<return-value transfer-ownership="none" skip="1">
1823
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1824
<type name="gboolean" c:type="gboolean"/>
1827
<parameter name="res" transfer-ownership="none">
1828
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_close().</doc>
1829
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1833
<method name="call_close_interest"
1834
c:identifier="unity_webapps_gen_context_call_close_interest">
1835
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.CloseInterest">CloseInterest()</link> D-Bus method on @proxy.
1836
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1837
You can then call unity_webapps_gen_context_call_close_interest_finish() to get the result of the operation.
1839
See unity_webapps_gen_context_call_close_interest_sync() for the synchronous, blocking version of this method.</doc>
1840
<return-value transfer-ownership="none">
1841
<type name="none" c:type="void"/>
1844
<parameter name="arg_interest" transfer-ownership="none">
1845
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1846
<type name="gint" c:type="gint"/>
1848
<parameter name="cancellable"
1849
transfer-ownership="none"
1851
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1852
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1854
<parameter name="callback"
1855
transfer-ownership="none"
1859
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1860
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1862
<parameter name="user_data" transfer-ownership="none">
1863
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1864
<type name="gpointer" c:type="gpointer"/>
1868
<method name="call_close_interest_finish"
1869
c:identifier="unity_webapps_gen_context_call_close_interest_finish"
1871
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_close_interest().</doc>
1872
<return-value transfer-ownership="none" skip="1">
1873
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1874
<type name="gboolean" c:type="gboolean"/>
1877
<parameter name="res" transfer-ownership="none">
1878
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_close_interest().</doc>
1879
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1883
<method name="call_close_interest_sync"
1884
c:identifier="unity_webapps_gen_context_call_close_interest_sync"
1886
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.CloseInterest">CloseInterest()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1888
See unity_webapps_gen_context_call_close_interest() for the asynchronous version of this method.</doc>
1889
<return-value transfer-ownership="none" skip="1">
1890
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1891
<type name="gboolean" c:type="gboolean"/>
1894
<parameter name="arg_interest" transfer-ownership="none">
1895
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
1896
<type name="gint" c:type="gint"/>
1898
<parameter name="cancellable"
1899
transfer-ownership="none"
1901
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1902
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1906
<method name="call_close_sync"
1907
c:identifier="unity_webapps_gen_context_call_close_sync"
1909
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Close">Close()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1911
See unity_webapps_gen_context_call_close() for the asynchronous version of this method.</doc>
1912
<return-value transfer-ownership="none" skip="1">
1913
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1914
<type name="gboolean" c:type="gboolean"/>
1917
<parameter name="cancellable"
1918
transfer-ownership="none"
1920
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1921
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1925
<method name="call_get_application_accept_data"
1926
c:identifier="unity_webapps_gen_context_call_get_application_accept_data">
1927
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetApplicationAcceptData">GetApplicationAcceptData()</link> D-Bus method on @proxy.
1928
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
1929
You can then call unity_webapps_gen_context_call_get_application_accept_data_finish() to get the result of the operation.
1931
See unity_webapps_gen_context_call_get_application_accept_data_sync() for the synchronous, blocking version of this method.</doc>
1932
<return-value transfer-ownership="none">
1933
<type name="none" c:type="void"/>
1936
<parameter name="cancellable"
1937
transfer-ownership="none"
1939
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
1940
<type name="Gio.Cancellable" c:type="GCancellable*"/>
1942
<parameter name="callback"
1943
transfer-ownership="none"
1947
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
1948
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1950
<parameter name="user_data" transfer-ownership="none">
1951
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
1952
<type name="gpointer" c:type="gpointer"/>
1956
<method name="call_get_application_accept_data_finish"
1957
c:identifier="unity_webapps_gen_context_call_get_application_accept_data_finish"
1959
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_application_accept_data().</doc>
1960
<return-value transfer-ownership="none" skip="1">
1961
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1962
<type name="gboolean" c:type="gboolean"/>
1965
<parameter name="out_names"
1967
caller-allocates="0"
1968
transfer-ownership="full">
1969
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
1970
<type name="utf8" c:type="gchar***"/>
1972
<parameter name="res" transfer-ownership="none">
1973
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_application_accept_data().</doc>
1974
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
1978
<method name="call_get_application_accept_data_sync"
1979
c:identifier="unity_webapps_gen_context_call_get_application_accept_data_sync"
1981
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetApplicationAcceptData">GetApplicationAcceptData()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1983
See unity_webapps_gen_context_call_get_application_accept_data() for the asynchronous version of this method.</doc>
1984
<return-value transfer-ownership="none" skip="1">
1985
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
1986
<type name="gboolean" c:type="gboolean"/>
1989
<parameter name="out_names"
1991
caller-allocates="0"
1992
transfer-ownership="full">
1993
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
1994
<type name="utf8" c:type="gchar***"/>
1996
<parameter name="cancellable"
1997
transfer-ownership="none"
1999
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2000
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2004
<method name="call_get_icon_name"
2005
c:identifier="unity_webapps_gen_context_call_get_icon_name">
2006
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetIconName">GetIconName()</link> D-Bus method on @proxy.
2007
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2008
You can then call unity_webapps_gen_context_call_get_icon_name_finish() to get the result of the operation.
2010
See unity_webapps_gen_context_call_get_icon_name_sync() for the synchronous, blocking version of this method.</doc>
2011
<return-value transfer-ownership="none">
2012
<type name="none" c:type="void"/>
2015
<parameter name="cancellable"
2016
transfer-ownership="none"
2018
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2019
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2021
<parameter name="callback"
2022
transfer-ownership="none"
2026
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2027
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2029
<parameter name="user_data" transfer-ownership="none">
2030
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2031
<type name="gpointer" c:type="gpointer"/>
2035
<method name="call_get_icon_name_finish"
2036
c:identifier="unity_webapps_gen_context_call_get_icon_name_finish"
2038
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_icon_name().</doc>
2039
<return-value transfer-ownership="none" skip="1">
2040
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2041
<type name="gboolean" c:type="gboolean"/>
2044
<parameter name="out_IconName"
2046
caller-allocates="0"
2047
transfer-ownership="full">
2048
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2049
<type name="utf8" c:type="gchar**"/>
2051
<parameter name="res" transfer-ownership="none">
2052
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_icon_name().</doc>
2053
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2057
<method name="call_get_icon_name_sync"
2058
c:identifier="unity_webapps_gen_context_call_get_icon_name_sync"
2060
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetIconName">GetIconName()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2062
See unity_webapps_gen_context_call_get_icon_name() for the asynchronous version of this method.</doc>
2063
<return-value transfer-ownership="none" skip="1">
2064
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2065
<type name="gboolean" c:type="gboolean"/>
2068
<parameter name="out_IconName"
2070
caller-allocates="0"
2071
transfer-ownership="full">
2072
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2073
<type name="utf8" c:type="gchar**"/>
2075
<parameter name="cancellable"
2076
transfer-ownership="none"
2078
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2079
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2083
<method name="call_get_interest_count"
2084
c:identifier="unity_webapps_gen_context_call_get_interest_count">
2085
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestCount">GetInterestCount()</link> D-Bus method on @proxy.
2086
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2087
You can then call unity_webapps_gen_context_call_get_interest_count_finish() to get the result of the operation.
2089
See unity_webapps_gen_context_call_get_interest_count_sync() for the synchronous, blocking version of this method.</doc>
2090
<return-value transfer-ownership="none">
2091
<type name="none" c:type="void"/>
2094
<parameter name="cancellable"
2095
transfer-ownership="none"
2097
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2098
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2100
<parameter name="callback"
2101
transfer-ownership="none"
2105
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2106
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2108
<parameter name="user_data" transfer-ownership="none">
2109
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2110
<type name="gpointer" c:type="gpointer"/>
2114
<method name="call_get_interest_count_finish"
2115
c:identifier="unity_webapps_gen_context_call_get_interest_count_finish"
2117
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_interest_count().</doc>
2118
<return-value transfer-ownership="none" skip="1">
2119
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2120
<type name="gboolean" c:type="gboolean"/>
2123
<parameter name="out_count"
2125
caller-allocates="0"
2126
transfer-ownership="full">
2127
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2128
<type name="gint" c:type="gint*"/>
2130
<parameter name="res" transfer-ownership="none">
2131
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_interest_count().</doc>
2132
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2136
<method name="call_get_interest_count_sync"
2137
c:identifier="unity_webapps_gen_context_call_get_interest_count_sync"
2139
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestCount">GetInterestCount()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2141
See unity_webapps_gen_context_call_get_interest_count() for the asynchronous version of this method.</doc>
2142
<return-value transfer-ownership="none" skip="1">
2143
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2144
<type name="gboolean" c:type="gboolean"/>
2147
<parameter name="out_count"
2149
caller-allocates="0"
2150
transfer-ownership="full">
2151
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2152
<type name="gint" c:type="gint*"/>
2154
<parameter name="cancellable"
2155
transfer-ownership="none"
2157
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2158
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2162
<method name="call_get_interest_owner"
2163
c:identifier="unity_webapps_gen_context_call_get_interest_owner">
2164
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestOwner">GetInterestOwner()</link> D-Bus method on @proxy.
2165
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2166
You can then call unity_webapps_gen_context_call_get_interest_owner_finish() to get the result of the operation.
2168
See unity_webapps_gen_context_call_get_interest_owner_sync() for the synchronous, blocking version of this method.</doc>
2169
<return-value transfer-ownership="none">
2170
<type name="none" c:type="void"/>
2173
<parameter name="arg_interest" transfer-ownership="none">
2174
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2175
<type name="gint" c:type="gint"/>
2177
<parameter name="cancellable"
2178
transfer-ownership="none"
2180
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2181
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2183
<parameter name="callback"
2184
transfer-ownership="none"
2188
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2189
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2191
<parameter name="user_data" transfer-ownership="none">
2192
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2193
<type name="gpointer" c:type="gpointer"/>
2197
<method name="call_get_interest_owner_finish"
2198
c:identifier="unity_webapps_gen_context_call_get_interest_owner_finish"
2200
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_interest_owner().</doc>
2201
<return-value transfer-ownership="none" skip="1">
2202
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2203
<type name="gboolean" c:type="gboolean"/>
2206
<parameter name="out_owner"
2208
caller-allocates="0"
2209
transfer-ownership="full">
2210
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2211
<type name="utf8" c:type="gchar**"/>
2213
<parameter name="res" transfer-ownership="none">
2214
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_interest_owner().</doc>
2215
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2219
<method name="call_get_interest_owner_sync"
2220
c:identifier="unity_webapps_gen_context_call_get_interest_owner_sync"
2222
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestOwner">GetInterestOwner()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2224
See unity_webapps_gen_context_call_get_interest_owner() for the asynchronous version of this method.</doc>
2225
<return-value transfer-ownership="none" skip="1">
2226
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2227
<type name="gboolean" c:type="gboolean"/>
2230
<parameter name="arg_interest" transfer-ownership="none">
2231
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2232
<type name="gint" c:type="gint"/>
2234
<parameter name="out_owner"
2236
caller-allocates="0"
2237
transfer-ownership="full">
2238
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2239
<type name="utf8" c:type="gchar**"/>
2241
<parameter name="cancellable"
2242
transfer-ownership="none"
2244
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2245
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2249
<method name="call_get_view_is_active"
2250
c:identifier="unity_webapps_gen_context_call_get_view_is_active">
2251
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewIsActive">GetViewIsActive()</link> D-Bus method on @proxy.
2252
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2253
You can then call unity_webapps_gen_context_call_get_view_is_active_finish() to get the result of the operation.
2255
See unity_webapps_gen_context_call_get_view_is_active_sync() for the synchronous, blocking version of this method.</doc>
2256
<return-value transfer-ownership="none">
2257
<type name="none" c:type="void"/>
2260
<parameter name="arg_interest" transfer-ownership="none">
2261
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2262
<type name="gint" c:type="gint"/>
2264
<parameter name="cancellable"
2265
transfer-ownership="none"
2267
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2268
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2270
<parameter name="callback"
2271
transfer-ownership="none"
2275
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2276
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2278
<parameter name="user_data" transfer-ownership="none">
2279
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2280
<type name="gpointer" c:type="gpointer"/>
2284
<method name="call_get_view_is_active_finish"
2285
c:identifier="unity_webapps_gen_context_call_get_view_is_active_finish"
2287
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_view_is_active().</doc>
2288
<return-value transfer-ownership="none" skip="1">
2289
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2290
<type name="gboolean" c:type="gboolean"/>
2293
<parameter name="out_active"
2295
caller-allocates="0"
2296
transfer-ownership="full">
2297
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2298
<type name="gboolean" c:type="gboolean*"/>
2300
<parameter name="res" transfer-ownership="none">
2301
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_view_is_active().</doc>
2302
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2306
<method name="call_get_view_is_active_sync"
2307
c:identifier="unity_webapps_gen_context_call_get_view_is_active_sync"
2309
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewIsActive">GetViewIsActive()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2311
See unity_webapps_gen_context_call_get_view_is_active() for the asynchronous version of this method.</doc>
2312
<return-value transfer-ownership="none" skip="1">
2313
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2314
<type name="gboolean" c:type="gboolean"/>
2317
<parameter name="arg_interest" transfer-ownership="none">
2318
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2319
<type name="gint" c:type="gint"/>
2321
<parameter name="out_active"
2323
caller-allocates="0"
2324
transfer-ownership="full">
2325
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2326
<type name="gboolean" c:type="gboolean*"/>
2328
<parameter name="cancellable"
2329
transfer-ownership="none"
2331
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2332
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2336
<method name="call_get_view_location"
2337
c:identifier="unity_webapps_gen_context_call_get_view_location">
2338
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewLocation">GetViewLocation()</link> D-Bus method on @proxy.
2339
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2340
You can then call unity_webapps_gen_context_call_get_view_location_finish() to get the result of the operation.
2342
See unity_webapps_gen_context_call_get_view_location_sync() for the synchronous, blocking version of this method.</doc>
2343
<return-value transfer-ownership="none">
2344
<type name="none" c:type="void"/>
2347
<parameter name="arg_interest" transfer-ownership="none">
2348
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2349
<type name="gint" c:type="gint"/>
2351
<parameter name="cancellable"
2352
transfer-ownership="none"
2354
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2355
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2357
<parameter name="callback"
2358
transfer-ownership="none"
2362
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2363
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2365
<parameter name="user_data" transfer-ownership="none">
2366
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2367
<type name="gpointer" c:type="gpointer"/>
2371
<method name="call_get_view_location_finish"
2372
c:identifier="unity_webapps_gen_context_call_get_view_location_finish"
2374
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_view_location().</doc>
2375
<return-value transfer-ownership="none" skip="1">
2376
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2377
<type name="gboolean" c:type="gboolean"/>
2380
<parameter name="out_location"
2382
caller-allocates="0"
2383
transfer-ownership="full">
2384
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2385
<type name="utf8" c:type="gchar**"/>
2387
<parameter name="res" transfer-ownership="none">
2388
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_view_location().</doc>
2389
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2393
<method name="call_get_view_location_sync"
2394
c:identifier="unity_webapps_gen_context_call_get_view_location_sync"
2396
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewLocation">GetViewLocation()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2398
See unity_webapps_gen_context_call_get_view_location() for the asynchronous version of this method.</doc>
2399
<return-value transfer-ownership="none" skip="1">
2400
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2401
<type name="gboolean" c:type="gboolean"/>
2404
<parameter name="arg_interest" transfer-ownership="none">
2405
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2406
<type name="gint" c:type="gint"/>
2408
<parameter name="out_location"
2410
caller-allocates="0"
2411
transfer-ownership="full">
2412
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2413
<type name="utf8" c:type="gchar**"/>
2415
<parameter name="cancellable"
2416
transfer-ownership="none"
2418
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2419
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2423
<method name="call_get_view_window"
2424
c:identifier="unity_webapps_gen_context_call_get_view_window">
2425
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewWindow">GetViewWindow()</link> D-Bus method on @proxy.
2426
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2427
You can then call unity_webapps_gen_context_call_get_view_window_finish() to get the result of the operation.
2429
See unity_webapps_gen_context_call_get_view_window_sync() for the synchronous, blocking version of this method.</doc>
2430
<return-value transfer-ownership="none">
2431
<type name="none" c:type="void"/>
2434
<parameter name="arg_interest" transfer-ownership="none">
2435
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2436
<type name="gint" c:type="gint"/>
2438
<parameter name="cancellable"
2439
transfer-ownership="none"
2441
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2442
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2444
<parameter name="callback"
2445
transfer-ownership="none"
2449
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2450
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2452
<parameter name="user_data" transfer-ownership="none">
2453
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2454
<type name="gpointer" c:type="gpointer"/>
2458
<method name="call_get_view_window_finish"
2459
c:identifier="unity_webapps_gen_context_call_get_view_window_finish"
2461
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_get_view_window().</doc>
2462
<return-value transfer-ownership="none" skip="1">
2463
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2464
<type name="gboolean" c:type="gboolean"/>
2467
<parameter name="out_window"
2469
caller-allocates="0"
2470
transfer-ownership="full">
2471
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2472
<type name="guint64" c:type="guint64*"/>
2474
<parameter name="res" transfer-ownership="none">
2475
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_get_view_window().</doc>
2476
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2480
<method name="call_get_view_window_sync"
2481
c:identifier="unity_webapps_gen_context_call_get_view_window_sync"
2483
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewWindow">GetViewWindow()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2485
See unity_webapps_gen_context_call_get_view_window() for the asynchronous version of this method.</doc>
2486
<return-value transfer-ownership="none" skip="1">
2487
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2488
<type name="gboolean" c:type="gboolean"/>
2491
<parameter name="arg_interest" transfer-ownership="none">
2492
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2493
<type name="gint" c:type="gint"/>
2495
<parameter name="out_window"
2497
caller-allocates="0"
2498
transfer-ownership="full">
2499
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2500
<type name="guint64" c:type="guint64*"/>
2502
<parameter name="cancellable"
2503
transfer-ownership="none"
2505
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2506
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2510
<method name="call_list_interests"
2511
c:identifier="unity_webapps_gen_context_call_list_interests">
2512
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.ListInterests">ListInterests()</link> D-Bus method on @proxy.
2513
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2514
You can then call unity_webapps_gen_context_call_list_interests_finish() to get the result of the operation.
2516
See unity_webapps_gen_context_call_list_interests_sync() for the synchronous, blocking version of this method.</doc>
2517
<return-value transfer-ownership="none">
2518
<type name="none" c:type="void"/>
2521
<parameter name="cancellable"
2522
transfer-ownership="none"
2524
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2525
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2527
<parameter name="callback"
2528
transfer-ownership="none"
2532
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2533
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2535
<parameter name="user_data" transfer-ownership="none">
2536
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2537
<type name="gpointer" c:type="gpointer"/>
2541
<method name="call_list_interests_finish"
2542
c:identifier="unity_webapps_gen_context_call_list_interests_finish"
2544
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_list_interests().</doc>
2545
<return-value transfer-ownership="none" skip="1">
2546
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2547
<type name="gboolean" c:type="gboolean"/>
2550
<parameter name="out_interests"
2552
caller-allocates="0"
2553
transfer-ownership="full">
2554
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2555
<type name="GLib.Variant" c:type="GVariant**"/>
2557
<parameter name="res" transfer-ownership="none">
2558
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_list_interests().</doc>
2559
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2563
<method name="call_list_interests_sync"
2564
c:identifier="unity_webapps_gen_context_call_list_interests_sync"
2566
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.ListInterests">ListInterests()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2568
See unity_webapps_gen_context_call_list_interests() for the asynchronous version of this method.</doc>
2569
<return-value transfer-ownership="none" skip="1">
2570
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2571
<type name="gboolean" c:type="gboolean"/>
2574
<parameter name="out_interests"
2576
caller-allocates="0"
2577
transfer-ownership="full">
2578
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
2579
<type name="GLib.Variant" c:type="GVariant**"/>
2581
<parameter name="cancellable"
2582
transfer-ownership="none"
2584
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2585
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2589
<method name="call_lost_interest"
2590
c:identifier="unity_webapps_gen_context_call_lost_interest">
2591
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.LostInterest">LostInterest()</link> D-Bus method on @proxy.
2592
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2593
You can then call unity_webapps_gen_context_call_lost_interest_finish() to get the result of the operation.
2595
See unity_webapps_gen_context_call_lost_interest_sync() for the synchronous, blocking version of this method.</doc>
2596
<return-value transfer-ownership="none">
2597
<type name="none" c:type="void"/>
2600
<parameter name="arg_id" transfer-ownership="none">
2601
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2602
<type name="gint" c:type="gint"/>
2604
<parameter name="arg_user_abandoned" transfer-ownership="none">
2605
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2606
<type name="gboolean" c:type="gboolean"/>
2608
<parameter name="cancellable"
2609
transfer-ownership="none"
2611
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2612
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2614
<parameter name="callback"
2615
transfer-ownership="none"
2619
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2620
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2622
<parameter name="user_data" transfer-ownership="none">
2623
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2624
<type name="gpointer" c:type="gpointer"/>
2628
<method name="call_lost_interest_finish"
2629
c:identifier="unity_webapps_gen_context_call_lost_interest_finish"
2631
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_lost_interest().</doc>
2632
<return-value transfer-ownership="none" skip="1">
2633
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2634
<type name="gboolean" c:type="gboolean"/>
2637
<parameter name="res" transfer-ownership="none">
2638
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_lost_interest().</doc>
2639
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2643
<method name="call_lost_interest_sync"
2644
c:identifier="unity_webapps_gen_context_call_lost_interest_sync"
2646
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.LostInterest">LostInterest()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2648
See unity_webapps_gen_context_call_lost_interest() for the asynchronous version of this method.</doc>
2649
<return-value transfer-ownership="none" skip="1">
2650
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2651
<type name="gboolean" c:type="gboolean"/>
2654
<parameter name="arg_id" transfer-ownership="none">
2655
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2656
<type name="gint" c:type="gint"/>
2658
<parameter name="arg_user_abandoned" transfer-ownership="none">
2659
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2660
<type name="gboolean" c:type="gboolean"/>
2662
<parameter name="cancellable"
2663
transfer-ownership="none"
2665
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2666
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2670
<method name="call_preview_ready"
2671
c:identifier="unity_webapps_gen_context_call_preview_ready">
2672
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.PreviewReady">PreviewReady()</link> D-Bus method on @proxy.
2673
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2674
You can then call unity_webapps_gen_context_call_preview_ready_finish() to get the result of the operation.
2676
See unity_webapps_gen_context_call_preview_ready_sync() for the synchronous, blocking version of this method.</doc>
2677
<return-value transfer-ownership="none">
2678
<type name="none" c:type="void"/>
2681
<parameter name="arg_interest" transfer-ownership="none">
2682
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2683
<type name="gint" c:type="gint"/>
2685
<parameter name="arg_data" transfer-ownership="none">
2686
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2687
<type name="utf8" c:type="const gchar*"/>
2689
<parameter name="cancellable"
2690
transfer-ownership="none"
2692
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2693
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2695
<parameter name="callback"
2696
transfer-ownership="none"
2700
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2701
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2703
<parameter name="user_data" transfer-ownership="none">
2704
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2705
<type name="gpointer" c:type="gpointer"/>
2709
<method name="call_preview_ready_finish"
2710
c:identifier="unity_webapps_gen_context_call_preview_ready_finish"
2712
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_preview_ready().</doc>
2713
<return-value transfer-ownership="none" skip="1">
2714
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2715
<type name="gboolean" c:type="gboolean"/>
2718
<parameter name="res" transfer-ownership="none">
2719
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_preview_ready().</doc>
2720
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2724
<method name="call_preview_ready_sync"
2725
c:identifier="unity_webapps_gen_context_call_preview_ready_sync"
2727
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.PreviewReady">PreviewReady()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2729
See unity_webapps_gen_context_call_preview_ready() for the asynchronous version of this method.</doc>
2730
<return-value transfer-ownership="none" skip="1">
2731
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2732
<type name="gboolean" c:type="gboolean"/>
2735
<parameter name="arg_interest" transfer-ownership="none">
2736
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2737
<type name="gint" c:type="gint"/>
2739
<parameter name="arg_data" transfer-ownership="none">
2740
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2741
<type name="utf8" c:type="const gchar*"/>
2743
<parameter name="cancellable"
2744
transfer-ownership="none"
2746
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2747
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2751
<method name="call_raise"
2752
c:identifier="unity_webapps_gen_context_call_raise">
2753
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Raise">Raise()</link> D-Bus method on @proxy.
2754
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2755
You can then call unity_webapps_gen_context_call_raise_finish() to get the result of the operation.
2757
See unity_webapps_gen_context_call_raise_sync() for the synchronous, blocking version of this method.</doc>
2758
<return-value transfer-ownership="none">
2759
<type name="none" c:type="void"/>
2762
<parameter name="arg_files" transfer-ownership="none">
2763
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2764
<type name="utf8" c:type="const gchar* const*"/>
2766
<parameter name="cancellable"
2767
transfer-ownership="none"
2769
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2770
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2772
<parameter name="callback"
2773
transfer-ownership="none"
2777
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2778
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2780
<parameter name="user_data" transfer-ownership="none">
2781
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2782
<type name="gpointer" c:type="gpointer"/>
2786
<method name="call_raise_finish"
2787
c:identifier="unity_webapps_gen_context_call_raise_finish"
2789
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_raise().</doc>
2790
<return-value transfer-ownership="none" skip="1">
2791
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2792
<type name="gboolean" c:type="gboolean"/>
2795
<parameter name="res" transfer-ownership="none">
2796
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_raise().</doc>
2797
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2801
<method name="call_raise_interest"
2802
c:identifier="unity_webapps_gen_context_call_raise_interest">
2803
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RaiseInterest">RaiseInterest()</link> D-Bus method on @proxy.
2804
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2805
You can then call unity_webapps_gen_context_call_raise_interest_finish() to get the result of the operation.
2807
See unity_webapps_gen_context_call_raise_interest_sync() for the synchronous, blocking version of this method.</doc>
2808
<return-value transfer-ownership="none">
2809
<type name="none" c:type="void"/>
2812
<parameter name="arg_interest" transfer-ownership="none">
2813
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2814
<type name="gint" c:type="gint"/>
2816
<parameter name="cancellable"
2817
transfer-ownership="none"
2819
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2820
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2822
<parameter name="callback"
2823
transfer-ownership="none"
2827
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2828
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2830
<parameter name="user_data" transfer-ownership="none">
2831
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2832
<type name="gpointer" c:type="gpointer"/>
2836
<method name="call_raise_interest_finish"
2837
c:identifier="unity_webapps_gen_context_call_raise_interest_finish"
2839
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_raise_interest().</doc>
2840
<return-value transfer-ownership="none" skip="1">
2841
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2842
<type name="gboolean" c:type="gboolean"/>
2845
<parameter name="res" transfer-ownership="none">
2846
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_raise_interest().</doc>
2847
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2851
<method name="call_raise_interest_sync"
2852
c:identifier="unity_webapps_gen_context_call_raise_interest_sync"
2854
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RaiseInterest">RaiseInterest()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2856
See unity_webapps_gen_context_call_raise_interest() for the asynchronous version of this method.</doc>
2857
<return-value transfer-ownership="none" skip="1">
2858
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2859
<type name="gboolean" c:type="gboolean"/>
2862
<parameter name="arg_interest" transfer-ownership="none">
2863
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2864
<type name="gint" c:type="gint"/>
2866
<parameter name="cancellable"
2867
transfer-ownership="none"
2869
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2870
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2874
<method name="call_raise_sync"
2875
c:identifier="unity_webapps_gen_context_call_raise_sync"
2877
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Raise">Raise()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2879
See unity_webapps_gen_context_call_raise() for the asynchronous version of this method.</doc>
2880
<return-value transfer-ownership="none" skip="1">
2881
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2882
<type name="gboolean" c:type="gboolean"/>
2885
<parameter name="arg_files" transfer-ownership="none">
2886
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2887
<type name="utf8" c:type="const gchar* const*"/>
2889
<parameter name="cancellable"
2890
transfer-ownership="none"
2892
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2893
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2897
<method name="call_remove_application_action"
2898
c:identifier="unity_webapps_gen_context_call_remove_application_action">
2899
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationAction">RemoveApplicationAction()</link> D-Bus method on @proxy.
2900
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2901
You can then call unity_webapps_gen_context_call_remove_application_action_finish() to get the result of the operation.
2903
See unity_webapps_gen_context_call_remove_application_action_sync() for the synchronous, blocking version of this method.</doc>
2904
<return-value transfer-ownership="none">
2905
<type name="none" c:type="void"/>
2908
<parameter name="arg_name" transfer-ownership="none">
2909
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2910
<type name="utf8" c:type="const gchar*"/>
2912
<parameter name="arg_interest" transfer-ownership="none">
2913
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2914
<type name="gint" c:type="gint"/>
2916
<parameter name="cancellable"
2917
transfer-ownership="none"
2919
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2920
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2922
<parameter name="callback"
2923
transfer-ownership="none"
2927
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
2928
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
2930
<parameter name="user_data" transfer-ownership="none">
2931
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
2932
<type name="gpointer" c:type="gpointer"/>
2936
<method name="call_remove_application_action_finish"
2937
c:identifier="unity_webapps_gen_context_call_remove_application_action_finish"
2939
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_remove_application_action().</doc>
2940
<return-value transfer-ownership="none" skip="1">
2941
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2942
<type name="gboolean" c:type="gboolean"/>
2945
<parameter name="res" transfer-ownership="none">
2946
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_remove_application_action().</doc>
2947
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
2951
<method name="call_remove_application_action_sync"
2952
c:identifier="unity_webapps_gen_context_call_remove_application_action_sync"
2954
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationAction">RemoveApplicationAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
2956
See unity_webapps_gen_context_call_remove_application_action() for the asynchronous version of this method.</doc>
2957
<return-value transfer-ownership="none" skip="1">
2958
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
2959
<type name="gboolean" c:type="gboolean"/>
2962
<parameter name="arg_name" transfer-ownership="none">
2963
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2964
<type name="utf8" c:type="const gchar*"/>
2966
<parameter name="arg_interest" transfer-ownership="none">
2967
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2968
<type name="gint" c:type="gint"/>
2970
<parameter name="cancellable"
2971
transfer-ownership="none"
2973
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2974
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2978
<method name="call_remove_application_actions"
2979
c:identifier="unity_webapps_gen_context_call_remove_application_actions">
2980
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationActions">RemoveApplicationActions()</link> D-Bus method on @proxy.
2981
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
2982
You can then call unity_webapps_gen_context_call_remove_application_actions_finish() to get the result of the operation.
2984
See unity_webapps_gen_context_call_remove_application_actions_sync() for the synchronous, blocking version of this method.</doc>
2985
<return-value transfer-ownership="none">
2986
<type name="none" c:type="void"/>
2989
<parameter name="arg_interest" transfer-ownership="none">
2990
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
2991
<type name="gint" c:type="gint"/>
2993
<parameter name="cancellable"
2994
transfer-ownership="none"
2996
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
2997
<type name="Gio.Cancellable" c:type="GCancellable*"/>
2999
<parameter name="callback"
3000
transfer-ownership="none"
3004
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3005
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3007
<parameter name="user_data" transfer-ownership="none">
3008
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3009
<type name="gpointer" c:type="gpointer"/>
3013
<method name="call_remove_application_actions_finish"
3014
c:identifier="unity_webapps_gen_context_call_remove_application_actions_finish"
3016
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_remove_application_actions().</doc>
3017
<return-value transfer-ownership="none" skip="1">
3018
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3019
<type name="gboolean" c:type="gboolean"/>
3022
<parameter name="res" transfer-ownership="none">
3023
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_remove_application_actions().</doc>
3024
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3028
<method name="call_remove_application_actions_sync"
3029
c:identifier="unity_webapps_gen_context_call_remove_application_actions_sync"
3031
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationActions">RemoveApplicationActions()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3033
See unity_webapps_gen_context_call_remove_application_actions() for the asynchronous version of this method.</doc>
3034
<return-value transfer-ownership="none" skip="1">
3035
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3036
<type name="gboolean" c:type="gboolean"/>
3039
<parameter name="arg_interest" transfer-ownership="none">
3040
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3041
<type name="gint" c:type="gint"/>
3043
<parameter name="cancellable"
3044
transfer-ownership="none"
3046
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3047
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3051
<method name="call_request_preview"
3052
c:identifier="unity_webapps_gen_context_call_request_preview">
3053
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RequestPreview">RequestPreview()</link> D-Bus method on @proxy.
3054
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3055
You can then call unity_webapps_gen_context_call_request_preview_finish() to get the result of the operation.
3057
See unity_webapps_gen_context_call_request_preview_sync() for the synchronous, blocking version of this method.</doc>
3058
<return-value transfer-ownership="none">
3059
<type name="none" c:type="void"/>
3062
<parameter name="arg_interest" transfer-ownership="none">
3063
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3064
<type name="gint" c:type="gint"/>
3066
<parameter name="cancellable"
3067
transfer-ownership="none"
3069
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3070
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3072
<parameter name="callback"
3073
transfer-ownership="none"
3077
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3078
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3080
<parameter name="user_data" transfer-ownership="none">
3081
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3082
<type name="gpointer" c:type="gpointer"/>
3086
<method name="call_request_preview_finish"
3087
c:identifier="unity_webapps_gen_context_call_request_preview_finish"
3089
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_request_preview().</doc>
3090
<return-value transfer-ownership="none" skip="1">
3091
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3092
<type name="gboolean" c:type="gboolean"/>
3095
<parameter name="out_data"
3097
caller-allocates="0"
3098
transfer-ownership="full">
3099
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
3100
<type name="utf8" c:type="gchar**"/>
3102
<parameter name="res" transfer-ownership="none">
3103
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_request_preview().</doc>
3104
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3108
<method name="call_request_preview_sync"
3109
c:identifier="unity_webapps_gen_context_call_request_preview_sync"
3111
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RequestPreview">RequestPreview()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3113
See unity_webapps_gen_context_call_request_preview() for the asynchronous version of this method.</doc>
3114
<return-value transfer-ownership="none" skip="1">
3115
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3116
<type name="gboolean" c:type="gboolean"/>
3119
<parameter name="arg_interest" transfer-ownership="none">
3120
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3121
<type name="gint" c:type="gint"/>
3123
<parameter name="out_data"
3125
caller-allocates="0"
3126
transfer-ownership="full">
3127
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
3128
<type name="utf8" c:type="gchar**"/>
3130
<parameter name="cancellable"
3131
transfer-ownership="none"
3133
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3134
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3138
<method name="call_set_application_accept_data"
3139
c:identifier="unity_webapps_gen_context_call_set_application_accept_data">
3140
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetApplicationAcceptData">SetApplicationAcceptData()</link> D-Bus method on @proxy.
3141
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3142
You can then call unity_webapps_gen_context_call_set_application_accept_data_finish() to get the result of the operation.
3144
See unity_webapps_gen_context_call_set_application_accept_data_sync() for the synchronous, blocking version of this method.</doc>
3145
<return-value transfer-ownership="none">
3146
<type name="none" c:type="void"/>
3149
<parameter name="arg_names" transfer-ownership="none">
3150
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3151
<type name="utf8" c:type="const gchar* const*"/>
3153
<parameter name="arg_interest" transfer-ownership="none">
3154
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3155
<type name="gint" c:type="gint"/>
3157
<parameter name="cancellable"
3158
transfer-ownership="none"
3160
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3161
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3163
<parameter name="callback"
3164
transfer-ownership="none"
3168
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3169
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3171
<parameter name="user_data" transfer-ownership="none">
3172
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3173
<type name="gpointer" c:type="gpointer"/>
3177
<method name="call_set_application_accept_data_finish"
3178
c:identifier="unity_webapps_gen_context_call_set_application_accept_data_finish"
3180
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_set_application_accept_data().</doc>
3181
<return-value transfer-ownership="none" skip="1">
3182
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3183
<type name="gboolean" c:type="gboolean"/>
3186
<parameter name="res" transfer-ownership="none">
3187
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_set_application_accept_data().</doc>
3188
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3192
<method name="call_set_application_accept_data_sync"
3193
c:identifier="unity_webapps_gen_context_call_set_application_accept_data_sync"
3195
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetApplicationAcceptData">SetApplicationAcceptData()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3197
See unity_webapps_gen_context_call_set_application_accept_data() for the asynchronous version of this method.</doc>
3198
<return-value transfer-ownership="none" skip="1">
3199
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3200
<type name="gboolean" c:type="gboolean"/>
3203
<parameter name="arg_names" transfer-ownership="none">
3204
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3205
<type name="utf8" c:type="const gchar* const*"/>
3207
<parameter name="arg_interest" transfer-ownership="none">
3208
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3209
<type name="gint" c:type="gint"/>
3211
<parameter name="cancellable"
3212
transfer-ownership="none"
3214
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3215
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3219
<method name="call_set_homepage"
3220
c:identifier="unity_webapps_gen_context_call_set_homepage">
3221
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetHomepage">SetHomepage()</link> D-Bus method on @proxy.
3222
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3223
You can then call unity_webapps_gen_context_call_set_homepage_finish() to get the result of the operation.
3225
See unity_webapps_gen_context_call_set_homepage_sync() for the synchronous, blocking version of this method.</doc>
3226
<return-value transfer-ownership="none">
3227
<type name="none" c:type="void"/>
3230
<parameter name="arg_homepage" transfer-ownership="none">
3231
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3232
<type name="utf8" c:type="const gchar*"/>
3234
<parameter name="cancellable"
3235
transfer-ownership="none"
3237
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3238
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3240
<parameter name="callback"
3241
transfer-ownership="none"
3245
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3246
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3248
<parameter name="user_data" transfer-ownership="none">
3249
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3250
<type name="gpointer" c:type="gpointer"/>
3254
<method name="call_set_homepage_finish"
3255
c:identifier="unity_webapps_gen_context_call_set_homepage_finish"
3257
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_set_homepage().</doc>
3258
<return-value transfer-ownership="none" skip="1">
3259
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3260
<type name="gboolean" c:type="gboolean"/>
3263
<parameter name="res" transfer-ownership="none">
3264
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_set_homepage().</doc>
3265
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3269
<method name="call_set_homepage_sync"
3270
c:identifier="unity_webapps_gen_context_call_set_homepage_sync"
3272
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetHomepage">SetHomepage()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3274
See unity_webapps_gen_context_call_set_homepage() for the asynchronous version of this method.</doc>
3275
<return-value transfer-ownership="none" skip="1">
3276
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3277
<type name="gboolean" c:type="gboolean"/>
3280
<parameter name="arg_homepage" transfer-ownership="none">
3281
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3282
<type name="utf8" c:type="const gchar*"/>
3284
<parameter name="cancellable"
3285
transfer-ownership="none"
3287
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3288
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3292
<method name="call_set_view_is_active"
3293
c:identifier="unity_webapps_gen_context_call_set_view_is_active">
3294
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewIsActive">SetViewIsActive()</link> D-Bus method on @proxy.
3295
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3296
You can then call unity_webapps_gen_context_call_set_view_is_active_finish() to get the result of the operation.
3298
See unity_webapps_gen_context_call_set_view_is_active_sync() for the synchronous, blocking version of this method.</doc>
3299
<return-value transfer-ownership="none">
3300
<type name="none" c:type="void"/>
3303
<parameter name="arg_interest" transfer-ownership="none">
3304
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3305
<type name="gint" c:type="gint"/>
3307
<parameter name="arg_active" transfer-ownership="none">
3308
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3309
<type name="gboolean" c:type="gboolean"/>
3311
<parameter name="cancellable"
3312
transfer-ownership="none"
3314
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3315
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3317
<parameter name="callback"
3318
transfer-ownership="none"
3322
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3323
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3325
<parameter name="user_data" transfer-ownership="none">
3326
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3327
<type name="gpointer" c:type="gpointer"/>
3331
<method name="call_set_view_is_active_finish"
3332
c:identifier="unity_webapps_gen_context_call_set_view_is_active_finish"
3334
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_set_view_is_active().</doc>
3335
<return-value transfer-ownership="none" skip="1">
3336
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3337
<type name="gboolean" c:type="gboolean"/>
3340
<parameter name="res" transfer-ownership="none">
3341
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_set_view_is_active().</doc>
3342
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3346
<method name="call_set_view_is_active_sync"
3347
c:identifier="unity_webapps_gen_context_call_set_view_is_active_sync"
3349
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewIsActive">SetViewIsActive()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3351
See unity_webapps_gen_context_call_set_view_is_active() for the asynchronous version of this method.</doc>
3352
<return-value transfer-ownership="none" skip="1">
3353
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3354
<type name="gboolean" c:type="gboolean"/>
3357
<parameter name="arg_interest" transfer-ownership="none">
3358
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3359
<type name="gint" c:type="gint"/>
3361
<parameter name="arg_active" transfer-ownership="none">
3362
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3363
<type name="gboolean" c:type="gboolean"/>
3365
<parameter name="cancellable"
3366
transfer-ownership="none"
3368
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3369
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3373
<method name="call_set_view_location"
3374
c:identifier="unity_webapps_gen_context_call_set_view_location">
3375
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewLocation">SetViewLocation()</link> D-Bus method on @proxy.
3376
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3377
You can then call unity_webapps_gen_context_call_set_view_location_finish() to get the result of the operation.
3379
See unity_webapps_gen_context_call_set_view_location_sync() for the synchronous, blocking version of this method.</doc>
3380
<return-value transfer-ownership="none">
3381
<type name="none" c:type="void"/>
3384
<parameter name="arg_interest" transfer-ownership="none">
3385
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3386
<type name="gint" c:type="gint"/>
3388
<parameter name="arg_location" transfer-ownership="none">
3389
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3390
<type name="utf8" c:type="const gchar*"/>
3392
<parameter name="cancellable"
3393
transfer-ownership="none"
3395
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3396
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3398
<parameter name="callback"
3399
transfer-ownership="none"
3403
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3404
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3406
<parameter name="user_data" transfer-ownership="none">
3407
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3408
<type name="gpointer" c:type="gpointer"/>
3412
<method name="call_set_view_location_finish"
3413
c:identifier="unity_webapps_gen_context_call_set_view_location_finish"
3415
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_set_view_location().</doc>
3416
<return-value transfer-ownership="none" skip="1">
3417
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3418
<type name="gboolean" c:type="gboolean"/>
3421
<parameter name="res" transfer-ownership="none">
3422
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_set_view_location().</doc>
3423
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3427
<method name="call_set_view_location_sync"
3428
c:identifier="unity_webapps_gen_context_call_set_view_location_sync"
3430
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewLocation">SetViewLocation()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3432
See unity_webapps_gen_context_call_set_view_location() for the asynchronous version of this method.</doc>
3433
<return-value transfer-ownership="none" skip="1">
3434
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3435
<type name="gboolean" c:type="gboolean"/>
3438
<parameter name="arg_interest" transfer-ownership="none">
3439
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3440
<type name="gint" c:type="gint"/>
3442
<parameter name="arg_location" transfer-ownership="none">
3443
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3444
<type name="utf8" c:type="const gchar*"/>
3446
<parameter name="cancellable"
3447
transfer-ownership="none"
3449
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3450
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3454
<method name="call_set_view_window"
3455
c:identifier="unity_webapps_gen_context_call_set_view_window">
3456
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewWindow">SetViewWindow()</link> D-Bus method on @proxy.
3457
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3458
You can then call unity_webapps_gen_context_call_set_view_window_finish() to get the result of the operation.
3460
See unity_webapps_gen_context_call_set_view_window_sync() for the synchronous, blocking version of this method.</doc>
3461
<return-value transfer-ownership="none">
3462
<type name="none" c:type="void"/>
3465
<parameter name="arg_interest" transfer-ownership="none">
3466
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3467
<type name="gint" c:type="gint"/>
3469
<parameter name="arg_window" transfer-ownership="none">
3470
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3471
<type name="guint64" c:type="guint64"/>
3473
<parameter name="cancellable"
3474
transfer-ownership="none"
3476
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3477
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3479
<parameter name="callback"
3480
transfer-ownership="none"
3484
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3485
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3487
<parameter name="user_data" transfer-ownership="none">
3488
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3489
<type name="gpointer" c:type="gpointer"/>
3493
<method name="call_set_view_window_finish"
3494
c:identifier="unity_webapps_gen_context_call_set_view_window_finish"
3496
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_set_view_window().</doc>
3497
<return-value transfer-ownership="none" skip="1">
3498
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3499
<type name="gboolean" c:type="gboolean"/>
3502
<parameter name="res" transfer-ownership="none">
3503
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_set_view_window().</doc>
3504
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3508
<method name="call_set_view_window_sync"
3509
c:identifier="unity_webapps_gen_context_call_set_view_window_sync"
3511
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewWindow">SetViewWindow()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3513
See unity_webapps_gen_context_call_set_view_window() for the asynchronous version of this method.</doc>
3514
<return-value transfer-ownership="none" skip="1">
3515
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3516
<type name="gboolean" c:type="gboolean"/>
3519
<parameter name="arg_interest" transfer-ownership="none">
3520
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3521
<type name="gint" c:type="gint"/>
3523
<parameter name="arg_window" transfer-ownership="none">
3524
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
3525
<type name="guint64" c:type="guint64"/>
3527
<parameter name="cancellable"
3528
transfer-ownership="none"
3530
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3531
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3535
<method name="call_shutdown"
3536
c:identifier="unity_webapps_gen_context_call_shutdown">
3537
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Shutdown">Shutdown()</link> D-Bus method on @proxy.
3538
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
3539
You can then call unity_webapps_gen_context_call_shutdown_finish() to get the result of the operation.
3541
See unity_webapps_gen_context_call_shutdown_sync() for the synchronous, blocking version of this method.</doc>
3542
<return-value transfer-ownership="none">
3543
<type name="none" c:type="void"/>
3546
<parameter name="cancellable"
3547
transfer-ownership="none"
3549
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3550
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3552
<parameter name="callback"
3553
transfer-ownership="none"
3557
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
3558
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
3560
<parameter name="user_data" transfer-ownership="none">
3561
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
3562
<type name="gpointer" c:type="gpointer"/>
3566
<method name="call_shutdown_finish"
3567
c:identifier="unity_webapps_gen_context_call_shutdown_finish"
3569
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_call_shutdown().</doc>
3570
<return-value transfer-ownership="none" skip="1">
3571
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3572
<type name="gboolean" c:type="gboolean"/>
3575
<parameter name="res" transfer-ownership="none">
3576
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_call_shutdown().</doc>
3577
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
3581
<method name="call_shutdown_sync"
3582
c:identifier="unity_webapps_gen_context_call_shutdown_sync"
3584
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Shutdown">Shutdown()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
3586
See unity_webapps_gen_context_call_shutdown() for the asynchronous version of this method.</doc>
3587
<return-value transfer-ownership="none" skip="1">
3588
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
3589
<type name="gboolean" c:type="gboolean"/>
3592
<parameter name="cancellable"
3593
transfer-ownership="none"
3595
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
3596
<type name="Gio.Cancellable" c:type="GCancellable*"/>
3600
<method name="complete_add_application_actions"
3601
c:identifier="unity_webapps_gen_context_complete_add_application_actions">
3602
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddApplicationActions">AddApplicationActions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3604
This method will free @invocation, you cannot use it afterwards.</doc>
3605
<return-value transfer-ownership="none">
3606
<type name="none" c:type="void"/>
3609
<parameter name="invocation" transfer-ownership="full">
3610
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3611
<type name="Gio.DBusMethodInvocation"
3612
c:type="GDBusMethodInvocation*"/>
3616
<method name="complete_add_icon"
3617
c:identifier="unity_webapps_gen_context_complete_add_icon">
3618
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddIcon">AddIcon()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3620
This method will free @invocation, you cannot use it afterwards.</doc>
3621
<return-value transfer-ownership="none">
3622
<type name="none" c:type="void"/>
3625
<parameter name="invocation" transfer-ownership="full">
3626
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3627
<type name="Gio.DBusMethodInvocation"
3628
c:type="GDBusMethodInvocation*"/>
3632
<method name="complete_add_interest"
3633
c:identifier="unity_webapps_gen_context_complete_add_interest">
3634
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddInterest">AddInterest()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3636
This method will free @invocation, you cannot use it afterwards.</doc>
3637
<return-value transfer-ownership="none">
3638
<type name="none" c:type="void"/>
3641
<parameter name="invocation" transfer-ownership="full">
3642
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3643
<type name="Gio.DBusMethodInvocation"
3644
c:type="GDBusMethodInvocation*"/>
3646
<parameter name="id" transfer-ownership="none">
3647
<doc xml:whitespace="preserve">Parameter to return.</doc>
3648
<type name="gint" c:type="gint"/>
3652
<method name="complete_close"
3653
c:identifier="unity_webapps_gen_context_complete_close">
3654
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Close">Close()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3656
This method will free @invocation, you cannot use it afterwards.</doc>
3657
<return-value transfer-ownership="none">
3658
<type name="none" c:type="void"/>
3661
<parameter name="invocation" transfer-ownership="full">
3662
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3663
<type name="Gio.DBusMethodInvocation"
3664
c:type="GDBusMethodInvocation*"/>
3668
<method name="complete_close_interest"
3669
c:identifier="unity_webapps_gen_context_complete_close_interest">
3670
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.CloseInterest">CloseInterest()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3672
This method will free @invocation, you cannot use it afterwards.</doc>
3673
<return-value transfer-ownership="none">
3674
<type name="none" c:type="void"/>
3677
<parameter name="invocation" transfer-ownership="full">
3678
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3679
<type name="Gio.DBusMethodInvocation"
3680
c:type="GDBusMethodInvocation*"/>
3684
<method name="complete_get_application_accept_data"
3685
c:identifier="unity_webapps_gen_context_complete_get_application_accept_data">
3686
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetApplicationAcceptData">GetApplicationAcceptData()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3688
This method will free @invocation, you cannot use it afterwards.</doc>
3689
<return-value transfer-ownership="none">
3690
<type name="none" c:type="void"/>
3693
<parameter name="invocation" transfer-ownership="full">
3694
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3695
<type name="Gio.DBusMethodInvocation"
3696
c:type="GDBusMethodInvocation*"/>
3698
<parameter name="names" transfer-ownership="none">
3699
<doc xml:whitespace="preserve">Parameter to return.</doc>
3700
<type name="utf8" c:type="const gchar* const*"/>
3704
<method name="complete_get_icon_name"
3705
c:identifier="unity_webapps_gen_context_complete_get_icon_name">
3706
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetIconName">GetIconName()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3708
This method will free @invocation, you cannot use it afterwards.</doc>
3709
<return-value transfer-ownership="none">
3710
<type name="none" c:type="void"/>
3713
<parameter name="invocation" transfer-ownership="full">
3714
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3715
<type name="Gio.DBusMethodInvocation"
3716
c:type="GDBusMethodInvocation*"/>
3718
<parameter name="IconName" transfer-ownership="none">
3719
<doc xml:whitespace="preserve">Parameter to return.</doc>
3720
<type name="utf8" c:type="const gchar*"/>
3724
<method name="complete_get_interest_count"
3725
c:identifier="unity_webapps_gen_context_complete_get_interest_count">
3726
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestCount">GetInterestCount()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3728
This method will free @invocation, you cannot use it afterwards.</doc>
3729
<return-value transfer-ownership="none">
3730
<type name="none" c:type="void"/>
3733
<parameter name="invocation" transfer-ownership="full">
3734
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3735
<type name="Gio.DBusMethodInvocation"
3736
c:type="GDBusMethodInvocation*"/>
3738
<parameter name="count" transfer-ownership="none">
3739
<doc xml:whitespace="preserve">Parameter to return.</doc>
3740
<type name="gint" c:type="gint"/>
3744
<method name="complete_get_interest_owner"
3745
c:identifier="unity_webapps_gen_context_complete_get_interest_owner">
3746
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestOwner">GetInterestOwner()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3748
This method will free @invocation, you cannot use it afterwards.</doc>
3749
<return-value transfer-ownership="none">
3750
<type name="none" c:type="void"/>
3753
<parameter name="invocation" transfer-ownership="full">
3754
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3755
<type name="Gio.DBusMethodInvocation"
3756
c:type="GDBusMethodInvocation*"/>
3758
<parameter name="owner" transfer-ownership="none">
3759
<doc xml:whitespace="preserve">Parameter to return.</doc>
3760
<type name="utf8" c:type="const gchar*"/>
3764
<method name="complete_get_view_is_active"
3765
c:identifier="unity_webapps_gen_context_complete_get_view_is_active">
3766
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewIsActive">GetViewIsActive()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3768
This method will free @invocation, you cannot use it afterwards.</doc>
3769
<return-value transfer-ownership="none">
3770
<type name="none" c:type="void"/>
3773
<parameter name="invocation" transfer-ownership="full">
3774
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3775
<type name="Gio.DBusMethodInvocation"
3776
c:type="GDBusMethodInvocation*"/>
3778
<parameter name="active" transfer-ownership="none">
3779
<doc xml:whitespace="preserve">Parameter to return.</doc>
3780
<type name="gboolean" c:type="gboolean"/>
3784
<method name="complete_get_view_location"
3785
c:identifier="unity_webapps_gen_context_complete_get_view_location">
3786
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewLocation">GetViewLocation()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3788
This method will free @invocation, you cannot use it afterwards.</doc>
3789
<return-value transfer-ownership="none">
3790
<type name="none" c:type="void"/>
3793
<parameter name="invocation" transfer-ownership="full">
3794
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3795
<type name="Gio.DBusMethodInvocation"
3796
c:type="GDBusMethodInvocation*"/>
3798
<parameter name="location" transfer-ownership="none">
3799
<doc xml:whitespace="preserve">Parameter to return.</doc>
3800
<type name="utf8" c:type="const gchar*"/>
3804
<method name="complete_get_view_window"
3805
c:identifier="unity_webapps_gen_context_complete_get_view_window">
3806
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewWindow">GetViewWindow()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3808
This method will free @invocation, you cannot use it afterwards.</doc>
3809
<return-value transfer-ownership="none">
3810
<type name="none" c:type="void"/>
3813
<parameter name="invocation" transfer-ownership="full">
3814
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3815
<type name="Gio.DBusMethodInvocation"
3816
c:type="GDBusMethodInvocation*"/>
3818
<parameter name="window" transfer-ownership="none">
3819
<doc xml:whitespace="preserve">Parameter to return.</doc>
3820
<type name="guint64" c:type="guint64"/>
3824
<method name="complete_list_interests"
3825
c:identifier="unity_webapps_gen_context_complete_list_interests">
3826
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.ListInterests">ListInterests()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3828
This method will free @invocation, you cannot use it afterwards.</doc>
3829
<return-value transfer-ownership="none">
3830
<type name="none" c:type="void"/>
3833
<parameter name="invocation" transfer-ownership="full">
3834
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3835
<type name="Gio.DBusMethodInvocation"
3836
c:type="GDBusMethodInvocation*"/>
3838
<parameter name="interests" transfer-ownership="none">
3839
<doc xml:whitespace="preserve">Parameter to return.</doc>
3840
<type name="GLib.Variant" c:type="GVariant*"/>
3844
<method name="complete_lost_interest"
3845
c:identifier="unity_webapps_gen_context_complete_lost_interest">
3846
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.LostInterest">LostInterest()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3848
This method will free @invocation, you cannot use it afterwards.</doc>
3849
<return-value transfer-ownership="none">
3850
<type name="none" c:type="void"/>
3853
<parameter name="invocation" transfer-ownership="full">
3854
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3855
<type name="Gio.DBusMethodInvocation"
3856
c:type="GDBusMethodInvocation*"/>
3860
<method name="complete_preview_ready"
3861
c:identifier="unity_webapps_gen_context_complete_preview_ready">
3862
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.PreviewReady">PreviewReady()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3864
This method will free @invocation, you cannot use it afterwards.</doc>
3865
<return-value transfer-ownership="none">
3866
<type name="none" c:type="void"/>
3869
<parameter name="invocation" transfer-ownership="full">
3870
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3871
<type name="Gio.DBusMethodInvocation"
3872
c:type="GDBusMethodInvocation*"/>
3876
<method name="complete_raise"
3877
c:identifier="unity_webapps_gen_context_complete_raise">
3878
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Raise">Raise()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3880
This method will free @invocation, you cannot use it afterwards.</doc>
3881
<return-value transfer-ownership="none">
3882
<type name="none" c:type="void"/>
3885
<parameter name="invocation" transfer-ownership="full">
3886
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3887
<type name="Gio.DBusMethodInvocation"
3888
c:type="GDBusMethodInvocation*"/>
3892
<method name="complete_raise_interest"
3893
c:identifier="unity_webapps_gen_context_complete_raise_interest">
3894
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RaiseInterest">RaiseInterest()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3896
This method will free @invocation, you cannot use it afterwards.</doc>
3897
<return-value transfer-ownership="none">
3898
<type name="none" c:type="void"/>
3901
<parameter name="invocation" transfer-ownership="full">
3902
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3903
<type name="Gio.DBusMethodInvocation"
3904
c:type="GDBusMethodInvocation*"/>
3908
<method name="complete_remove_application_action"
3909
c:identifier="unity_webapps_gen_context_complete_remove_application_action">
3910
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationAction">RemoveApplicationAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3912
This method will free @invocation, you cannot use it afterwards.</doc>
3913
<return-value transfer-ownership="none">
3914
<type name="none" c:type="void"/>
3917
<parameter name="invocation" transfer-ownership="full">
3918
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3919
<type name="Gio.DBusMethodInvocation"
3920
c:type="GDBusMethodInvocation*"/>
3924
<method name="complete_remove_application_actions"
3925
c:identifier="unity_webapps_gen_context_complete_remove_application_actions">
3926
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationActions">RemoveApplicationActions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3928
This method will free @invocation, you cannot use it afterwards.</doc>
3929
<return-value transfer-ownership="none">
3930
<type name="none" c:type="void"/>
3933
<parameter name="invocation" transfer-ownership="full">
3934
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3935
<type name="Gio.DBusMethodInvocation"
3936
c:type="GDBusMethodInvocation*"/>
3940
<method name="complete_request_preview"
3941
c:identifier="unity_webapps_gen_context_complete_request_preview">
3942
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RequestPreview">RequestPreview()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3944
This method will free @invocation, you cannot use it afterwards.</doc>
3945
<return-value transfer-ownership="none">
3946
<type name="none" c:type="void"/>
3949
<parameter name="invocation" transfer-ownership="full">
3950
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3951
<type name="Gio.DBusMethodInvocation"
3952
c:type="GDBusMethodInvocation*"/>
3954
<parameter name="data" transfer-ownership="none">
3955
<doc xml:whitespace="preserve">Parameter to return.</doc>
3956
<type name="utf8" c:type="const gchar*"/>
3960
<method name="complete_set_application_accept_data"
3961
c:identifier="unity_webapps_gen_context_complete_set_application_accept_data">
3962
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetApplicationAcceptData">SetApplicationAcceptData()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3964
This method will free @invocation, you cannot use it afterwards.</doc>
3965
<return-value transfer-ownership="none">
3966
<type name="none" c:type="void"/>
3969
<parameter name="invocation" transfer-ownership="full">
3970
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3971
<type name="Gio.DBusMethodInvocation"
3972
c:type="GDBusMethodInvocation*"/>
3976
<method name="complete_set_homepage"
3977
c:identifier="unity_webapps_gen_context_complete_set_homepage">
3978
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetHomepage">SetHomepage()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3980
This method will free @invocation, you cannot use it afterwards.</doc>
3981
<return-value transfer-ownership="none">
3982
<type name="none" c:type="void"/>
3985
<parameter name="invocation" transfer-ownership="full">
3986
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
3987
<type name="Gio.DBusMethodInvocation"
3988
c:type="GDBusMethodInvocation*"/>
3992
<method name="complete_set_view_is_active"
3993
c:identifier="unity_webapps_gen_context_complete_set_view_is_active">
3994
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewIsActive">SetViewIsActive()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
3996
This method will free @invocation, you cannot use it afterwards.</doc>
3997
<return-value transfer-ownership="none">
3998
<type name="none" c:type="void"/>
4001
<parameter name="invocation" transfer-ownership="full">
4002
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4003
<type name="Gio.DBusMethodInvocation"
4004
c:type="GDBusMethodInvocation*"/>
4008
<method name="complete_set_view_location"
4009
c:identifier="unity_webapps_gen_context_complete_set_view_location">
4010
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewLocation">SetViewLocation()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
4012
This method will free @invocation, you cannot use it afterwards.</doc>
4013
<return-value transfer-ownership="none">
4014
<type name="none" c:type="void"/>
4017
<parameter name="invocation" transfer-ownership="full">
4018
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4019
<type name="Gio.DBusMethodInvocation"
4020
c:type="GDBusMethodInvocation*"/>
4024
<method name="complete_set_view_window"
4025
c:identifier="unity_webapps_gen_context_complete_set_view_window">
4026
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewWindow">SetViewWindow()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
4028
This method will free @invocation, you cannot use it afterwards.</doc>
4029
<return-value transfer-ownership="none">
4030
<type name="none" c:type="void"/>
4033
<parameter name="invocation" transfer-ownership="full">
4034
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4035
<type name="Gio.DBusMethodInvocation"
4036
c:type="GDBusMethodInvocation*"/>
4040
<method name="complete_shutdown"
4041
c:identifier="unity_webapps_gen_context_complete_shutdown">
4042
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Shutdown">Shutdown()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
4044
This method will free @invocation, you cannot use it afterwards.</doc>
4045
<return-value transfer-ownership="none">
4046
<type name="none" c:type="void"/>
4049
<parameter name="invocation" transfer-ownership="full">
4050
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4051
<type name="Gio.DBusMethodInvocation"
4052
c:type="GDBusMethodInvocation*"/>
4056
<method name="dup_desktop_name"
4057
c:identifier="unity_webapps_gen_context_dup_desktop_name"
4059
<doc xml:whitespace="preserve">Gets a copy of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.DesktopName">"DesktopName"</link> D-Bus property.
4061
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
4062
<return-value transfer-ownership="full">
4063
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. The returned value should be freed with g_free().</doc>
4064
<type name="utf8" c:type="gchar*"/>
4067
<method name="dup_domain"
4068
c:identifier="unity_webapps_gen_context_dup_domain"
4070
<doc xml:whitespace="preserve">Gets a copy of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Domain">"Domain"</link> D-Bus property.
4072
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
4073
<return-value transfer-ownership="full">
4074
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. The returned value should be freed with g_free().</doc>
4075
<type name="utf8" c:type="gchar*"/>
4078
<method name="dup_name"
4079
c:identifier="unity_webapps_gen_context_dup_name"
4081
<doc xml:whitespace="preserve">Gets a copy of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Name">"Name"</link> D-Bus property.
4083
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
4084
<return-value transfer-ownership="full">
4085
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. The returned value should be freed with g_free().</doc>
4086
<type name="utf8" c:type="gchar*"/>
4089
<method name="emit_accept_data_changed"
4090
c:identifier="unity_webapps_gen_context_emit_accept_data_changed">
4091
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.AcceptDataChanged">"AcceptDataChanged"</link> D-Bus signal.</doc>
4092
<return-value transfer-ownership="none">
4093
<type name="none" c:type="void"/>
4096
<parameter name="arg_files" transfer-ownership="none">
4097
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4098
<type name="utf8" c:type="const gchar* const*"/>
4102
<method name="emit_application_action_invoked"
4103
c:identifier="unity_webapps_gen_context_emit_application_action_invoked">
4104
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ApplicationActionInvoked">"ApplicationActionInvoked"</link> D-Bus signal.</doc>
4105
<return-value transfer-ownership="none">
4106
<type name="none" c:type="void"/>
4109
<parameter name="arg_name" transfer-ownership="none">
4110
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4111
<type name="utf8" c:type="const gchar*"/>
4115
<method name="emit_close_requested"
4116
c:identifier="unity_webapps_gen_context_emit_close_requested">
4117
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.CloseRequested">"CloseRequested"</link> D-Bus signal.</doc>
4118
<return-value transfer-ownership="none">
4119
<type name="none" c:type="void"/>
4122
<parameter name="arg_interest" transfer-ownership="none">
4123
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4124
<type name="gint" c:type="gint"/>
4128
<method name="emit_context_ready"
4129
c:identifier="unity_webapps_gen_context_emit_context_ready">
4130
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ContextReady">"ContextReady"</link> D-Bus signal.</doc>
4131
<return-value transfer-ownership="none">
4132
<type name="none" c:type="void"/>
4135
<parameter name="arg_version" transfer-ownership="none">
4136
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4137
<type name="utf8" c:type="const gchar*"/>
4141
<method name="emit_interest_appeared"
4142
c:identifier="unity_webapps_gen_context_emit_interest_appeared">
4143
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.InterestAppeared">"InterestAppeared"</link> D-Bus signal.</doc>
4144
<return-value transfer-ownership="none">
4145
<type name="none" c:type="void"/>
4148
<parameter name="arg_interest" transfer-ownership="none">
4149
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4150
<type name="gint" c:type="gint"/>
4154
<method name="emit_interest_vanished"
4155
c:identifier="unity_webapps_gen_context_emit_interest_vanished">
4156
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.InterestVanished">"InterestVanished"</link> D-Bus signal.</doc>
4157
<return-value transfer-ownership="none">
4158
<type name="none" c:type="void"/>
4161
<parameter name="arg_interest" transfer-ownership="none">
4162
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4163
<type name="gint" c:type="gint"/>
4167
<method name="emit_no_interest"
4168
c:identifier="unity_webapps_gen_context_emit_no_interest">
4169
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.NoInterest">"NoInterest"</link> D-Bus signal.</doc>
4170
<return-value transfer-ownership="none">
4171
<type name="none" c:type="void"/>
4174
<parameter name="arg_user_abandoned" transfer-ownership="none">
4175
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4176
<type name="gboolean" c:type="gboolean"/>
4180
<method name="emit_preview_requested"
4181
c:identifier="unity_webapps_gen_context_emit_preview_requested">
4182
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.PreviewRequested">"PreviewRequested"</link> D-Bus signal.</doc>
4183
<return-value transfer-ownership="none">
4184
<type name="none" c:type="void"/>
4187
<parameter name="arg_interest" transfer-ownership="none">
4188
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4189
<type name="gint" c:type="gint"/>
4193
<method name="emit_raise_requested"
4194
c:identifier="unity_webapps_gen_context_emit_raise_requested">
4195
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.RaiseRequested">"RaiseRequested"</link> D-Bus signal.</doc>
4196
<return-value transfer-ownership="none">
4197
<type name="none" c:type="void"/>
4200
<parameter name="arg_interest" transfer-ownership="none">
4201
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4202
<type name="gint" c:type="gint"/>
4204
<parameter name="arg_files" transfer-ownership="none">
4205
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4206
<type name="utf8" c:type="const gchar* const*"/>
4210
<method name="emit_view_is_active_changed"
4211
c:identifier="unity_webapps_gen_context_emit_view_is_active_changed">
4212
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewIsActiveChanged">"ViewIsActiveChanged"</link> D-Bus signal.</doc>
4213
<return-value transfer-ownership="none">
4214
<type name="none" c:type="void"/>
4217
<parameter name="arg_interest" transfer-ownership="none">
4218
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4219
<type name="gint" c:type="gint"/>
4221
<parameter name="arg_active" transfer-ownership="none">
4222
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4223
<type name="gboolean" c:type="gboolean"/>
4227
<method name="emit_view_location_changed"
4228
c:identifier="unity_webapps_gen_context_emit_view_location_changed">
4229
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewLocationChanged">"ViewLocationChanged"</link> D-Bus signal.</doc>
4230
<return-value transfer-ownership="none">
4231
<type name="none" c:type="void"/>
4234
<parameter name="arg_interest" transfer-ownership="none">
4235
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4236
<type name="gint" c:type="gint"/>
4238
<parameter name="arg_location" transfer-ownership="none">
4239
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4240
<type name="utf8" c:type="const gchar*"/>
4244
<method name="emit_view_window_changed"
4245
c:identifier="unity_webapps_gen_context_emit_view_window_changed">
4246
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewWindowChanged">"ViewWindowChanged"</link> D-Bus signal.</doc>
4247
<return-value transfer-ownership="none">
4248
<type name="none" c:type="void"/>
4251
<parameter name="arg_interest" transfer-ownership="none">
4252
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4253
<type name="gint" c:type="gint"/>
4255
<parameter name="arg_window" transfer-ownership="none">
4256
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
4257
<type name="guint64" c:type="guint64"/>
4261
<method name="emit_xid_changed"
4262
c:identifier="unity_webapps_gen_context_emit_xid_changed">
4263
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.XidChanged">"XidChanged"</link> D-Bus signal.</doc>
4264
<return-value transfer-ownership="none">
4265
<type name="none" c:type="void"/>
4268
<method name="get_desktop_name"
4269
c:identifier="unity_webapps_gen_context_get_desktop_name"
4271
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.DesktopName">"DesktopName"</link> D-Bus property.
4273
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
4275
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_desktop_name() if on another thread.</warning></doc>
4276
<return-value transfer-ownership="none">
4277
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
4278
<type name="utf8" c:type="const gchar*"/>
4281
<method name="get_domain"
4282
c:identifier="unity_webapps_gen_context_get_domain"
4284
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Domain">"Domain"</link> D-Bus property.
4286
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
4288
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_domain() if on another thread.</warning></doc>
4289
<return-value transfer-ownership="none">
4290
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
4291
<type name="utf8" c:type="const gchar*"/>
4294
<method name="get_focus_interest"
4295
c:identifier="unity_webapps_gen_context_get_focus_interest"
4297
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.FocusInterest">"FocusInterest"</link> D-Bus property.
4299
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
4300
<return-value transfer-ownership="none">
4301
<doc xml:whitespace="preserve">The property value.</doc>
4302
<type name="gint" c:type="gint"/>
4305
<method name="get_name"
4306
c:identifier="unity_webapps_gen_context_get_name"
4308
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Name">"Name"</link> D-Bus property.
4310
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
4312
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_context_dup_name() if on another thread.</warning></doc>
4313
<return-value transfer-ownership="none">
4314
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
4315
<type name="utf8" c:type="const gchar*"/>
4318
<method name="get_view_is_active"
4319
c:identifier="unity_webapps_gen_context_get_view_is_active"
4321
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.ViewIsActive">"ViewIsActive"</link> D-Bus property.
4323
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
4324
<return-value transfer-ownership="none">
4325
<doc xml:whitespace="preserve">The property value.</doc>
4326
<type name="gboolean" c:type="gboolean"/>
4329
<method name="set_desktop_name"
4330
c:identifier="unity_webapps_gen_context_set_desktop_name"
4332
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.DesktopName">"DesktopName"</link> D-Bus property to @value.
4334
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</doc>
4335
<return-value transfer-ownership="none">
4336
<type name="none" c:type="void"/>
4339
<parameter name="value" transfer-ownership="none">
4340
<doc xml:whitespace="preserve">The value to set.</doc>
4341
<type name="utf8" c:type="const gchar*"/>
4345
<method name="set_domain"
4346
c:identifier="unity_webapps_gen_context_set_domain"
4348
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Domain">"Domain"</link> D-Bus property to @value.
4350
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</doc>
4351
<return-value transfer-ownership="none">
4352
<type name="none" c:type="void"/>
4355
<parameter name="value" transfer-ownership="none">
4356
<doc xml:whitespace="preserve">The value to set.</doc>
4357
<type name="utf8" c:type="const gchar*"/>
4361
<method name="set_focus_interest"
4362
c:identifier="unity_webapps_gen_context_set_focus_interest"
4364
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.FocusInterest">"FocusInterest"</link> D-Bus property to @value.
4366
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</doc>
4367
<return-value transfer-ownership="none">
4368
<type name="none" c:type="void"/>
4371
<parameter name="value" transfer-ownership="none">
4372
<doc xml:whitespace="preserve">The value to set.</doc>
4373
<type name="gint" c:type="gint"/>
4377
<method name="set_name"
4378
c:identifier="unity_webapps_gen_context_set_name"
4380
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Name">"Name"</link> D-Bus property to @value.
4382
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</doc>
4383
<return-value transfer-ownership="none">
4384
<type name="none" c:type="void"/>
4387
<parameter name="value" transfer-ownership="none">
4388
<doc xml:whitespace="preserve">The value to set.</doc>
4389
<type name="utf8" c:type="const gchar*"/>
4393
<method name="set_view_is_active"
4394
c:identifier="unity_webapps_gen_context_set_view_is_active"
4396
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.ViewIsActive">"ViewIsActive"</link> D-Bus property to @value.
4398
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
4399
<return-value transfer-ownership="none">
4400
<type name="none" c:type="void"/>
4403
<parameter name="value" transfer-ownership="none">
4404
<doc xml:whitespace="preserve">The value to set.</doc>
4405
<type name="gboolean" c:type="gboolean"/>
4409
<property name="desktop-name" writable="1" transfer-ownership="none">
4410
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.DesktopName">"DesktopName"</link>.
4412
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</doc>
4415
<property name="domain" writable="1" transfer-ownership="none">
4416
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Domain">"Domain"</link>.
4418
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</doc>
4421
<property name="focus-interest" writable="1" transfer-ownership="none">
4422
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.FocusInterest">"FocusInterest"</link>.
4424
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</doc>
4427
<property name="name" writable="1" transfer-ownership="none">
4428
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.Name">"Name"</link>.
4430
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</doc>
4433
<property name="view-is-active" writable="1" transfer-ownership="none">
4434
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Context.ViewIsActive">"ViewIsActive"</link>.
4436
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
4437
<type name="gboolean"/>
4439
<glib:signal name="accept-data-changed" when="last">
4440
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.AcceptDataChanged">"AcceptDataChanged"</link> is received.
4442
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
4443
<return-value transfer-ownership="none">
4447
<parameter name="arg_files" transfer-ownership="none">
4448
<doc xml:whitespace="preserve">Argument.</doc>
4455
<glib:signal name="application-action-invoked" when="last">
4456
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ApplicationActionInvoked">"ApplicationActionInvoked"</link> is received.
4458
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
4459
<return-value transfer-ownership="none">
4463
<parameter name="arg_name" transfer-ownership="none">
4464
<doc xml:whitespace="preserve">Argument.</doc>
4469
<glib:signal name="close-requested" when="last">
4470
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.CloseRequested">"CloseRequested"</link> is received.
4472
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
4473
<return-value transfer-ownership="none">
4477
<parameter name="arg_interest" transfer-ownership="none">
4478
<doc xml:whitespace="preserve">Argument.</doc>
4483
<glib:signal name="context-ready" when="last">
4484
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ContextReady">"ContextReady"</link> is received.
4486
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
4487
<return-value transfer-ownership="none">
4491
<parameter name="arg_version" transfer-ownership="none">
4492
<doc xml:whitespace="preserve">Argument.</doc>
4497
<glib:signal name="handle-add-application-actions" when="last">
4498
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddApplicationActions">AddApplicationActions()</link> D-Bus method.
4500
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_add_application_actions() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4501
<return-value transfer-ownership="none">
4502
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4503
<type name="gboolean"/>
4506
<parameter name="invocation" transfer-ownership="none">
4507
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4508
<type name="Gio.DBusMethodInvocation"/>
4510
<parameter name="arg_names" transfer-ownership="none">
4511
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4516
<parameter name="arg_interest" transfer-ownership="none">
4517
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4522
<glib:signal name="handle-add-icon" when="last">
4523
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddIcon">AddIcon()</link> D-Bus method.
4525
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_add_icon() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4526
<return-value transfer-ownership="none">
4527
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4528
<type name="gboolean"/>
4531
<parameter name="invocation" transfer-ownership="none">
4532
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4533
<type name="Gio.DBusMethodInvocation"/>
4535
<parameter name="arg_IconUrl" transfer-ownership="none">
4536
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4539
<parameter name="arg_Size" transfer-ownership="none">
4540
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4545
<glib:signal name="handle-add-interest" when="last">
4546
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.AddInterest">AddInterest()</link> D-Bus method.
4548
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_add_interest() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4549
<return-value transfer-ownership="none">
4550
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4551
<type name="gboolean"/>
4554
<parameter name="invocation" transfer-ownership="none">
4555
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4556
<type name="Gio.DBusMethodInvocation"/>
4560
<glib:signal name="handle-close" when="last">
4561
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Close">Close()</link> D-Bus method.
4563
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_close() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4564
<return-value transfer-ownership="none">
4565
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4566
<type name="gboolean"/>
4569
<parameter name="invocation" transfer-ownership="none">
4570
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4571
<type name="Gio.DBusMethodInvocation"/>
4575
<glib:signal name="handle-close-interest" when="last">
4576
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.CloseInterest">CloseInterest()</link> D-Bus method.
4578
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_close_interest() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4579
<return-value transfer-ownership="none">
4580
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4581
<type name="gboolean"/>
4584
<parameter name="invocation" transfer-ownership="none">
4585
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4586
<type name="Gio.DBusMethodInvocation"/>
4588
<parameter name="arg_interest" transfer-ownership="none">
4589
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4594
<glib:signal name="handle-get-application-accept-data" when="last">
4595
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetApplicationAcceptData">GetApplicationAcceptData()</link> D-Bus method.
4597
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_application_accept_data() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4598
<return-value transfer-ownership="none">
4599
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4600
<type name="gboolean"/>
4603
<parameter name="invocation" transfer-ownership="none">
4604
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4605
<type name="Gio.DBusMethodInvocation"/>
4609
<glib:signal name="handle-get-icon-name" when="last">
4610
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetIconName">GetIconName()</link> D-Bus method.
4612
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_icon_name() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4613
<return-value transfer-ownership="none">
4614
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4615
<type name="gboolean"/>
4618
<parameter name="invocation" transfer-ownership="none">
4619
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4620
<type name="Gio.DBusMethodInvocation"/>
4624
<glib:signal name="handle-get-interest-count" when="last">
4625
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestCount">GetInterestCount()</link> D-Bus method.
4627
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_interest_count() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4628
<return-value transfer-ownership="none">
4629
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4630
<type name="gboolean"/>
4633
<parameter name="invocation" transfer-ownership="none">
4634
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4635
<type name="Gio.DBusMethodInvocation"/>
4639
<glib:signal name="handle-get-interest-owner" when="last">
4640
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetInterestOwner">GetInterestOwner()</link> D-Bus method.
4642
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_interest_owner() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4643
<return-value transfer-ownership="none">
4644
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4645
<type name="gboolean"/>
4648
<parameter name="invocation" transfer-ownership="none">
4649
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4650
<type name="Gio.DBusMethodInvocation"/>
4652
<parameter name="arg_interest" transfer-ownership="none">
4653
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4658
<glib:signal name="handle-get-view-is-active" when="last">
4659
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewIsActive">GetViewIsActive()</link> D-Bus method.
4661
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_view_is_active() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4662
<return-value transfer-ownership="none">
4663
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4664
<type name="gboolean"/>
4667
<parameter name="invocation" transfer-ownership="none">
4668
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4669
<type name="Gio.DBusMethodInvocation"/>
4671
<parameter name="arg_interest" transfer-ownership="none">
4672
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4677
<glib:signal name="handle-get-view-location" when="last">
4678
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewLocation">GetViewLocation()</link> D-Bus method.
4680
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_view_location() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4681
<return-value transfer-ownership="none">
4682
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4683
<type name="gboolean"/>
4686
<parameter name="invocation" transfer-ownership="none">
4687
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4688
<type name="Gio.DBusMethodInvocation"/>
4690
<parameter name="arg_interest" transfer-ownership="none">
4691
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4696
<glib:signal name="handle-get-view-window" when="last">
4697
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.GetViewWindow">GetViewWindow()</link> D-Bus method.
4699
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_get_view_window() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4700
<return-value transfer-ownership="none">
4701
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4702
<type name="gboolean"/>
4705
<parameter name="invocation" transfer-ownership="none">
4706
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4707
<type name="Gio.DBusMethodInvocation"/>
4709
<parameter name="arg_interest" transfer-ownership="none">
4710
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4715
<glib:signal name="handle-list-interests" when="last">
4716
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.ListInterests">ListInterests()</link> D-Bus method.
4718
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_list_interests() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4719
<return-value transfer-ownership="none">
4720
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4721
<type name="gboolean"/>
4724
<parameter name="invocation" transfer-ownership="none">
4725
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4726
<type name="Gio.DBusMethodInvocation"/>
4730
<glib:signal name="handle-lost-interest" when="last">
4731
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.LostInterest">LostInterest()</link> D-Bus method.
4733
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_lost_interest() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4734
<return-value transfer-ownership="none">
4735
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4736
<type name="gboolean"/>
4739
<parameter name="invocation" transfer-ownership="none">
4740
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4741
<type name="Gio.DBusMethodInvocation"/>
4743
<parameter name="arg_id" transfer-ownership="none">
4744
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4747
<parameter name="arg_user_abandoned" transfer-ownership="none">
4748
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4749
<type name="gboolean"/>
4753
<glib:signal name="handle-preview-ready" when="last">
4754
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.PreviewReady">PreviewReady()</link> D-Bus method.
4756
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_preview_ready() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4757
<return-value transfer-ownership="none">
4758
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4759
<type name="gboolean"/>
4762
<parameter name="invocation" transfer-ownership="none">
4763
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4764
<type name="Gio.DBusMethodInvocation"/>
4766
<parameter name="arg_interest" transfer-ownership="none">
4767
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4770
<parameter name="arg_data" transfer-ownership="none">
4771
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4776
<glib:signal name="handle-raise" when="last">
4777
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Raise">Raise()</link> D-Bus method.
4779
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_raise() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4780
<return-value transfer-ownership="none">
4781
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4782
<type name="gboolean"/>
4785
<parameter name="invocation" transfer-ownership="none">
4786
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4787
<type name="Gio.DBusMethodInvocation"/>
4789
<parameter name="arg_files" transfer-ownership="none">
4790
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4797
<glib:signal name="handle-raise-interest" when="last">
4798
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RaiseInterest">RaiseInterest()</link> D-Bus method.
4800
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_raise_interest() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4801
<return-value transfer-ownership="none">
4802
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4803
<type name="gboolean"/>
4806
<parameter name="invocation" transfer-ownership="none">
4807
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4808
<type name="Gio.DBusMethodInvocation"/>
4810
<parameter name="arg_interest" transfer-ownership="none">
4811
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4816
<glib:signal name="handle-remove-application-action" when="last">
4817
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationAction">RemoveApplicationAction()</link> D-Bus method.
4819
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_remove_application_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4820
<return-value transfer-ownership="none">
4821
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4822
<type name="gboolean"/>
4825
<parameter name="invocation" transfer-ownership="none">
4826
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4827
<type name="Gio.DBusMethodInvocation"/>
4829
<parameter name="arg_name" transfer-ownership="none">
4830
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4833
<parameter name="arg_interest" transfer-ownership="none">
4834
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4839
<glib:signal name="handle-remove-application-actions" when="last">
4840
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RemoveApplicationActions">RemoveApplicationActions()</link> D-Bus method.
4842
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_remove_application_actions() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4843
<return-value transfer-ownership="none">
4844
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4845
<type name="gboolean"/>
4848
<parameter name="invocation" transfer-ownership="none">
4849
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4850
<type name="Gio.DBusMethodInvocation"/>
4852
<parameter name="arg_interest" transfer-ownership="none">
4853
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4858
<glib:signal name="handle-request-preview" when="last">
4859
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.RequestPreview">RequestPreview()</link> D-Bus method.
4861
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_request_preview() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4862
<return-value transfer-ownership="none">
4863
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4864
<type name="gboolean"/>
4867
<parameter name="invocation" transfer-ownership="none">
4868
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4869
<type name="Gio.DBusMethodInvocation"/>
4871
<parameter name="arg_interest" transfer-ownership="none">
4872
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4877
<glib:signal name="handle-set-application-accept-data" when="last">
4878
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetApplicationAcceptData">SetApplicationAcceptData()</link> D-Bus method.
4880
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_set_application_accept_data() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4881
<return-value transfer-ownership="none">
4882
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4883
<type name="gboolean"/>
4886
<parameter name="invocation" transfer-ownership="none">
4887
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4888
<type name="Gio.DBusMethodInvocation"/>
4890
<parameter name="arg_names" transfer-ownership="none">
4891
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4896
<parameter name="arg_interest" transfer-ownership="none">
4897
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4902
<glib:signal name="handle-set-homepage" when="last">
4903
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetHomepage">SetHomepage()</link> D-Bus method.
4905
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_set_homepage() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4906
<return-value transfer-ownership="none">
4907
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4908
<type name="gboolean"/>
4911
<parameter name="invocation" transfer-ownership="none">
4912
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4913
<type name="Gio.DBusMethodInvocation"/>
4915
<parameter name="arg_homepage" transfer-ownership="none">
4916
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4921
<glib:signal name="handle-set-view-is-active" when="last">
4922
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewIsActive">SetViewIsActive()</link> D-Bus method.
4924
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_set_view_is_active() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4925
<return-value transfer-ownership="none">
4926
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4927
<type name="gboolean"/>
4930
<parameter name="invocation" transfer-ownership="none">
4931
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4932
<type name="Gio.DBusMethodInvocation"/>
4934
<parameter name="arg_interest" transfer-ownership="none">
4935
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4938
<parameter name="arg_active" transfer-ownership="none">
4939
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4940
<type name="gboolean"/>
4944
<glib:signal name="handle-set-view-location" when="last">
4945
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewLocation">SetViewLocation()</link> D-Bus method.
4947
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_set_view_location() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4948
<return-value transfer-ownership="none">
4949
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4950
<type name="gboolean"/>
4953
<parameter name="invocation" transfer-ownership="none">
4954
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4955
<type name="Gio.DBusMethodInvocation"/>
4957
<parameter name="arg_interest" transfer-ownership="none">
4958
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4961
<parameter name="arg_location" transfer-ownership="none">
4962
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4967
<glib:signal name="handle-set-view-window" when="last">
4968
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.SetViewWindow">SetViewWindow()</link> D-Bus method.
4970
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_set_view_window() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4971
<return-value transfer-ownership="none">
4972
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4973
<type name="gboolean"/>
4976
<parameter name="invocation" transfer-ownership="none">
4977
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
4978
<type name="Gio.DBusMethodInvocation"/>
4980
<parameter name="arg_interest" transfer-ownership="none">
4981
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4984
<parameter name="arg_window" transfer-ownership="none">
4985
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
4986
<type name="guint64"/>
4990
<glib:signal name="handle-shutdown" when="last">
4991
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Context.Shutdown">Shutdown()</link> D-Bus method.
4993
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_context_complete_shutdown() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
4994
<return-value transfer-ownership="none">
4995
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
4996
<type name="gboolean"/>
4999
<parameter name="invocation" transfer-ownership="none">
5000
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
5001
<type name="Gio.DBusMethodInvocation"/>
5005
<glib:signal name="interest-appeared" when="last">
5006
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.InterestAppeared">"InterestAppeared"</link> is received.
5008
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5009
<return-value transfer-ownership="none">
5013
<parameter name="arg_interest" transfer-ownership="none">
5014
<doc xml:whitespace="preserve">Argument.</doc>
5019
<glib:signal name="interest-vanished" when="last">
5020
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.InterestVanished">"InterestVanished"</link> is received.
5022
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5023
<return-value transfer-ownership="none">
5027
<parameter name="arg_interest" transfer-ownership="none">
5028
<doc xml:whitespace="preserve">Argument.</doc>
5033
<glib:signal name="no-interest" when="last">
5034
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.NoInterest">"NoInterest"</link> is received.
5036
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5037
<return-value transfer-ownership="none">
5041
<parameter name="arg_user_abandoned" transfer-ownership="none">
5042
<doc xml:whitespace="preserve">Argument.</doc>
5043
<type name="gboolean"/>
5047
<glib:signal name="preview-requested" when="last">
5048
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.PreviewRequested">"PreviewRequested"</link> is received.
5050
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5051
<return-value transfer-ownership="none">
5055
<parameter name="arg_interest" transfer-ownership="none">
5056
<doc xml:whitespace="preserve">Argument.</doc>
5061
<glib:signal name="raise-requested" when="last">
5062
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.RaiseRequested">"RaiseRequested"</link> is received.
5064
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5065
<return-value transfer-ownership="none">
5069
<parameter name="arg_interest" transfer-ownership="none">
5070
<doc xml:whitespace="preserve">Argument.</doc>
5073
<parameter name="arg_files" transfer-ownership="none">
5074
<doc xml:whitespace="preserve">Argument.</doc>
5081
<glib:signal name="view-is-active-changed" when="last">
5082
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewIsActiveChanged">"ViewIsActiveChanged"</link> is received.
5084
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5085
<return-value transfer-ownership="none">
5089
<parameter name="arg_interest" transfer-ownership="none">
5090
<doc xml:whitespace="preserve">Argument.</doc>
5093
<parameter name="arg_active" transfer-ownership="none">
5094
<doc xml:whitespace="preserve">Argument.</doc>
5095
<type name="gboolean"/>
5099
<glib:signal name="view-location-changed" when="last">
5100
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewLocationChanged">"ViewLocationChanged"</link> is received.
5102
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5103
<return-value transfer-ownership="none">
5107
<parameter name="arg_interest" transfer-ownership="none">
5108
<doc xml:whitespace="preserve">Argument.</doc>
5111
<parameter name="arg_location" transfer-ownership="none">
5112
<doc xml:whitespace="preserve">Argument.</doc>
5117
<glib:signal name="view-window-changed" when="last">
5118
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.ViewWindowChanged">"ViewWindowChanged"</link> is received.
5120
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5121
<return-value transfer-ownership="none">
5125
<parameter name="arg_interest" transfer-ownership="none">
5126
<doc xml:whitespace="preserve">Argument.</doc>
5129
<parameter name="arg_window" transfer-ownership="none">
5130
<doc xml:whitespace="preserve">Argument.</doc>
5131
<type name="guint64"/>
5135
<glib:signal name="xid-changed" when="last">
5136
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Context.XidChanged">"XidChanged"</link> is received.
5138
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
5139
<return-value transfer-ownership="none">
5144
<record name="GenContextIface"
5145
c:type="UnityWebappsGenContextIface"
5146
glib:is-gtype-struct-for="GenContext">
5147
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link>.</doc>
5148
<field name="parent_iface">
5149
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
5151
<field name="handle_add_application_actions">
5152
<callback name="handle_add_application_actions">
5153
<return-value transfer-ownership="none">
5154
<type name="gboolean" c:type="gboolean"/>
5157
<parameter name="object" transfer-ownership="none">
5158
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5160
<parameter name="invocation" transfer-ownership="none">
5161
<type name="Gio.DBusMethodInvocation"
5162
c:type="GDBusMethodInvocation*"/>
5164
<parameter name="arg_names" transfer-ownership="none">
5165
<type name="utf8" c:type="const gchar* const*"/>
5167
<parameter name="arg_interest" transfer-ownership="none">
5168
<type name="gint" c:type="gint"/>
5173
<field name="handle_add_icon">
5174
<callback name="handle_add_icon">
5175
<return-value transfer-ownership="none">
5176
<type name="gboolean" c:type="gboolean"/>
5179
<parameter name="object" transfer-ownership="none">
5180
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5182
<parameter name="invocation" transfer-ownership="none">
5183
<type name="Gio.DBusMethodInvocation"
5184
c:type="GDBusMethodInvocation*"/>
5186
<parameter name="arg_IconUrl" transfer-ownership="none">
5187
<type name="utf8" c:type="const gchar*"/>
5189
<parameter name="arg_Size" transfer-ownership="none">
5190
<type name="gint" c:type="gint"/>
5195
<field name="handle_add_interest">
5196
<callback name="handle_add_interest">
5197
<return-value transfer-ownership="none">
5198
<type name="gboolean" c:type="gboolean"/>
5201
<parameter name="object" transfer-ownership="none">
5202
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5204
<parameter name="invocation" transfer-ownership="none">
5205
<type name="Gio.DBusMethodInvocation"
5206
c:type="GDBusMethodInvocation*"/>
5211
<field name="handle_close">
5212
<callback name="handle_close">
5213
<return-value transfer-ownership="none">
5214
<type name="gboolean" c:type="gboolean"/>
5217
<parameter name="object" transfer-ownership="none">
5218
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5220
<parameter name="invocation" transfer-ownership="none">
5221
<type name="Gio.DBusMethodInvocation"
5222
c:type="GDBusMethodInvocation*"/>
5227
<field name="handle_close_interest">
5228
<callback name="handle_close_interest">
5229
<return-value transfer-ownership="none">
5230
<type name="gboolean" c:type="gboolean"/>
5233
<parameter name="object" transfer-ownership="none">
5234
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5236
<parameter name="invocation" transfer-ownership="none">
5237
<type name="Gio.DBusMethodInvocation"
5238
c:type="GDBusMethodInvocation*"/>
5240
<parameter name="arg_interest" transfer-ownership="none">
5241
<type name="gint" c:type="gint"/>
5246
<field name="handle_get_application_accept_data">
5247
<callback name="handle_get_application_accept_data">
5248
<return-value transfer-ownership="none">
5249
<type name="gboolean" c:type="gboolean"/>
5252
<parameter name="object" transfer-ownership="none">
5253
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5255
<parameter name="invocation" transfer-ownership="none">
5256
<type name="Gio.DBusMethodInvocation"
5257
c:type="GDBusMethodInvocation*"/>
5262
<field name="handle_get_icon_name">
5263
<callback name="handle_get_icon_name">
5264
<return-value transfer-ownership="none">
5265
<type name="gboolean" c:type="gboolean"/>
5268
<parameter name="object" transfer-ownership="none">
5269
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5271
<parameter name="invocation" transfer-ownership="none">
5272
<type name="Gio.DBusMethodInvocation"
5273
c:type="GDBusMethodInvocation*"/>
5278
<field name="handle_get_interest_count">
5279
<callback name="handle_get_interest_count">
5280
<return-value transfer-ownership="none">
5281
<type name="gboolean" c:type="gboolean"/>
5284
<parameter name="object" transfer-ownership="none">
5285
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5287
<parameter name="invocation" transfer-ownership="none">
5288
<type name="Gio.DBusMethodInvocation"
5289
c:type="GDBusMethodInvocation*"/>
5294
<field name="handle_get_interest_owner">
5295
<callback name="handle_get_interest_owner">
5296
<return-value transfer-ownership="none">
5297
<type name="gboolean" c:type="gboolean"/>
5300
<parameter name="object" transfer-ownership="none">
5301
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5303
<parameter name="invocation" transfer-ownership="none">
5304
<type name="Gio.DBusMethodInvocation"
5305
c:type="GDBusMethodInvocation*"/>
5307
<parameter name="arg_interest" transfer-ownership="none">
5308
<type name="gint" c:type="gint"/>
5313
<field name="handle_get_view_is_active">
5314
<callback name="handle_get_view_is_active">
5315
<return-value transfer-ownership="none">
5316
<type name="gboolean" c:type="gboolean"/>
5319
<parameter name="object" transfer-ownership="none">
5320
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5322
<parameter name="invocation" transfer-ownership="none">
5323
<type name="Gio.DBusMethodInvocation"
5324
c:type="GDBusMethodInvocation*"/>
5326
<parameter name="arg_interest" transfer-ownership="none">
5327
<type name="gint" c:type="gint"/>
5332
<field name="handle_get_view_location">
5333
<callback name="handle_get_view_location">
5334
<return-value transfer-ownership="none">
5335
<type name="gboolean" c:type="gboolean"/>
5338
<parameter name="object" transfer-ownership="none">
5339
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5341
<parameter name="invocation" transfer-ownership="none">
5342
<type name="Gio.DBusMethodInvocation"
5343
c:type="GDBusMethodInvocation*"/>
5345
<parameter name="arg_interest" transfer-ownership="none">
5346
<type name="gint" c:type="gint"/>
5351
<field name="handle_get_view_window">
5352
<callback name="handle_get_view_window">
5353
<return-value transfer-ownership="none">
5354
<type name="gboolean" c:type="gboolean"/>
5357
<parameter name="object" transfer-ownership="none">
5358
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5360
<parameter name="invocation" transfer-ownership="none">
5361
<type name="Gio.DBusMethodInvocation"
5362
c:type="GDBusMethodInvocation*"/>
5364
<parameter name="arg_interest" transfer-ownership="none">
5365
<type name="gint" c:type="gint"/>
5370
<field name="handle_list_interests">
5371
<callback name="handle_list_interests">
5372
<return-value transfer-ownership="none">
5373
<type name="gboolean" c:type="gboolean"/>
5376
<parameter name="object" transfer-ownership="none">
5377
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5379
<parameter name="invocation" transfer-ownership="none">
5380
<type name="Gio.DBusMethodInvocation"
5381
c:type="GDBusMethodInvocation*"/>
5386
<field name="handle_lost_interest">
5387
<callback name="handle_lost_interest">
5388
<return-value transfer-ownership="none">
5389
<type name="gboolean" c:type="gboolean"/>
5392
<parameter name="object" transfer-ownership="none">
5393
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5395
<parameter name="invocation" transfer-ownership="none">
5396
<type name="Gio.DBusMethodInvocation"
5397
c:type="GDBusMethodInvocation*"/>
5399
<parameter name="arg_id" transfer-ownership="none">
5400
<type name="gint" c:type="gint"/>
5402
<parameter name="arg_user_abandoned" transfer-ownership="none">
5403
<type name="gboolean" c:type="gboolean"/>
5408
<field name="handle_preview_ready">
5409
<callback name="handle_preview_ready">
5410
<return-value transfer-ownership="none">
5411
<type name="gboolean" c:type="gboolean"/>
5414
<parameter name="object" transfer-ownership="none">
5415
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5417
<parameter name="invocation" transfer-ownership="none">
5418
<type name="Gio.DBusMethodInvocation"
5419
c:type="GDBusMethodInvocation*"/>
5421
<parameter name="arg_interest" transfer-ownership="none">
5422
<type name="gint" c:type="gint"/>
5424
<parameter name="arg_data" transfer-ownership="none">
5425
<type name="utf8" c:type="const gchar*"/>
5430
<field name="handle_raise">
5431
<callback name="handle_raise">
5432
<return-value transfer-ownership="none">
5433
<type name="gboolean" c:type="gboolean"/>
5436
<parameter name="object" transfer-ownership="none">
5437
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5439
<parameter name="invocation" transfer-ownership="none">
5440
<type name="Gio.DBusMethodInvocation"
5441
c:type="GDBusMethodInvocation*"/>
5443
<parameter name="arg_files" transfer-ownership="none">
5444
<type name="utf8" c:type="const gchar* const*"/>
5449
<field name="handle_raise_interest">
5450
<callback name="handle_raise_interest">
5451
<return-value transfer-ownership="none">
5452
<type name="gboolean" c:type="gboolean"/>
5455
<parameter name="object" transfer-ownership="none">
5456
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5458
<parameter name="invocation" transfer-ownership="none">
5459
<type name="Gio.DBusMethodInvocation"
5460
c:type="GDBusMethodInvocation*"/>
5462
<parameter name="arg_interest" transfer-ownership="none">
5463
<type name="gint" c:type="gint"/>
5468
<field name="handle_remove_application_action">
5469
<callback name="handle_remove_application_action">
5470
<return-value transfer-ownership="none">
5471
<type name="gboolean" c:type="gboolean"/>
5474
<parameter name="object" transfer-ownership="none">
5475
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5477
<parameter name="invocation" transfer-ownership="none">
5478
<type name="Gio.DBusMethodInvocation"
5479
c:type="GDBusMethodInvocation*"/>
5481
<parameter name="arg_name" transfer-ownership="none">
5482
<type name="utf8" c:type="const gchar*"/>
5484
<parameter name="arg_interest" transfer-ownership="none">
5485
<type name="gint" c:type="gint"/>
5490
<field name="handle_remove_application_actions">
5491
<callback name="handle_remove_application_actions">
5492
<return-value transfer-ownership="none">
5493
<type name="gboolean" c:type="gboolean"/>
5496
<parameter name="object" transfer-ownership="none">
5497
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5499
<parameter name="invocation" transfer-ownership="none">
5500
<type name="Gio.DBusMethodInvocation"
5501
c:type="GDBusMethodInvocation*"/>
5503
<parameter name="arg_interest" transfer-ownership="none">
5504
<type name="gint" c:type="gint"/>
5509
<field name="handle_request_preview">
5510
<callback name="handle_request_preview">
5511
<return-value transfer-ownership="none">
5512
<type name="gboolean" c:type="gboolean"/>
5515
<parameter name="object" transfer-ownership="none">
5516
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5518
<parameter name="invocation" transfer-ownership="none">
5519
<type name="Gio.DBusMethodInvocation"
5520
c:type="GDBusMethodInvocation*"/>
5522
<parameter name="arg_interest" transfer-ownership="none">
5523
<type name="gint" c:type="gint"/>
5528
<field name="handle_set_application_accept_data">
5529
<callback name="handle_set_application_accept_data">
5530
<return-value transfer-ownership="none">
5531
<type name="gboolean" c:type="gboolean"/>
5534
<parameter name="object" transfer-ownership="none">
5535
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5537
<parameter name="invocation" transfer-ownership="none">
5538
<type name="Gio.DBusMethodInvocation"
5539
c:type="GDBusMethodInvocation*"/>
5541
<parameter name="arg_names" transfer-ownership="none">
5542
<type name="utf8" c:type="const gchar* const*"/>
5544
<parameter name="arg_interest" transfer-ownership="none">
5545
<type name="gint" c:type="gint"/>
5550
<field name="handle_set_homepage">
5551
<callback name="handle_set_homepage">
5552
<return-value transfer-ownership="none">
5553
<type name="gboolean" c:type="gboolean"/>
5556
<parameter name="object" transfer-ownership="none">
5557
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5559
<parameter name="invocation" transfer-ownership="none">
5560
<type name="Gio.DBusMethodInvocation"
5561
c:type="GDBusMethodInvocation*"/>
5563
<parameter name="arg_homepage" transfer-ownership="none">
5564
<type name="utf8" c:type="const gchar*"/>
5569
<field name="handle_set_view_is_active">
5570
<callback name="handle_set_view_is_active">
5571
<return-value transfer-ownership="none">
5572
<type name="gboolean" c:type="gboolean"/>
5575
<parameter name="object" transfer-ownership="none">
5576
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5578
<parameter name="invocation" transfer-ownership="none">
5579
<type name="Gio.DBusMethodInvocation"
5580
c:type="GDBusMethodInvocation*"/>
5582
<parameter name="arg_interest" transfer-ownership="none">
5583
<type name="gint" c:type="gint"/>
5585
<parameter name="arg_active" transfer-ownership="none">
5586
<type name="gboolean" c:type="gboolean"/>
5591
<field name="handle_set_view_location">
5592
<callback name="handle_set_view_location">
5593
<return-value transfer-ownership="none">
5594
<type name="gboolean" c:type="gboolean"/>
5597
<parameter name="object" transfer-ownership="none">
5598
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5600
<parameter name="invocation" transfer-ownership="none">
5601
<type name="Gio.DBusMethodInvocation"
5602
c:type="GDBusMethodInvocation*"/>
5604
<parameter name="arg_interest" transfer-ownership="none">
5605
<type name="gint" c:type="gint"/>
5607
<parameter name="arg_location" transfer-ownership="none">
5608
<type name="utf8" c:type="const gchar*"/>
5613
<field name="handle_set_view_window">
5614
<callback name="handle_set_view_window">
5615
<return-value transfer-ownership="none">
5616
<type name="gboolean" c:type="gboolean"/>
5619
<parameter name="object" transfer-ownership="none">
5620
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5622
<parameter name="invocation" transfer-ownership="none">
5623
<type name="Gio.DBusMethodInvocation"
5624
c:type="GDBusMethodInvocation*"/>
5626
<parameter name="arg_interest" transfer-ownership="none">
5627
<type name="gint" c:type="gint"/>
5629
<parameter name="arg_window" transfer-ownership="none">
5630
<type name="guint64" c:type="guint64"/>
5635
<field name="handle_shutdown">
5636
<callback name="handle_shutdown">
5637
<return-value transfer-ownership="none">
5638
<type name="gboolean" c:type="gboolean"/>
5641
<parameter name="object" transfer-ownership="none">
5642
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5644
<parameter name="invocation" transfer-ownership="none">
5645
<type name="Gio.DBusMethodInvocation"
5646
c:type="GDBusMethodInvocation*"/>
5651
<field name="get_desktop_name">
5652
<callback name="get_desktop_name">
5653
<return-value transfer-ownership="none">
5654
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
5655
<type name="utf8" c:type="const gchar*"/>
5658
<parameter name="object" transfer-ownership="none">
5659
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5664
<field name="get_domain">
5665
<callback name="get_domain">
5666
<return-value transfer-ownership="none">
5667
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
5668
<type name="utf8" c:type="const gchar*"/>
5671
<parameter name="object" transfer-ownership="none">
5672
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5677
<field name="get_focus_interest">
5678
<callback name="get_focus_interest">
5679
<return-value transfer-ownership="none">
5680
<doc xml:whitespace="preserve">The property value.</doc>
5681
<type name="gint" c:type="gint"/>
5684
<parameter name="object" transfer-ownership="none">
5685
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5690
<field name="get_name">
5691
<callback name="get_name">
5692
<return-value transfer-ownership="none">
5693
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
5694
<type name="utf8" c:type="const gchar*"/>
5697
<parameter name="object" transfer-ownership="none">
5698
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5703
<field name="get_view_is_active">
5704
<callback name="get_view_is_active">
5705
<return-value transfer-ownership="none">
5706
<doc xml:whitespace="preserve">The property value.</doc>
5707
<type name="gboolean" c:type="gboolean"/>
5710
<parameter name="object" transfer-ownership="none">
5711
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5716
<field name="accept_data_changed">
5717
<callback name="accept_data_changed">
5718
<return-value transfer-ownership="none">
5719
<type name="none" c:type="void"/>
5722
<parameter name="object" transfer-ownership="none">
5723
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5725
<parameter name="arg_files" transfer-ownership="none">
5726
<type name="utf8" c:type="const gchar* const*"/>
5731
<field name="application_action_invoked">
5732
<callback name="application_action_invoked">
5733
<return-value transfer-ownership="none">
5734
<type name="none" c:type="void"/>
5737
<parameter name="object" transfer-ownership="none">
5738
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5740
<parameter name="arg_name" transfer-ownership="none">
5741
<type name="utf8" c:type="const gchar*"/>
5746
<field name="close_requested">
5747
<callback name="close_requested">
5748
<return-value transfer-ownership="none">
5749
<type name="none" c:type="void"/>
5752
<parameter name="object" transfer-ownership="none">
5753
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5755
<parameter name="arg_interest" transfer-ownership="none">
5756
<type name="gint" c:type="gint"/>
5761
<field name="context_ready">
5762
<callback name="context_ready">
5763
<return-value transfer-ownership="none">
5764
<type name="none" c:type="void"/>
5767
<parameter name="object" transfer-ownership="none">
5768
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5770
<parameter name="arg_version" transfer-ownership="none">
5771
<type name="utf8" c:type="const gchar*"/>
5776
<field name="interest_appeared">
5777
<callback name="interest_appeared">
5778
<return-value transfer-ownership="none">
5779
<type name="none" c:type="void"/>
5782
<parameter name="object" transfer-ownership="none">
5783
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5785
<parameter name="arg_interest" transfer-ownership="none">
5786
<type name="gint" c:type="gint"/>
5791
<field name="interest_vanished">
5792
<callback name="interest_vanished">
5793
<return-value transfer-ownership="none">
5794
<type name="none" c:type="void"/>
5797
<parameter name="object" transfer-ownership="none">
5798
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5800
<parameter name="arg_interest" transfer-ownership="none">
5801
<type name="gint" c:type="gint"/>
5806
<field name="no_interest">
5807
<callback name="no_interest">
5808
<return-value transfer-ownership="none">
5809
<type name="none" c:type="void"/>
5812
<parameter name="object" transfer-ownership="none">
5813
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5815
<parameter name="arg_user_abandoned" transfer-ownership="none">
5816
<type name="gboolean" c:type="gboolean"/>
5821
<field name="preview_requested">
5822
<callback name="preview_requested">
5823
<return-value transfer-ownership="none">
5824
<type name="none" c:type="void"/>
5827
<parameter name="object" transfer-ownership="none">
5828
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5830
<parameter name="arg_interest" transfer-ownership="none">
5831
<type name="gint" c:type="gint"/>
5836
<field name="raise_requested">
5837
<callback name="raise_requested">
5838
<return-value transfer-ownership="none">
5839
<type name="none" c:type="void"/>
5842
<parameter name="object" transfer-ownership="none">
5843
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5845
<parameter name="arg_interest" transfer-ownership="none">
5846
<type name="gint" c:type="gint"/>
5848
<parameter name="arg_files" transfer-ownership="none">
5849
<type name="utf8" c:type="const gchar* const*"/>
5854
<field name="view_is_active_changed">
5855
<callback name="view_is_active_changed">
5856
<return-value transfer-ownership="none">
5857
<type name="none" c:type="void"/>
5860
<parameter name="object" transfer-ownership="none">
5861
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5863
<parameter name="arg_interest" transfer-ownership="none">
5864
<type name="gint" c:type="gint"/>
5866
<parameter name="arg_active" transfer-ownership="none">
5867
<type name="gboolean" c:type="gboolean"/>
5872
<field name="view_location_changed">
5873
<callback name="view_location_changed">
5874
<return-value transfer-ownership="none">
5875
<type name="none" c:type="void"/>
5878
<parameter name="object" transfer-ownership="none">
5879
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5881
<parameter name="arg_interest" transfer-ownership="none">
5882
<type name="gint" c:type="gint"/>
5884
<parameter name="arg_location" transfer-ownership="none">
5885
<type name="utf8" c:type="const gchar*"/>
5890
<field name="view_window_changed">
5891
<callback name="view_window_changed">
5892
<return-value transfer-ownership="none">
5893
<type name="none" c:type="void"/>
5896
<parameter name="object" transfer-ownership="none">
5897
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5899
<parameter name="arg_interest" transfer-ownership="none">
5900
<type name="gint" c:type="gint"/>
5902
<parameter name="arg_window" transfer-ownership="none">
5903
<type name="guint64" c:type="guint64"/>
5908
<field name="xid_changed">
5909
<callback name="xid_changed">
5910
<return-value transfer-ownership="none">
5911
<type name="none" c:type="void"/>
5914
<parameter name="object" transfer-ownership="none">
5915
<type name="GenContext" c:type="UnityWebappsGenContext*"/>
5921
<class name="GenContextProxy"
5922
c:symbol-prefix="gen_context_proxy"
5923
c:type="UnityWebappsGenContextProxy"
5924
parent="Gio.DBusProxy"
5925
glib:type-name="UnityWebappsGenContextProxy"
5926
glib:get-type="unity_webapps_gen_context_proxy_get_type"
5927
glib:type-struct="GenContextProxyClass">
5928
<doc xml:whitespace="preserve">The #UnityWebappsGenContextProxy structure contains only private data and should only be accessed using the provided API.</doc>
5929
<implements name="Gio.AsyncInitable"/>
5930
<implements name="Gio.DBusInterface"/>
5931
<implements name="Gio.Initable"/>
5932
<implements name="GenContext"/>
5933
<constructor name="new_finish"
5934
c:identifier="unity_webapps_gen_context_proxy_new_finish"
5936
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_proxy_new().</doc>
5937
<return-value transfer-ownership="full">
5938
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
5939
<type name="GenContextProxy" c:type="UnityWebappsGenContext*"/>
5942
<parameter name="res" transfer-ownership="none">
5943
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_proxy_new().</doc>
5944
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
5948
<constructor name="new_for_bus_finish"
5949
c:identifier="unity_webapps_gen_context_proxy_new_for_bus_finish"
5951
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_context_proxy_new_for_bus().</doc>
5952
<return-value transfer-ownership="full">
5953
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
5954
<type name="GenContextProxy" c:type="UnityWebappsGenContext*"/>
5957
<parameter name="res" transfer-ownership="none">
5958
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_context_proxy_new_for_bus().</doc>
5959
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
5963
<constructor name="new_for_bus_sync"
5964
c:identifier="unity_webapps_gen_context_proxy_new_for_bus_sync"
5966
<doc xml:whitespace="preserve">Like unity_webapps_gen_context_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
5968
The calling thread is blocked until a reply is received.
5970
See unity_webapps_gen_context_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
5971
<return-value transfer-ownership="full">
5972
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
5973
<type name="GenContextProxy" c:type="UnityWebappsGenContext*"/>
5976
<parameter name="bus_type" transfer-ownership="none">
5977
<doc xml:whitespace="preserve">A #GBusType.</doc>
5978
<type name="Gio.BusType" c:type="GBusType"/>
5980
<parameter name="flags" transfer-ownership="none">
5981
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
5982
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
5984
<parameter name="name" transfer-ownership="none">
5985
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
5986
<type name="utf8" c:type="const gchar*"/>
5988
<parameter name="object_path" transfer-ownership="none">
5989
<doc xml:whitespace="preserve">An object path.</doc>
5990
<type name="utf8" c:type="const gchar*"/>
5992
<parameter name="cancellable"
5993
transfer-ownership="none"
5995
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
5996
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6000
<constructor name="new_sync"
6001
c:identifier="unity_webapps_gen_context_proxy_new_sync"
6003
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link>. See g_dbus_proxy_new_sync() for more details.
6005
The calling thread is blocked until a reply is received.
6007
See unity_webapps_gen_context_proxy_new() for the asynchronous version of this constructor.</doc>
6008
<return-value transfer-ownership="full">
6009
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
6010
<type name="GenContextProxy" c:type="UnityWebappsGenContext*"/>
6013
<parameter name="connection" transfer-ownership="none">
6014
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
6015
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
6017
<parameter name="flags" transfer-ownership="none">
6018
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
6019
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
6021
<parameter name="name" transfer-ownership="none" allow-none="1">
6022
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
6023
<type name="utf8" c:type="const gchar*"/>
6025
<parameter name="object_path" transfer-ownership="none">
6026
<doc xml:whitespace="preserve">An object path.</doc>
6027
<type name="utf8" c:type="const gchar*"/>
6029
<parameter name="cancellable"
6030
transfer-ownership="none"
6032
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6033
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6037
<function name="new" c:identifier="unity_webapps_gen_context_proxy_new">
6038
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link>. See g_dbus_proxy_new() for more details.
6040
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6041
You can then call unity_webapps_gen_context_proxy_new_finish() to get the result of the operation.
6043
See unity_webapps_gen_context_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
6044
<return-value transfer-ownership="none">
6045
<type name="none" c:type="void"/>
6048
<parameter name="connection" transfer-ownership="none">
6049
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
6050
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
6052
<parameter name="flags" transfer-ownership="none">
6053
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
6054
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
6056
<parameter name="name" transfer-ownership="none" allow-none="1">
6057
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
6058
<type name="utf8" c:type="const gchar*"/>
6060
<parameter name="object_path" transfer-ownership="none">
6061
<doc xml:whitespace="preserve">An object path.</doc>
6062
<type name="utf8" c:type="const gchar*"/>
6064
<parameter name="cancellable"
6065
transfer-ownership="none"
6067
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6068
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6070
<parameter name="callback"
6071
transfer-ownership="none"
6075
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
6076
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6078
<parameter name="user_data" transfer-ownership="none">
6079
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6080
<type name="gpointer" c:type="gpointer"/>
6084
<function name="new_for_bus"
6085
c:identifier="unity_webapps_gen_context_proxy_new_for_bus">
6086
<doc xml:whitespace="preserve">Like unity_webapps_gen_context_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
6088
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6089
You can then call unity_webapps_gen_context_proxy_new_for_bus_finish() to get the result of the operation.
6091
See unity_webapps_gen_context_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
6092
<return-value transfer-ownership="none">
6093
<type name="none" c:type="void"/>
6096
<parameter name="bus_type" transfer-ownership="none">
6097
<doc xml:whitespace="preserve">A #GBusType.</doc>
6098
<type name="Gio.BusType" c:type="GBusType"/>
6100
<parameter name="flags" transfer-ownership="none">
6101
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
6102
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
6104
<parameter name="name" transfer-ownership="none">
6105
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
6106
<type name="utf8" c:type="const gchar*"/>
6108
<parameter name="object_path" transfer-ownership="none">
6109
<doc xml:whitespace="preserve">An object path.</doc>
6110
<type name="utf8" c:type="const gchar*"/>
6112
<parameter name="cancellable"
6113
transfer-ownership="none"
6115
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6116
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6118
<parameter name="callback"
6119
transfer-ownership="none"
6123
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
6124
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6126
<parameter name="user_data" transfer-ownership="none">
6127
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6128
<type name="gpointer" c:type="gpointer"/>
6132
<field name="parent_instance" readable="0" private="1">
6133
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
6135
<field name="priv" readable="0" private="1">
6136
<type name="GenContextProxyPrivate"
6137
c:type="UnityWebappsGenContextProxyPrivate*"/>
6140
<record name="GenContextProxyClass"
6141
c:type="UnityWebappsGenContextProxyClass"
6142
glib:is-gtype-struct-for="GenContextProxy">
6143
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenContextProxy.</doc>
6144
<field name="parent_class">
6145
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
6148
<record name="GenContextProxyPrivate"
6149
c:type="UnityWebappsGenContextProxyPrivate"
6152
<class name="GenContextSkeleton"
6153
c:symbol-prefix="gen_context_skeleton"
6154
c:type="UnityWebappsGenContextSkeleton"
6155
parent="Gio.DBusInterfaceSkeleton"
6156
glib:type-name="UnityWebappsGenContextSkeleton"
6157
glib:get-type="unity_webapps_gen_context_skeleton_get_type"
6158
glib:type-struct="GenContextSkeletonClass">
6159
<doc xml:whitespace="preserve">The #UnityWebappsGenContextSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
6160
<implements name="Gio.DBusInterface"/>
6161
<implements name="GenContext"/>
6162
<constructor name="new"
6163
c:identifier="unity_webapps_gen_context_skeleton_new">
6164
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link>.</doc>
6165
<return-value transfer-ownership="full">
6166
<doc xml:whitespace="preserve">The skeleton object.</doc>
6167
<type name="GenContextSkeleton" c:type="UnityWebappsGenContext*"/>
6170
<field name="parent_instance" readable="0" private="1">
6171
<type name="Gio.DBusInterfaceSkeleton"
6172
c:type="GDBusInterfaceSkeleton"/>
6174
<field name="priv" readable="0" private="1">
6175
<type name="GenContextSkeletonPrivate"
6176
c:type="UnityWebappsGenContextSkeletonPrivate*"/>
6179
<record name="GenContextSkeletonClass"
6180
c:type="UnityWebappsGenContextSkeletonClass"
6181
glib:is-gtype-struct-for="GenContextSkeleton">
6182
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenContextSkeleton.</doc>
6183
<field name="parent_class">
6184
<type name="Gio.DBusInterfaceSkeletonClass"
6185
c:type="GDBusInterfaceSkeletonClass"/>
6188
<record name="GenContextSkeletonPrivate"
6189
c:type="UnityWebappsGenContextSkeletonPrivate"
6192
<interface name="GenIndicator"
6193
c:symbol-prefix="gen_indicator"
6194
c:type="UnityWebappsGenIndicator"
6195
glib:type-name="UnityWebappsGenIndicator"
6196
glib:get-type="unity_webapps_gen_indicator_get_type"
6197
glib:type-struct="GenIndicatorIface">
6198
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link>.</doc>
6199
<function name="interface_info"
6200
c:identifier="unity_webapps_gen_indicator_interface_info">
6201
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link> D-Bus interface.</doc>
6202
<return-value transfer-ownership="none">
6203
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
6204
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
6207
<function name="override_properties"
6208
c:identifier="unity_webapps_gen_indicator_override_properties">
6209
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenIndicator interface for a concrete class.
6210
The properties are overridden in the order they are defined.</doc>
6211
<return-value transfer-ownership="none">
6212
<doc xml:whitespace="preserve">The last property id.</doc>
6213
<type name="guint" c:type="guint"/>
6216
<parameter name="klass" transfer-ownership="none">
6217
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
6218
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
6220
<parameter name="property_id_begin" transfer-ownership="none">
6221
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
6222
<type name="guint" c:type="guint"/>
6226
<virtual-method name="action_invoked">
6227
<return-value transfer-ownership="none">
6228
<type name="none" c:type="void"/>
6231
<parameter name="arg_label" transfer-ownership="none">
6232
<type name="utf8" c:type="const gchar*"/>
6236
<virtual-method name="get_presence"
6237
invoker="get_presence"
6239
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Indicator.Presence">"Presence"</link> D-Bus property.
6241
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
6243
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_indicator_dup_presence() if on another thread.</warning></doc>
6244
<return-value transfer-ownership="none">
6245
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
6246
<type name="utf8" c:type="const gchar*"/>
6249
<virtual-method name="handle_add_action">
6250
<return-value transfer-ownership="none">
6251
<type name="gboolean" c:type="gboolean"/>
6254
<parameter name="invocation" transfer-ownership="none">
6255
<type name="Gio.DBusMethodInvocation"
6256
c:type="GDBusMethodInvocation*"/>
6258
<parameter name="arg_label" transfer-ownership="none">
6259
<type name="utf8" c:type="const gchar*"/>
6261
<parameter name="arg_interest" transfer-ownership="none">
6262
<type name="gint" c:type="gint"/>
6266
<virtual-method name="handle_clear_indicator">
6267
<return-value transfer-ownership="none">
6268
<type name="gboolean" c:type="gboolean"/>
6271
<parameter name="invocation" transfer-ownership="none">
6272
<type name="Gio.DBusMethodInvocation"
6273
c:type="GDBusMethodInvocation*"/>
6275
<parameter name="arg_name" transfer-ownership="none">
6276
<type name="utf8" c:type="const gchar*"/>
6278
<parameter name="arg_interest" transfer-ownership="none">
6279
<type name="gint" c:type="gint"/>
6283
<virtual-method name="handle_clear_indicators">
6284
<return-value transfer-ownership="none">
6285
<type name="gboolean" c:type="gboolean"/>
6288
<parameter name="invocation" transfer-ownership="none">
6289
<type name="Gio.DBusMethodInvocation"
6290
c:type="GDBusMethodInvocation*"/>
6292
<parameter name="arg_interest" transfer-ownership="none">
6293
<type name="gint" c:type="gint"/>
6297
<virtual-method name="handle_remove_action">
6298
<return-value transfer-ownership="none">
6299
<type name="gboolean" c:type="gboolean"/>
6302
<parameter name="invocation" transfer-ownership="none">
6303
<type name="Gio.DBusMethodInvocation"
6304
c:type="GDBusMethodInvocation*"/>
6306
<parameter name="arg_label" transfer-ownership="none">
6307
<type name="utf8" c:type="const gchar*"/>
6309
<parameter name="arg_interest" transfer-ownership="none">
6310
<type name="gint" c:type="gint"/>
6314
<virtual-method name="handle_remove_actions">
6315
<return-value transfer-ownership="none">
6316
<type name="gboolean" c:type="gboolean"/>
6319
<parameter name="invocation" transfer-ownership="none">
6320
<type name="Gio.DBusMethodInvocation"
6321
c:type="GDBusMethodInvocation*"/>
6323
<parameter name="arg_interest" transfer-ownership="none">
6324
<type name="gint" c:type="gint"/>
6328
<virtual-method name="handle_set_property">
6329
<return-value transfer-ownership="none">
6330
<type name="gboolean" c:type="gboolean"/>
6333
<parameter name="invocation" transfer-ownership="none">
6334
<type name="Gio.DBusMethodInvocation"
6335
c:type="GDBusMethodInvocation*"/>
6337
<parameter name="arg_name" transfer-ownership="none">
6338
<type name="utf8" c:type="const gchar*"/>
6340
<parameter name="arg_property" transfer-ownership="none">
6341
<type name="utf8" c:type="const gchar*"/>
6343
<parameter name="arg_value" transfer-ownership="none">
6344
<type name="utf8" c:type="const gchar*"/>
6346
<parameter name="arg_interest" transfer-ownership="none">
6347
<type name="gint" c:type="gint"/>
6351
<virtual-method name="handle_set_property_icon">
6352
<return-value transfer-ownership="none">
6353
<type name="gboolean" c:type="gboolean"/>
6356
<parameter name="invocation" transfer-ownership="none">
6357
<type name="Gio.DBusMethodInvocation"
6358
c:type="GDBusMethodInvocation*"/>
6360
<parameter name="arg_name" transfer-ownership="none">
6361
<type name="utf8" c:type="const gchar*"/>
6363
<parameter name="arg_property" transfer-ownership="none">
6364
<type name="utf8" c:type="const gchar*"/>
6366
<parameter name="arg_iconurl" transfer-ownership="none">
6367
<type name="utf8" c:type="const gchar*"/>
6371
<virtual-method name="handle_show_indicator">
6372
<return-value transfer-ownership="none">
6373
<type name="gboolean" c:type="gboolean"/>
6376
<parameter name="invocation" transfer-ownership="none">
6377
<type name="Gio.DBusMethodInvocation"
6378
c:type="GDBusMethodInvocation*"/>
6380
<parameter name="arg_name" transfer-ownership="none">
6381
<type name="utf8" c:type="const gchar*"/>
6383
<parameter name="arg_interest" transfer-ownership="none">
6384
<type name="gint" c:type="gint"/>
6388
<method name="call_add_action"
6389
c:identifier="unity_webapps_gen_indicator_call_add_action">
6390
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.AddAction">AddAction()</link> D-Bus method on @proxy.
6391
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6392
You can then call unity_webapps_gen_indicator_call_add_action_finish() to get the result of the operation.
6394
See unity_webapps_gen_indicator_call_add_action_sync() for the synchronous, blocking version of this method.</doc>
6395
<return-value transfer-ownership="none">
6396
<type name="none" c:type="void"/>
6399
<parameter name="arg_label" transfer-ownership="none">
6400
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6401
<type name="utf8" c:type="const gchar*"/>
6403
<parameter name="arg_interest" transfer-ownership="none">
6404
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6405
<type name="gint" c:type="gint"/>
6407
<parameter name="cancellable"
6408
transfer-ownership="none"
6410
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6411
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6413
<parameter name="callback"
6414
transfer-ownership="none"
6418
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6419
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6421
<parameter name="user_data" transfer-ownership="none">
6422
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6423
<type name="gpointer" c:type="gpointer"/>
6427
<method name="call_add_action_finish"
6428
c:identifier="unity_webapps_gen_indicator_call_add_action_finish"
6430
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_add_action().</doc>
6431
<return-value transfer-ownership="none" skip="1">
6432
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6433
<type name="gboolean" c:type="gboolean"/>
6436
<parameter name="res" transfer-ownership="none">
6437
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_add_action().</doc>
6438
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6442
<method name="call_add_action_sync"
6443
c:identifier="unity_webapps_gen_indicator_call_add_action_sync"
6445
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.AddAction">AddAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6447
See unity_webapps_gen_indicator_call_add_action() for the asynchronous version of this method.</doc>
6448
<return-value transfer-ownership="none" skip="1">
6449
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6450
<type name="gboolean" c:type="gboolean"/>
6453
<parameter name="arg_label" transfer-ownership="none">
6454
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6455
<type name="utf8" c:type="const gchar*"/>
6457
<parameter name="arg_interest" transfer-ownership="none">
6458
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6459
<type name="gint" c:type="gint"/>
6461
<parameter name="cancellable"
6462
transfer-ownership="none"
6464
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6465
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6469
<method name="call_clear_indicator"
6470
c:identifier="unity_webapps_gen_indicator_call_clear_indicator">
6471
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicator">ClearIndicator()</link> D-Bus method on @proxy.
6472
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6473
You can then call unity_webapps_gen_indicator_call_clear_indicator_finish() to get the result of the operation.
6475
See unity_webapps_gen_indicator_call_clear_indicator_sync() for the synchronous, blocking version of this method.</doc>
6476
<return-value transfer-ownership="none">
6477
<type name="none" c:type="void"/>
6480
<parameter name="arg_name" transfer-ownership="none">
6481
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6482
<type name="utf8" c:type="const gchar*"/>
6484
<parameter name="arg_interest" transfer-ownership="none">
6485
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6486
<type name="gint" c:type="gint"/>
6488
<parameter name="cancellable"
6489
transfer-ownership="none"
6491
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6492
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6494
<parameter name="callback"
6495
transfer-ownership="none"
6499
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6500
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6502
<parameter name="user_data" transfer-ownership="none">
6503
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6504
<type name="gpointer" c:type="gpointer"/>
6508
<method name="call_clear_indicator_finish"
6509
c:identifier="unity_webapps_gen_indicator_call_clear_indicator_finish"
6511
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_clear_indicator().</doc>
6512
<return-value transfer-ownership="none" skip="1">
6513
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6514
<type name="gboolean" c:type="gboolean"/>
6517
<parameter name="res" transfer-ownership="none">
6518
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_clear_indicator().</doc>
6519
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6523
<method name="call_clear_indicator_sync"
6524
c:identifier="unity_webapps_gen_indicator_call_clear_indicator_sync"
6526
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicator">ClearIndicator()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6528
See unity_webapps_gen_indicator_call_clear_indicator() for the asynchronous version of this method.</doc>
6529
<return-value transfer-ownership="none" skip="1">
6530
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6531
<type name="gboolean" c:type="gboolean"/>
6534
<parameter name="arg_name" transfer-ownership="none">
6535
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6536
<type name="utf8" c:type="const gchar*"/>
6538
<parameter name="arg_interest" transfer-ownership="none">
6539
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6540
<type name="gint" c:type="gint"/>
6542
<parameter name="cancellable"
6543
transfer-ownership="none"
6545
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6546
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6550
<method name="call_clear_indicators"
6551
c:identifier="unity_webapps_gen_indicator_call_clear_indicators">
6552
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicators">ClearIndicators()</link> D-Bus method on @proxy.
6553
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6554
You can then call unity_webapps_gen_indicator_call_clear_indicators_finish() to get the result of the operation.
6556
See unity_webapps_gen_indicator_call_clear_indicators_sync() for the synchronous, blocking version of this method.</doc>
6557
<return-value transfer-ownership="none">
6558
<type name="none" c:type="void"/>
6561
<parameter name="arg_interest" transfer-ownership="none">
6562
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6563
<type name="gint" c:type="gint"/>
6565
<parameter name="cancellable"
6566
transfer-ownership="none"
6568
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6569
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6571
<parameter name="callback"
6572
transfer-ownership="none"
6576
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6577
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6579
<parameter name="user_data" transfer-ownership="none">
6580
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6581
<type name="gpointer" c:type="gpointer"/>
6585
<method name="call_clear_indicators_finish"
6586
c:identifier="unity_webapps_gen_indicator_call_clear_indicators_finish"
6588
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_clear_indicators().</doc>
6589
<return-value transfer-ownership="none" skip="1">
6590
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6591
<type name="gboolean" c:type="gboolean"/>
6594
<parameter name="res" transfer-ownership="none">
6595
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_clear_indicators().</doc>
6596
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6600
<method name="call_clear_indicators_sync"
6601
c:identifier="unity_webapps_gen_indicator_call_clear_indicators_sync"
6603
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicators">ClearIndicators()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6605
See unity_webapps_gen_indicator_call_clear_indicators() for the asynchronous version of this method.</doc>
6606
<return-value transfer-ownership="none" skip="1">
6607
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6608
<type name="gboolean" c:type="gboolean"/>
6611
<parameter name="arg_interest" transfer-ownership="none">
6612
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6613
<type name="gint" c:type="gint"/>
6615
<parameter name="cancellable"
6616
transfer-ownership="none"
6618
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6619
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6623
<method name="call_remove_action"
6624
c:identifier="unity_webapps_gen_indicator_call_remove_action">
6625
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveAction">RemoveAction()</link> D-Bus method on @proxy.
6626
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6627
You can then call unity_webapps_gen_indicator_call_remove_action_finish() to get the result of the operation.
6629
See unity_webapps_gen_indicator_call_remove_action_sync() for the synchronous, blocking version of this method.</doc>
6630
<return-value transfer-ownership="none">
6631
<type name="none" c:type="void"/>
6634
<parameter name="arg_label" transfer-ownership="none">
6635
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6636
<type name="utf8" c:type="const gchar*"/>
6638
<parameter name="arg_interest" transfer-ownership="none">
6639
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6640
<type name="gint" c:type="gint"/>
6642
<parameter name="cancellable"
6643
transfer-ownership="none"
6645
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6646
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6648
<parameter name="callback"
6649
transfer-ownership="none"
6653
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6654
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6656
<parameter name="user_data" transfer-ownership="none">
6657
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6658
<type name="gpointer" c:type="gpointer"/>
6662
<method name="call_remove_action_finish"
6663
c:identifier="unity_webapps_gen_indicator_call_remove_action_finish"
6665
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_remove_action().</doc>
6666
<return-value transfer-ownership="none" skip="1">
6667
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6668
<type name="gboolean" c:type="gboolean"/>
6671
<parameter name="res" transfer-ownership="none">
6672
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_remove_action().</doc>
6673
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6677
<method name="call_remove_action_sync"
6678
c:identifier="unity_webapps_gen_indicator_call_remove_action_sync"
6680
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveAction">RemoveAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6682
See unity_webapps_gen_indicator_call_remove_action() for the asynchronous version of this method.</doc>
6683
<return-value transfer-ownership="none" skip="1">
6684
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6685
<type name="gboolean" c:type="gboolean"/>
6688
<parameter name="arg_label" transfer-ownership="none">
6689
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6690
<type name="utf8" c:type="const gchar*"/>
6692
<parameter name="arg_interest" transfer-ownership="none">
6693
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6694
<type name="gint" c:type="gint"/>
6696
<parameter name="cancellable"
6697
transfer-ownership="none"
6699
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6700
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6704
<method name="call_remove_actions"
6705
c:identifier="unity_webapps_gen_indicator_call_remove_actions">
6706
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveActions">RemoveActions()</link> D-Bus method on @proxy.
6707
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6708
You can then call unity_webapps_gen_indicator_call_remove_actions_finish() to get the result of the operation.
6710
See unity_webapps_gen_indicator_call_remove_actions_sync() for the synchronous, blocking version of this method.</doc>
6711
<return-value transfer-ownership="none">
6712
<type name="none" c:type="void"/>
6715
<parameter name="arg_interest" transfer-ownership="none">
6716
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6717
<type name="gint" c:type="gint"/>
6719
<parameter name="cancellable"
6720
transfer-ownership="none"
6722
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6723
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6725
<parameter name="callback"
6726
transfer-ownership="none"
6730
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6731
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6733
<parameter name="user_data" transfer-ownership="none">
6734
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6735
<type name="gpointer" c:type="gpointer"/>
6739
<method name="call_remove_actions_finish"
6740
c:identifier="unity_webapps_gen_indicator_call_remove_actions_finish"
6742
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_remove_actions().</doc>
6743
<return-value transfer-ownership="none" skip="1">
6744
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6745
<type name="gboolean" c:type="gboolean"/>
6748
<parameter name="res" transfer-ownership="none">
6749
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_remove_actions().</doc>
6750
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6754
<method name="call_remove_actions_sync"
6755
c:identifier="unity_webapps_gen_indicator_call_remove_actions_sync"
6757
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveActions">RemoveActions()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6759
See unity_webapps_gen_indicator_call_remove_actions() for the asynchronous version of this method.</doc>
6760
<return-value transfer-ownership="none" skip="1">
6761
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6762
<type name="gboolean" c:type="gboolean"/>
6765
<parameter name="arg_interest" transfer-ownership="none">
6766
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6767
<type name="gint" c:type="gint"/>
6769
<parameter name="cancellable"
6770
transfer-ownership="none"
6772
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6773
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6777
<method name="call_set_property"
6778
c:identifier="unity_webapps_gen_indicator_call_set_property">
6779
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetProperty">SetProperty()</link> D-Bus method on @proxy.
6780
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6781
You can then call unity_webapps_gen_indicator_call_set_property_finish() to get the result of the operation.
6783
See unity_webapps_gen_indicator_call_set_property_sync() for the synchronous, blocking version of this method.</doc>
6784
<return-value transfer-ownership="none">
6785
<type name="none" c:type="void"/>
6788
<parameter name="arg_name" transfer-ownership="none">
6789
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6790
<type name="utf8" c:type="const gchar*"/>
6792
<parameter name="arg_property" transfer-ownership="none">
6793
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6794
<type name="utf8" c:type="const gchar*"/>
6796
<parameter name="arg_value" transfer-ownership="none">
6797
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6798
<type name="utf8" c:type="const gchar*"/>
6800
<parameter name="arg_interest" transfer-ownership="none">
6801
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6802
<type name="gint" c:type="gint"/>
6804
<parameter name="cancellable"
6805
transfer-ownership="none"
6807
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6808
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6810
<parameter name="callback"
6811
transfer-ownership="none"
6815
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6816
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6818
<parameter name="user_data" transfer-ownership="none">
6819
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6820
<type name="gpointer" c:type="gpointer"/>
6824
<method name="call_set_property_finish"
6825
c:identifier="unity_webapps_gen_indicator_call_set_property_finish"
6827
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_set_property().</doc>
6828
<return-value transfer-ownership="none" skip="1">
6829
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6830
<type name="gboolean" c:type="gboolean"/>
6833
<parameter name="res" transfer-ownership="none">
6834
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_set_property().</doc>
6835
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6839
<method name="call_set_property_icon"
6840
c:identifier="unity_webapps_gen_indicator_call_set_property_icon">
6841
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetPropertyIcon">SetPropertyIcon()</link> D-Bus method on @proxy.
6842
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6843
You can then call unity_webapps_gen_indicator_call_set_property_icon_finish() to get the result of the operation.
6845
See unity_webapps_gen_indicator_call_set_property_icon_sync() for the synchronous, blocking version of this method.</doc>
6846
<return-value transfer-ownership="none">
6847
<type name="none" c:type="void"/>
6850
<parameter name="arg_name" transfer-ownership="none">
6851
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6852
<type name="utf8" c:type="const gchar*"/>
6854
<parameter name="arg_property" transfer-ownership="none">
6855
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6856
<type name="utf8" c:type="const gchar*"/>
6858
<parameter name="arg_iconurl" transfer-ownership="none">
6859
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6860
<type name="utf8" c:type="const gchar*"/>
6862
<parameter name="cancellable"
6863
transfer-ownership="none"
6865
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6866
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6868
<parameter name="callback"
6869
transfer-ownership="none"
6873
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6874
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6876
<parameter name="user_data" transfer-ownership="none">
6877
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6878
<type name="gpointer" c:type="gpointer"/>
6882
<method name="call_set_property_icon_finish"
6883
c:identifier="unity_webapps_gen_indicator_call_set_property_icon_finish"
6885
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_set_property_icon().</doc>
6886
<return-value transfer-ownership="none" skip="1">
6887
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6888
<type name="gboolean" c:type="gboolean"/>
6891
<parameter name="res" transfer-ownership="none">
6892
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_set_property_icon().</doc>
6893
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
6897
<method name="call_set_property_icon_sync"
6898
c:identifier="unity_webapps_gen_indicator_call_set_property_icon_sync"
6900
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetPropertyIcon">SetPropertyIcon()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6902
See unity_webapps_gen_indicator_call_set_property_icon() for the asynchronous version of this method.</doc>
6903
<return-value transfer-ownership="none" skip="1">
6904
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6905
<type name="gboolean" c:type="gboolean"/>
6908
<parameter name="arg_name" transfer-ownership="none">
6909
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6910
<type name="utf8" c:type="const gchar*"/>
6912
<parameter name="arg_property" transfer-ownership="none">
6913
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6914
<type name="utf8" c:type="const gchar*"/>
6916
<parameter name="arg_iconurl" transfer-ownership="none">
6917
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6918
<type name="utf8" c:type="const gchar*"/>
6920
<parameter name="cancellable"
6921
transfer-ownership="none"
6923
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6924
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6928
<method name="call_set_property_sync"
6929
c:identifier="unity_webapps_gen_indicator_call_set_property_sync"
6931
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetProperty">SetProperty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
6933
See unity_webapps_gen_indicator_call_set_property() for the asynchronous version of this method.</doc>
6934
<return-value transfer-ownership="none" skip="1">
6935
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
6936
<type name="gboolean" c:type="gboolean"/>
6939
<parameter name="arg_name" transfer-ownership="none">
6940
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6941
<type name="utf8" c:type="const gchar*"/>
6943
<parameter name="arg_property" transfer-ownership="none">
6944
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6945
<type name="utf8" c:type="const gchar*"/>
6947
<parameter name="arg_value" transfer-ownership="none">
6948
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6949
<type name="utf8" c:type="const gchar*"/>
6951
<parameter name="arg_interest" transfer-ownership="none">
6952
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6953
<type name="gint" c:type="gint"/>
6955
<parameter name="cancellable"
6956
transfer-ownership="none"
6958
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6959
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6963
<method name="call_show_indicator"
6964
c:identifier="unity_webapps_gen_indicator_call_show_indicator">
6965
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ShowIndicator">ShowIndicator()</link> D-Bus method on @proxy.
6966
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
6967
You can then call unity_webapps_gen_indicator_call_show_indicator_finish() to get the result of the operation.
6969
See unity_webapps_gen_indicator_call_show_indicator_sync() for the synchronous, blocking version of this method.</doc>
6970
<return-value transfer-ownership="none">
6971
<type name="none" c:type="void"/>
6974
<parameter name="arg_name" transfer-ownership="none">
6975
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6976
<type name="utf8" c:type="const gchar*"/>
6978
<parameter name="arg_interest" transfer-ownership="none">
6979
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
6980
<type name="gint" c:type="gint"/>
6982
<parameter name="cancellable"
6983
transfer-ownership="none"
6985
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
6986
<type name="Gio.Cancellable" c:type="GCancellable*"/>
6988
<parameter name="callback"
6989
transfer-ownership="none"
6993
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
6994
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
6996
<parameter name="user_data" transfer-ownership="none">
6997
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
6998
<type name="gpointer" c:type="gpointer"/>
7002
<method name="call_show_indicator_finish"
7003
c:identifier="unity_webapps_gen_indicator_call_show_indicator_finish"
7005
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_call_show_indicator().</doc>
7006
<return-value transfer-ownership="none" skip="1">
7007
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
7008
<type name="gboolean" c:type="gboolean"/>
7011
<parameter name="res" transfer-ownership="none">
7012
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_call_show_indicator().</doc>
7013
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
7017
<method name="call_show_indicator_sync"
7018
c:identifier="unity_webapps_gen_indicator_call_show_indicator_sync"
7020
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ShowIndicator">ShowIndicator()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
7022
See unity_webapps_gen_indicator_call_show_indicator() for the asynchronous version of this method.</doc>
7023
<return-value transfer-ownership="none" skip="1">
7024
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
7025
<type name="gboolean" c:type="gboolean"/>
7028
<parameter name="arg_name" transfer-ownership="none">
7029
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
7030
<type name="utf8" c:type="const gchar*"/>
7032
<parameter name="arg_interest" transfer-ownership="none">
7033
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
7034
<type name="gint" c:type="gint"/>
7036
<parameter name="cancellable"
7037
transfer-ownership="none"
7039
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
7040
<type name="Gio.Cancellable" c:type="GCancellable*"/>
7044
<method name="complete_add_action"
7045
c:identifier="unity_webapps_gen_indicator_complete_add_action">
7046
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.AddAction">AddAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7048
This method will free @invocation, you cannot use it afterwards.</doc>
7049
<return-value transfer-ownership="none">
7050
<type name="none" c:type="void"/>
7053
<parameter name="invocation" transfer-ownership="full">
7054
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7055
<type name="Gio.DBusMethodInvocation"
7056
c:type="GDBusMethodInvocation*"/>
7060
<method name="complete_clear_indicator"
7061
c:identifier="unity_webapps_gen_indicator_complete_clear_indicator">
7062
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicator">ClearIndicator()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7064
This method will free @invocation, you cannot use it afterwards.</doc>
7065
<return-value transfer-ownership="none">
7066
<type name="none" c:type="void"/>
7069
<parameter name="invocation" transfer-ownership="full">
7070
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7071
<type name="Gio.DBusMethodInvocation"
7072
c:type="GDBusMethodInvocation*"/>
7076
<method name="complete_clear_indicators"
7077
c:identifier="unity_webapps_gen_indicator_complete_clear_indicators">
7078
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicators">ClearIndicators()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7080
This method will free @invocation, you cannot use it afterwards.</doc>
7081
<return-value transfer-ownership="none">
7082
<type name="none" c:type="void"/>
7085
<parameter name="invocation" transfer-ownership="full">
7086
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7087
<type name="Gio.DBusMethodInvocation"
7088
c:type="GDBusMethodInvocation*"/>
7092
<method name="complete_remove_action"
7093
c:identifier="unity_webapps_gen_indicator_complete_remove_action">
7094
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveAction">RemoveAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7096
This method will free @invocation, you cannot use it afterwards.</doc>
7097
<return-value transfer-ownership="none">
7098
<type name="none" c:type="void"/>
7101
<parameter name="invocation" transfer-ownership="full">
7102
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7103
<type name="Gio.DBusMethodInvocation"
7104
c:type="GDBusMethodInvocation*"/>
7108
<method name="complete_remove_actions"
7109
c:identifier="unity_webapps_gen_indicator_complete_remove_actions">
7110
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveActions">RemoveActions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7112
This method will free @invocation, you cannot use it afterwards.</doc>
7113
<return-value transfer-ownership="none">
7114
<type name="none" c:type="void"/>
7117
<parameter name="invocation" transfer-ownership="full">
7118
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7119
<type name="Gio.DBusMethodInvocation"
7120
c:type="GDBusMethodInvocation*"/>
7124
<method name="complete_set_property"
7125
c:identifier="unity_webapps_gen_indicator_complete_set_property">
7126
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetProperty">SetProperty()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7128
This method will free @invocation, you cannot use it afterwards.</doc>
7129
<return-value transfer-ownership="none">
7130
<type name="none" c:type="void"/>
7133
<parameter name="invocation" transfer-ownership="full">
7134
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7135
<type name="Gio.DBusMethodInvocation"
7136
c:type="GDBusMethodInvocation*"/>
7140
<method name="complete_set_property_icon"
7141
c:identifier="unity_webapps_gen_indicator_complete_set_property_icon">
7142
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetPropertyIcon">SetPropertyIcon()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7144
This method will free @invocation, you cannot use it afterwards.</doc>
7145
<return-value transfer-ownership="none">
7146
<type name="none" c:type="void"/>
7149
<parameter name="invocation" transfer-ownership="full">
7150
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7151
<type name="Gio.DBusMethodInvocation"
7152
c:type="GDBusMethodInvocation*"/>
7156
<method name="complete_show_indicator"
7157
c:identifier="unity_webapps_gen_indicator_complete_show_indicator">
7158
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ShowIndicator">ShowIndicator()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
7160
This method will free @invocation, you cannot use it afterwards.</doc>
7161
<return-value transfer-ownership="none">
7162
<type name="none" c:type="void"/>
7165
<parameter name="invocation" transfer-ownership="full">
7166
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7167
<type name="Gio.DBusMethodInvocation"
7168
c:type="GDBusMethodInvocation*"/>
7172
<method name="dup_presence"
7173
c:identifier="unity_webapps_gen_indicator_dup_presence"
7175
<doc xml:whitespace="preserve">Gets a copy of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Indicator.Presence">"Presence"</link> D-Bus property.
7177
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</doc>
7178
<return-value transfer-ownership="full">
7179
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. The returned value should be freed with g_free().</doc>
7180
<type name="utf8" c:type="gchar*"/>
7183
<method name="emit_action_invoked"
7184
c:identifier="unity_webapps_gen_indicator_emit_action_invoked">
7185
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Indicator.ActionInvoked">"ActionInvoked"</link> D-Bus signal.</doc>
7186
<return-value transfer-ownership="none">
7187
<type name="none" c:type="void"/>
7190
<parameter name="arg_label" transfer-ownership="none">
7191
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
7192
<type name="utf8" c:type="const gchar*"/>
7196
<method name="get_presence"
7197
c:identifier="unity_webapps_gen_indicator_get_presence"
7199
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Indicator.Presence">"Presence"</link> D-Bus property.
7201
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
7203
<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use unity_webapps_gen_indicator_dup_presence() if on another thread.</warning></doc>
7204
<return-value transfer-ownership="none">
7205
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
7206
<type name="utf8" c:type="const gchar*"/>
7209
<method name="set_presence"
7210
c:identifier="unity_webapps_gen_indicator_set_presence"
7212
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-Indicator.Presence">"Presence"</link> D-Bus property to @value.
7214
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</doc>
7215
<return-value transfer-ownership="none">
7216
<type name="none" c:type="void"/>
7219
<parameter name="value" transfer-ownership="none">
7220
<doc xml:whitespace="preserve">The value to set.</doc>
7221
<type name="utf8" c:type="const gchar*"/>
7225
<property name="presence" writable="1" transfer-ownership="none">
7226
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-Indicator.Presence">"Presence"</link>.
7228
Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</doc>
7231
<glib:signal name="action-invoked" when="last">
7232
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Indicator.ActionInvoked">"ActionInvoked"</link> is received.
7234
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
7235
<return-value transfer-ownership="none">
7239
<parameter name="arg_label" transfer-ownership="none">
7240
<doc xml:whitespace="preserve">Argument.</doc>
7245
<glib:signal name="handle-add-action" when="last">
7246
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.AddAction">AddAction()</link> D-Bus method.
7248
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_add_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7249
<return-value transfer-ownership="none">
7250
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7251
<type name="gboolean"/>
7254
<parameter name="invocation" transfer-ownership="none">
7255
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7256
<type name="Gio.DBusMethodInvocation"/>
7258
<parameter name="arg_label" transfer-ownership="none">
7259
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7262
<parameter name="arg_interest" transfer-ownership="none">
7263
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7268
<glib:signal name="handle-clear-indicator" when="last">
7269
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicator">ClearIndicator()</link> D-Bus method.
7271
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_clear_indicator() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7272
<return-value transfer-ownership="none">
7273
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7274
<type name="gboolean"/>
7277
<parameter name="invocation" transfer-ownership="none">
7278
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7279
<type name="Gio.DBusMethodInvocation"/>
7281
<parameter name="arg_name" transfer-ownership="none">
7282
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7285
<parameter name="arg_interest" transfer-ownership="none">
7286
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7291
<glib:signal name="handle-clear-indicators" when="last">
7292
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ClearIndicators">ClearIndicators()</link> D-Bus method.
7294
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_clear_indicators() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7295
<return-value transfer-ownership="none">
7296
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7297
<type name="gboolean"/>
7300
<parameter name="invocation" transfer-ownership="none">
7301
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7302
<type name="Gio.DBusMethodInvocation"/>
7304
<parameter name="arg_interest" transfer-ownership="none">
7305
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7310
<glib:signal name="handle-remove-action" when="last">
7311
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveAction">RemoveAction()</link> D-Bus method.
7313
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_remove_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7314
<return-value transfer-ownership="none">
7315
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7316
<type name="gboolean"/>
7319
<parameter name="invocation" transfer-ownership="none">
7320
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7321
<type name="Gio.DBusMethodInvocation"/>
7323
<parameter name="arg_label" transfer-ownership="none">
7324
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7327
<parameter name="arg_interest" transfer-ownership="none">
7328
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7333
<glib:signal name="handle-remove-actions" when="last">
7334
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.RemoveActions">RemoveActions()</link> D-Bus method.
7336
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_remove_actions() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7337
<return-value transfer-ownership="none">
7338
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7339
<type name="gboolean"/>
7342
<parameter name="invocation" transfer-ownership="none">
7343
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7344
<type name="Gio.DBusMethodInvocation"/>
7346
<parameter name="arg_interest" transfer-ownership="none">
7347
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7352
<glib:signal name="handle-set-property" when="last">
7353
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetProperty">SetProperty()</link> D-Bus method.
7355
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_set_property() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7356
<return-value transfer-ownership="none">
7357
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7358
<type name="gboolean"/>
7361
<parameter name="invocation" transfer-ownership="none">
7362
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7363
<type name="Gio.DBusMethodInvocation"/>
7365
<parameter name="arg_name" transfer-ownership="none">
7366
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7369
<parameter name="arg_property" transfer-ownership="none">
7370
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7373
<parameter name="arg_value" transfer-ownership="none">
7374
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7377
<parameter name="arg_interest" transfer-ownership="none">
7378
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7383
<glib:signal name="handle-set-property-icon" when="last">
7384
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.SetPropertyIcon">SetPropertyIcon()</link> D-Bus method.
7386
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_set_property_icon() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7387
<return-value transfer-ownership="none">
7388
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7389
<type name="gboolean"/>
7392
<parameter name="invocation" transfer-ownership="none">
7393
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7394
<type name="Gio.DBusMethodInvocation"/>
7396
<parameter name="arg_name" transfer-ownership="none">
7397
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7400
<parameter name="arg_property" transfer-ownership="none">
7401
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7404
<parameter name="arg_iconurl" transfer-ownership="none">
7405
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7410
<glib:signal name="handle-show-indicator" when="last">
7411
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Indicator.ShowIndicator">ShowIndicator()</link> D-Bus method.
7413
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_indicator_complete_show_indicator() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
7414
<return-value transfer-ownership="none">
7415
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
7416
<type name="gboolean"/>
7419
<parameter name="invocation" transfer-ownership="none">
7420
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
7421
<type name="Gio.DBusMethodInvocation"/>
7423
<parameter name="arg_name" transfer-ownership="none">
7424
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7427
<parameter name="arg_interest" transfer-ownership="none">
7428
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
7434
<record name="GenIndicatorIface"
7435
c:type="UnityWebappsGenIndicatorIface"
7436
glib:is-gtype-struct-for="GenIndicator">
7437
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link>.</doc>
7438
<field name="parent_iface">
7439
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
7441
<field name="handle_add_action">
7442
<callback name="handle_add_action">
7443
<return-value transfer-ownership="none">
7444
<type name="gboolean" c:type="gboolean"/>
7447
<parameter name="object" transfer-ownership="none">
7448
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7450
<parameter name="invocation" transfer-ownership="none">
7451
<type name="Gio.DBusMethodInvocation"
7452
c:type="GDBusMethodInvocation*"/>
7454
<parameter name="arg_label" transfer-ownership="none">
7455
<type name="utf8" c:type="const gchar*"/>
7457
<parameter name="arg_interest" transfer-ownership="none">
7458
<type name="gint" c:type="gint"/>
7463
<field name="handle_clear_indicator">
7464
<callback name="handle_clear_indicator">
7465
<return-value transfer-ownership="none">
7466
<type name="gboolean" c:type="gboolean"/>
7469
<parameter name="object" transfer-ownership="none">
7470
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7472
<parameter name="invocation" transfer-ownership="none">
7473
<type name="Gio.DBusMethodInvocation"
7474
c:type="GDBusMethodInvocation*"/>
7476
<parameter name="arg_name" transfer-ownership="none">
7477
<type name="utf8" c:type="const gchar*"/>
7479
<parameter name="arg_interest" transfer-ownership="none">
7480
<type name="gint" c:type="gint"/>
7485
<field name="handle_clear_indicators">
7486
<callback name="handle_clear_indicators">
7487
<return-value transfer-ownership="none">
7488
<type name="gboolean" c:type="gboolean"/>
7491
<parameter name="object" transfer-ownership="none">
7492
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7494
<parameter name="invocation" transfer-ownership="none">
7495
<type name="Gio.DBusMethodInvocation"
7496
c:type="GDBusMethodInvocation*"/>
7498
<parameter name="arg_interest" transfer-ownership="none">
7499
<type name="gint" c:type="gint"/>
7504
<field name="handle_remove_action">
7505
<callback name="handle_remove_action">
7506
<return-value transfer-ownership="none">
7507
<type name="gboolean" c:type="gboolean"/>
7510
<parameter name="object" transfer-ownership="none">
7511
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7513
<parameter name="invocation" transfer-ownership="none">
7514
<type name="Gio.DBusMethodInvocation"
7515
c:type="GDBusMethodInvocation*"/>
7517
<parameter name="arg_label" transfer-ownership="none">
7518
<type name="utf8" c:type="const gchar*"/>
7520
<parameter name="arg_interest" transfer-ownership="none">
7521
<type name="gint" c:type="gint"/>
7526
<field name="handle_remove_actions">
7527
<callback name="handle_remove_actions">
7528
<return-value transfer-ownership="none">
7529
<type name="gboolean" c:type="gboolean"/>
7532
<parameter name="object" transfer-ownership="none">
7533
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7535
<parameter name="invocation" transfer-ownership="none">
7536
<type name="Gio.DBusMethodInvocation"
7537
c:type="GDBusMethodInvocation*"/>
7539
<parameter name="arg_interest" transfer-ownership="none">
7540
<type name="gint" c:type="gint"/>
7545
<field name="handle_set_property">
7546
<callback name="handle_set_property">
7547
<return-value transfer-ownership="none">
7548
<type name="gboolean" c:type="gboolean"/>
7551
<parameter name="object" transfer-ownership="none">
7552
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7554
<parameter name="invocation" transfer-ownership="none">
7555
<type name="Gio.DBusMethodInvocation"
7556
c:type="GDBusMethodInvocation*"/>
7558
<parameter name="arg_name" transfer-ownership="none">
7559
<type name="utf8" c:type="const gchar*"/>
7561
<parameter name="arg_property" transfer-ownership="none">
7562
<type name="utf8" c:type="const gchar*"/>
7564
<parameter name="arg_value" transfer-ownership="none">
7565
<type name="utf8" c:type="const gchar*"/>
7567
<parameter name="arg_interest" transfer-ownership="none">
7568
<type name="gint" c:type="gint"/>
7573
<field name="handle_set_property_icon">
7574
<callback name="handle_set_property_icon">
7575
<return-value transfer-ownership="none">
7576
<type name="gboolean" c:type="gboolean"/>
7579
<parameter name="object" transfer-ownership="none">
7580
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7582
<parameter name="invocation" transfer-ownership="none">
7583
<type name="Gio.DBusMethodInvocation"
7584
c:type="GDBusMethodInvocation*"/>
7586
<parameter name="arg_name" transfer-ownership="none">
7587
<type name="utf8" c:type="const gchar*"/>
7589
<parameter name="arg_property" transfer-ownership="none">
7590
<type name="utf8" c:type="const gchar*"/>
7592
<parameter name="arg_iconurl" transfer-ownership="none">
7593
<type name="utf8" c:type="const gchar*"/>
7598
<field name="handle_show_indicator">
7599
<callback name="handle_show_indicator">
7600
<return-value transfer-ownership="none">
7601
<type name="gboolean" c:type="gboolean"/>
7604
<parameter name="object" transfer-ownership="none">
7605
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7607
<parameter name="invocation" transfer-ownership="none">
7608
<type name="Gio.DBusMethodInvocation"
7609
c:type="GDBusMethodInvocation*"/>
7611
<parameter name="arg_name" transfer-ownership="none">
7612
<type name="utf8" c:type="const gchar*"/>
7614
<parameter name="arg_interest" transfer-ownership="none">
7615
<type name="gint" c:type="gint"/>
7620
<field name="get_presence">
7621
<callback name="get_presence">
7622
<return-value transfer-ownership="none">
7623
<doc xml:whitespace="preserve">The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.</doc>
7624
<type name="utf8" c:type="const gchar*"/>
7627
<parameter name="object" transfer-ownership="none">
7628
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7633
<field name="action_invoked">
7634
<callback name="action_invoked">
7635
<return-value transfer-ownership="none">
7636
<type name="none" c:type="void"/>
7639
<parameter name="object" transfer-ownership="none">
7640
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
7642
<parameter name="arg_label" transfer-ownership="none">
7643
<type name="utf8" c:type="const gchar*"/>
7649
<class name="GenIndicatorProxy"
7650
c:symbol-prefix="gen_indicator_proxy"
7651
c:type="UnityWebappsGenIndicatorProxy"
7652
parent="Gio.DBusProxy"
7653
glib:type-name="UnityWebappsGenIndicatorProxy"
7654
glib:get-type="unity_webapps_gen_indicator_proxy_get_type"
7655
glib:type-struct="GenIndicatorProxyClass">
7656
<doc xml:whitespace="preserve">The #UnityWebappsGenIndicatorProxy structure contains only private data and should only be accessed using the provided API.</doc>
7657
<implements name="Gio.AsyncInitable"/>
7658
<implements name="Gio.DBusInterface"/>
7659
<implements name="Gio.Initable"/>
7660
<implements name="GenIndicator"/>
7661
<constructor name="new_finish"
7662
c:identifier="unity_webapps_gen_indicator_proxy_new_finish"
7664
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_proxy_new().</doc>
7665
<return-value transfer-ownership="full">
7666
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
7667
<type name="GenIndicatorProxy" c:type="UnityWebappsGenIndicator*"/>
7670
<parameter name="res" transfer-ownership="none">
7671
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_proxy_new().</doc>
7672
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
7676
<constructor name="new_for_bus_finish"
7677
c:identifier="unity_webapps_gen_indicator_proxy_new_for_bus_finish"
7679
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_indicator_proxy_new_for_bus().</doc>
7680
<return-value transfer-ownership="full">
7681
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
7682
<type name="GenIndicatorProxy" c:type="UnityWebappsGenIndicator*"/>
7685
<parameter name="res" transfer-ownership="none">
7686
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_indicator_proxy_new_for_bus().</doc>
7687
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
7691
<constructor name="new_for_bus_sync"
7692
c:identifier="unity_webapps_gen_indicator_proxy_new_for_bus_sync"
7694
<doc xml:whitespace="preserve">Like unity_webapps_gen_indicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
7696
The calling thread is blocked until a reply is received.
7698
See unity_webapps_gen_indicator_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
7699
<return-value transfer-ownership="full">
7700
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
7701
<type name="GenIndicatorProxy" c:type="UnityWebappsGenIndicator*"/>
7704
<parameter name="bus_type" transfer-ownership="none">
7705
<doc xml:whitespace="preserve">A #GBusType.</doc>
7706
<type name="Gio.BusType" c:type="GBusType"/>
7708
<parameter name="flags" transfer-ownership="none">
7709
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
7710
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
7712
<parameter name="name" transfer-ownership="none">
7713
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
7714
<type name="utf8" c:type="const gchar*"/>
7716
<parameter name="object_path" transfer-ownership="none">
7717
<doc xml:whitespace="preserve">An object path.</doc>
7718
<type name="utf8" c:type="const gchar*"/>
7720
<parameter name="cancellable"
7721
transfer-ownership="none"
7723
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
7724
<type name="Gio.Cancellable" c:type="GCancellable*"/>
7728
<constructor name="new_sync"
7729
c:identifier="unity_webapps_gen_indicator_proxy_new_sync"
7731
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link>. See g_dbus_proxy_new_sync() for more details.
7733
The calling thread is blocked until a reply is received.
7735
See unity_webapps_gen_indicator_proxy_new() for the asynchronous version of this constructor.</doc>
7736
<return-value transfer-ownership="full">
7737
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
7738
<type name="GenIndicatorProxy" c:type="UnityWebappsGenIndicator*"/>
7741
<parameter name="connection" transfer-ownership="none">
7742
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
7743
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
7745
<parameter name="flags" transfer-ownership="none">
7746
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
7747
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
7749
<parameter name="name" transfer-ownership="none" allow-none="1">
7750
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
7751
<type name="utf8" c:type="const gchar*"/>
7753
<parameter name="object_path" transfer-ownership="none">
7754
<doc xml:whitespace="preserve">An object path.</doc>
7755
<type name="utf8" c:type="const gchar*"/>
7757
<parameter name="cancellable"
7758
transfer-ownership="none"
7760
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
7761
<type name="Gio.Cancellable" c:type="GCancellable*"/>
7765
<function name="new"
7766
c:identifier="unity_webapps_gen_indicator_proxy_new">
7767
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link>. See g_dbus_proxy_new() for more details.
7769
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
7770
You can then call unity_webapps_gen_indicator_proxy_new_finish() to get the result of the operation.
7772
See unity_webapps_gen_indicator_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
7773
<return-value transfer-ownership="none">
7774
<type name="none" c:type="void"/>
7777
<parameter name="connection" transfer-ownership="none">
7778
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
7779
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
7781
<parameter name="flags" transfer-ownership="none">
7782
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
7783
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
7785
<parameter name="name" transfer-ownership="none" allow-none="1">
7786
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
7787
<type name="utf8" c:type="const gchar*"/>
7789
<parameter name="object_path" transfer-ownership="none">
7790
<doc xml:whitespace="preserve">An object path.</doc>
7791
<type name="utf8" c:type="const gchar*"/>
7793
<parameter name="cancellable"
7794
transfer-ownership="none"
7796
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
7797
<type name="Gio.Cancellable" c:type="GCancellable*"/>
7799
<parameter name="callback"
7800
transfer-ownership="none"
7804
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
7805
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
7807
<parameter name="user_data" transfer-ownership="none">
7808
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
7809
<type name="gpointer" c:type="gpointer"/>
7813
<function name="new_for_bus"
7814
c:identifier="unity_webapps_gen_indicator_proxy_new_for_bus">
7815
<doc xml:whitespace="preserve">Like unity_webapps_gen_indicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
7817
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
7818
You can then call unity_webapps_gen_indicator_proxy_new_for_bus_finish() to get the result of the operation.
7820
See unity_webapps_gen_indicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
7821
<return-value transfer-ownership="none">
7822
<type name="none" c:type="void"/>
7825
<parameter name="bus_type" transfer-ownership="none">
7826
<doc xml:whitespace="preserve">A #GBusType.</doc>
7827
<type name="Gio.BusType" c:type="GBusType"/>
7829
<parameter name="flags" transfer-ownership="none">
7830
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
7831
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
7833
<parameter name="name" transfer-ownership="none">
7834
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
7835
<type name="utf8" c:type="const gchar*"/>
7837
<parameter name="object_path" transfer-ownership="none">
7838
<doc xml:whitespace="preserve">An object path.</doc>
7839
<type name="utf8" c:type="const gchar*"/>
7841
<parameter name="cancellable"
7842
transfer-ownership="none"
7844
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
7845
<type name="Gio.Cancellable" c:type="GCancellable*"/>
7847
<parameter name="callback"
7848
transfer-ownership="none"
7852
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
7853
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
7855
<parameter name="user_data" transfer-ownership="none">
7856
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
7857
<type name="gpointer" c:type="gpointer"/>
7861
<field name="parent_instance" readable="0" private="1">
7862
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
7864
<field name="priv" readable="0" private="1">
7865
<type name="GenIndicatorProxyPrivate"
7866
c:type="UnityWebappsGenIndicatorProxyPrivate*"/>
7869
<record name="GenIndicatorProxyClass"
7870
c:type="UnityWebappsGenIndicatorProxyClass"
7871
glib:is-gtype-struct-for="GenIndicatorProxy">
7872
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenIndicatorProxy.</doc>
7873
<field name="parent_class">
7874
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
7877
<record name="GenIndicatorProxyPrivate"
7878
c:type="UnityWebappsGenIndicatorProxyPrivate"
7881
<class name="GenIndicatorSkeleton"
7882
c:symbol-prefix="gen_indicator_skeleton"
7883
c:type="UnityWebappsGenIndicatorSkeleton"
7884
parent="Gio.DBusInterfaceSkeleton"
7885
glib:type-name="UnityWebappsGenIndicatorSkeleton"
7886
glib:get-type="unity_webapps_gen_indicator_skeleton_get_type"
7887
glib:type-struct="GenIndicatorSkeletonClass">
7888
<doc xml:whitespace="preserve">The #UnityWebappsGenIndicatorSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
7889
<implements name="Gio.DBusInterface"/>
7890
<implements name="GenIndicator"/>
7891
<constructor name="new"
7892
c:identifier="unity_webapps_gen_indicator_skeleton_new">
7893
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link>.</doc>
7894
<return-value transfer-ownership="full">
7895
<doc xml:whitespace="preserve">The skeleton object.</doc>
7896
<type name="GenIndicatorSkeleton"
7897
c:type="UnityWebappsGenIndicator*"/>
7900
<field name="parent_instance" readable="0" private="1">
7901
<type name="Gio.DBusInterfaceSkeleton"
7902
c:type="GDBusInterfaceSkeleton"/>
7904
<field name="priv" readable="0" private="1">
7905
<type name="GenIndicatorSkeletonPrivate"
7906
c:type="UnityWebappsGenIndicatorSkeletonPrivate*"/>
7909
<record name="GenIndicatorSkeletonClass"
7910
c:type="UnityWebappsGenIndicatorSkeletonClass"
7911
glib:is-gtype-struct-for="GenIndicatorSkeleton">
7912
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenIndicatorSkeleton.</doc>
7913
<field name="parent_class">
7914
<type name="Gio.DBusInterfaceSkeletonClass"
7915
c:type="GDBusInterfaceSkeletonClass"/>
7918
<record name="GenIndicatorSkeletonPrivate"
7919
c:type="UnityWebappsGenIndicatorSkeletonPrivate"
7922
<interface name="GenLauncher"
7923
c:symbol-prefix="gen_launcher"
7924
c:type="UnityWebappsGenLauncher"
7925
glib:type-name="UnityWebappsGenLauncher"
7926
glib:get-type="unity_webapps_gen_launcher_get_type"
7927
glib:type-struct="GenLauncherIface">
7928
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link>.</doc>
7929
<function name="interface_info"
7930
c:identifier="unity_webapps_gen_launcher_interface_info">
7931
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link> D-Bus interface.</doc>
7932
<return-value transfer-ownership="none">
7933
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
7934
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
7937
<function name="override_properties"
7938
c:identifier="unity_webapps_gen_launcher_override_properties">
7939
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenLauncher interface for a concrete class.
7940
The properties are overridden in the order they are defined.</doc>
7941
<return-value transfer-ownership="none">
7942
<doc xml:whitespace="preserve">The last property id.</doc>
7943
<type name="guint" c:type="guint"/>
7946
<parameter name="klass" transfer-ownership="none">
7947
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
7948
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
7950
<parameter name="property_id_begin" transfer-ownership="none">
7951
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
7952
<type name="guint" c:type="guint"/>
7956
<virtual-method name="action_invoked">
7957
<return-value transfer-ownership="none">
7958
<type name="none" c:type="void"/>
7961
<parameter name="arg_label" transfer-ownership="none">
7962
<type name="utf8" c:type="const gchar*"/>
7964
<parameter name="arg_interest" transfer-ownership="none">
7965
<type name="gint" c:type="gint"/>
7969
<virtual-method name="handle_add_action">
7970
<return-value transfer-ownership="none">
7971
<type name="gboolean" c:type="gboolean"/>
7974
<parameter name="invocation" transfer-ownership="none">
7975
<type name="Gio.DBusMethodInvocation"
7976
c:type="GDBusMethodInvocation*"/>
7978
<parameter name="arg_label" transfer-ownership="none">
7979
<type name="utf8" c:type="const gchar*"/>
7981
<parameter name="arg_interest" transfer-ownership="none">
7982
<type name="gint" c:type="gint"/>
7986
<virtual-method name="handle_add_static_action">
7987
<return-value transfer-ownership="none">
7988
<type name="gboolean" c:type="gboolean"/>
7991
<parameter name="invocation" transfer-ownership="none">
7992
<type name="Gio.DBusMethodInvocation"
7993
c:type="GDBusMethodInvocation*"/>
7995
<parameter name="arg_label" transfer-ownership="none">
7996
<type name="utf8" c:type="const gchar*"/>
7998
<parameter name="arg_page" transfer-ownership="none">
7999
<type name="utf8" c:type="const gchar*"/>
8003
<virtual-method name="handle_clear_count">
8004
<return-value transfer-ownership="none">
8005
<type name="gboolean" c:type="gboolean"/>
8008
<parameter name="invocation" transfer-ownership="none">
8009
<type name="Gio.DBusMethodInvocation"
8010
c:type="GDBusMethodInvocation*"/>
8014
<virtual-method name="handle_clear_progress">
8015
<return-value transfer-ownership="none">
8016
<type name="gboolean" c:type="gboolean"/>
8019
<parameter name="invocation" transfer-ownership="none">
8020
<type name="Gio.DBusMethodInvocation"
8021
c:type="GDBusMethodInvocation*"/>
8025
<virtual-method name="handle_remove_action">
8026
<return-value transfer-ownership="none">
8027
<type name="gboolean" c:type="gboolean"/>
8030
<parameter name="invocation" transfer-ownership="none">
8031
<type name="Gio.DBusMethodInvocation"
8032
c:type="GDBusMethodInvocation*"/>
8034
<parameter name="arg_label" transfer-ownership="none">
8035
<type name="utf8" c:type="const gchar*"/>
8037
<parameter name="arg_interest" transfer-ownership="none">
8038
<type name="gint" c:type="gint"/>
8042
<virtual-method name="handle_remove_actions">
8043
<return-value transfer-ownership="none">
8044
<type name="gboolean" c:type="gboolean"/>
8047
<parameter name="invocation" transfer-ownership="none">
8048
<type name="Gio.DBusMethodInvocation"
8049
c:type="GDBusMethodInvocation*"/>
8051
<parameter name="arg_interest" transfer-ownership="none">
8052
<type name="gint" c:type="gint"/>
8056
<virtual-method name="handle_remove_static_actions">
8057
<return-value transfer-ownership="none">
8058
<type name="gboolean" c:type="gboolean"/>
8061
<parameter name="invocation" transfer-ownership="none">
8062
<type name="Gio.DBusMethodInvocation"
8063
c:type="GDBusMethodInvocation*"/>
8067
<virtual-method name="handle_set_count">
8068
<return-value transfer-ownership="none">
8069
<type name="gboolean" c:type="gboolean"/>
8072
<parameter name="invocation" transfer-ownership="none">
8073
<type name="Gio.DBusMethodInvocation"
8074
c:type="GDBusMethodInvocation*"/>
8076
<parameter name="arg_count" transfer-ownership="none">
8077
<type name="gint" c:type="gint"/>
8081
<virtual-method name="handle_set_progress">
8082
<return-value transfer-ownership="none">
8083
<type name="gboolean" c:type="gboolean"/>
8086
<parameter name="invocation" transfer-ownership="none">
8087
<type name="Gio.DBusMethodInvocation"
8088
c:type="GDBusMethodInvocation*"/>
8090
<parameter name="arg_progress" transfer-ownership="none">
8091
<type name="gdouble" c:type="gdouble"/>
8095
<virtual-method name="handle_set_urgent">
8096
<return-value transfer-ownership="none">
8097
<type name="gboolean" c:type="gboolean"/>
8100
<parameter name="invocation" transfer-ownership="none">
8101
<type name="Gio.DBusMethodInvocation"
8102
c:type="GDBusMethodInvocation*"/>
8106
<method name="call_add_action"
8107
c:identifier="unity_webapps_gen_launcher_call_add_action">
8108
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddAction">AddAction()</link> D-Bus method on @proxy.
8109
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8110
You can then call unity_webapps_gen_launcher_call_add_action_finish() to get the result of the operation.
8112
See unity_webapps_gen_launcher_call_add_action_sync() for the synchronous, blocking version of this method.</doc>
8113
<return-value transfer-ownership="none">
8114
<type name="none" c:type="void"/>
8117
<parameter name="arg_label" transfer-ownership="none">
8118
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8119
<type name="utf8" c:type="const gchar*"/>
8121
<parameter name="arg_interest" transfer-ownership="none">
8122
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8123
<type name="gint" c:type="gint"/>
8125
<parameter name="cancellable"
8126
transfer-ownership="none"
8128
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8129
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8131
<parameter name="callback"
8132
transfer-ownership="none"
8136
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8137
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8139
<parameter name="user_data" transfer-ownership="none">
8140
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8141
<type name="gpointer" c:type="gpointer"/>
8145
<method name="call_add_action_finish"
8146
c:identifier="unity_webapps_gen_launcher_call_add_action_finish"
8148
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_add_action().</doc>
8149
<return-value transfer-ownership="none" skip="1">
8150
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8151
<type name="gboolean" c:type="gboolean"/>
8154
<parameter name="res" transfer-ownership="none">
8155
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_add_action().</doc>
8156
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8160
<method name="call_add_action_sync"
8161
c:identifier="unity_webapps_gen_launcher_call_add_action_sync"
8163
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddAction">AddAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8165
See unity_webapps_gen_launcher_call_add_action() for the asynchronous version of this method.</doc>
8166
<return-value transfer-ownership="none" skip="1">
8167
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8168
<type name="gboolean" c:type="gboolean"/>
8171
<parameter name="arg_label" transfer-ownership="none">
8172
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8173
<type name="utf8" c:type="const gchar*"/>
8175
<parameter name="arg_interest" transfer-ownership="none">
8176
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8177
<type name="gint" c:type="gint"/>
8179
<parameter name="cancellable"
8180
transfer-ownership="none"
8182
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8183
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8187
<method name="call_add_static_action"
8188
c:identifier="unity_webapps_gen_launcher_call_add_static_action">
8189
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddStaticAction">AddStaticAction()</link> D-Bus method on @proxy.
8190
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8191
You can then call unity_webapps_gen_launcher_call_add_static_action_finish() to get the result of the operation.
8193
See unity_webapps_gen_launcher_call_add_static_action_sync() for the synchronous, blocking version of this method.</doc>
8194
<return-value transfer-ownership="none">
8195
<type name="none" c:type="void"/>
8198
<parameter name="arg_label" transfer-ownership="none">
8199
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8200
<type name="utf8" c:type="const gchar*"/>
8202
<parameter name="arg_page" transfer-ownership="none">
8203
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8204
<type name="utf8" c:type="const gchar*"/>
8206
<parameter name="cancellable"
8207
transfer-ownership="none"
8209
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8210
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8212
<parameter name="callback"
8213
transfer-ownership="none"
8217
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8218
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8220
<parameter name="user_data" transfer-ownership="none">
8221
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8222
<type name="gpointer" c:type="gpointer"/>
8226
<method name="call_add_static_action_finish"
8227
c:identifier="unity_webapps_gen_launcher_call_add_static_action_finish"
8229
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_add_static_action().</doc>
8230
<return-value transfer-ownership="none" skip="1">
8231
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8232
<type name="gboolean" c:type="gboolean"/>
8235
<parameter name="res" transfer-ownership="none">
8236
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_add_static_action().</doc>
8237
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8241
<method name="call_add_static_action_sync"
8242
c:identifier="unity_webapps_gen_launcher_call_add_static_action_sync"
8244
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddStaticAction">AddStaticAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8246
See unity_webapps_gen_launcher_call_add_static_action() for the asynchronous version of this method.</doc>
8247
<return-value transfer-ownership="none" skip="1">
8248
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8249
<type name="gboolean" c:type="gboolean"/>
8252
<parameter name="arg_label" transfer-ownership="none">
8253
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8254
<type name="utf8" c:type="const gchar*"/>
8256
<parameter name="arg_page" transfer-ownership="none">
8257
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8258
<type name="utf8" c:type="const gchar*"/>
8260
<parameter name="cancellable"
8261
transfer-ownership="none"
8263
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8264
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8268
<method name="call_clear_count"
8269
c:identifier="unity_webapps_gen_launcher_call_clear_count">
8270
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearCount">ClearCount()</link> D-Bus method on @proxy.
8271
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8272
You can then call unity_webapps_gen_launcher_call_clear_count_finish() to get the result of the operation.
8274
See unity_webapps_gen_launcher_call_clear_count_sync() for the synchronous, blocking version of this method.</doc>
8275
<return-value transfer-ownership="none">
8276
<type name="none" c:type="void"/>
8279
<parameter name="cancellable"
8280
transfer-ownership="none"
8282
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8283
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8285
<parameter name="callback"
8286
transfer-ownership="none"
8290
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8291
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8293
<parameter name="user_data" transfer-ownership="none">
8294
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8295
<type name="gpointer" c:type="gpointer"/>
8299
<method name="call_clear_count_finish"
8300
c:identifier="unity_webapps_gen_launcher_call_clear_count_finish"
8302
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_clear_count().</doc>
8303
<return-value transfer-ownership="none" skip="1">
8304
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8305
<type name="gboolean" c:type="gboolean"/>
8308
<parameter name="res" transfer-ownership="none">
8309
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_clear_count().</doc>
8310
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8314
<method name="call_clear_count_sync"
8315
c:identifier="unity_webapps_gen_launcher_call_clear_count_sync"
8317
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearCount">ClearCount()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8319
See unity_webapps_gen_launcher_call_clear_count() for the asynchronous version of this method.</doc>
8320
<return-value transfer-ownership="none" skip="1">
8321
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8322
<type name="gboolean" c:type="gboolean"/>
8325
<parameter name="cancellable"
8326
transfer-ownership="none"
8328
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8329
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8333
<method name="call_clear_progress"
8334
c:identifier="unity_webapps_gen_launcher_call_clear_progress">
8335
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearProgress">ClearProgress()</link> D-Bus method on @proxy.
8336
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8337
You can then call unity_webapps_gen_launcher_call_clear_progress_finish() to get the result of the operation.
8339
See unity_webapps_gen_launcher_call_clear_progress_sync() for the synchronous, blocking version of this method.</doc>
8340
<return-value transfer-ownership="none">
8341
<type name="none" c:type="void"/>
8344
<parameter name="cancellable"
8345
transfer-ownership="none"
8347
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8348
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8350
<parameter name="callback"
8351
transfer-ownership="none"
8355
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8356
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8358
<parameter name="user_data" transfer-ownership="none">
8359
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8360
<type name="gpointer" c:type="gpointer"/>
8364
<method name="call_clear_progress_finish"
8365
c:identifier="unity_webapps_gen_launcher_call_clear_progress_finish"
8367
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_clear_progress().</doc>
8368
<return-value transfer-ownership="none" skip="1">
8369
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8370
<type name="gboolean" c:type="gboolean"/>
8373
<parameter name="res" transfer-ownership="none">
8374
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_clear_progress().</doc>
8375
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8379
<method name="call_clear_progress_sync"
8380
c:identifier="unity_webapps_gen_launcher_call_clear_progress_sync"
8382
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearProgress">ClearProgress()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8384
See unity_webapps_gen_launcher_call_clear_progress() for the asynchronous version of this method.</doc>
8385
<return-value transfer-ownership="none" skip="1">
8386
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8387
<type name="gboolean" c:type="gboolean"/>
8390
<parameter name="cancellable"
8391
transfer-ownership="none"
8393
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8394
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8398
<method name="call_remove_action"
8399
c:identifier="unity_webapps_gen_launcher_call_remove_action">
8400
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveAction">RemoveAction()</link> D-Bus method on @proxy.
8401
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8402
You can then call unity_webapps_gen_launcher_call_remove_action_finish() to get the result of the operation.
8404
See unity_webapps_gen_launcher_call_remove_action_sync() for the synchronous, blocking version of this method.</doc>
8405
<return-value transfer-ownership="none">
8406
<type name="none" c:type="void"/>
8409
<parameter name="arg_label" transfer-ownership="none">
8410
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8411
<type name="utf8" c:type="const gchar*"/>
8413
<parameter name="arg_interest" transfer-ownership="none">
8414
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8415
<type name="gint" c:type="gint"/>
8417
<parameter name="cancellable"
8418
transfer-ownership="none"
8420
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8421
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8423
<parameter name="callback"
8424
transfer-ownership="none"
8428
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8429
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8431
<parameter name="user_data" transfer-ownership="none">
8432
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8433
<type name="gpointer" c:type="gpointer"/>
8437
<method name="call_remove_action_finish"
8438
c:identifier="unity_webapps_gen_launcher_call_remove_action_finish"
8440
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_remove_action().</doc>
8441
<return-value transfer-ownership="none" skip="1">
8442
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8443
<type name="gboolean" c:type="gboolean"/>
8446
<parameter name="res" transfer-ownership="none">
8447
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_remove_action().</doc>
8448
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8452
<method name="call_remove_action_sync"
8453
c:identifier="unity_webapps_gen_launcher_call_remove_action_sync"
8455
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveAction">RemoveAction()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8457
See unity_webapps_gen_launcher_call_remove_action() for the asynchronous version of this method.</doc>
8458
<return-value transfer-ownership="none" skip="1">
8459
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8460
<type name="gboolean" c:type="gboolean"/>
8463
<parameter name="arg_label" transfer-ownership="none">
8464
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8465
<type name="utf8" c:type="const gchar*"/>
8467
<parameter name="arg_interest" transfer-ownership="none">
8468
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8469
<type name="gint" c:type="gint"/>
8471
<parameter name="cancellable"
8472
transfer-ownership="none"
8474
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8475
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8479
<method name="call_remove_actions"
8480
c:identifier="unity_webapps_gen_launcher_call_remove_actions">
8481
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveActions">RemoveActions()</link> D-Bus method on @proxy.
8482
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8483
You can then call unity_webapps_gen_launcher_call_remove_actions_finish() to get the result of the operation.
8485
See unity_webapps_gen_launcher_call_remove_actions_sync() for the synchronous, blocking version of this method.</doc>
8486
<return-value transfer-ownership="none">
8487
<type name="none" c:type="void"/>
8490
<parameter name="arg_interest" transfer-ownership="none">
8491
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8492
<type name="gint" c:type="gint"/>
8494
<parameter name="cancellable"
8495
transfer-ownership="none"
8497
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8498
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8500
<parameter name="callback"
8501
transfer-ownership="none"
8505
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8506
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8508
<parameter name="user_data" transfer-ownership="none">
8509
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8510
<type name="gpointer" c:type="gpointer"/>
8514
<method name="call_remove_actions_finish"
8515
c:identifier="unity_webapps_gen_launcher_call_remove_actions_finish"
8517
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_remove_actions().</doc>
8518
<return-value transfer-ownership="none" skip="1">
8519
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8520
<type name="gboolean" c:type="gboolean"/>
8523
<parameter name="res" transfer-ownership="none">
8524
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_remove_actions().</doc>
8525
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8529
<method name="call_remove_actions_sync"
8530
c:identifier="unity_webapps_gen_launcher_call_remove_actions_sync"
8532
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveActions">RemoveActions()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8534
See unity_webapps_gen_launcher_call_remove_actions() for the asynchronous version of this method.</doc>
8535
<return-value transfer-ownership="none" skip="1">
8536
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8537
<type name="gboolean" c:type="gboolean"/>
8540
<parameter name="arg_interest" transfer-ownership="none">
8541
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8542
<type name="gint" c:type="gint"/>
8544
<parameter name="cancellable"
8545
transfer-ownership="none"
8547
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8548
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8552
<method name="call_remove_static_actions"
8553
c:identifier="unity_webapps_gen_launcher_call_remove_static_actions">
8554
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveStaticActions">RemoveStaticActions()</link> D-Bus method on @proxy.
8555
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8556
You can then call unity_webapps_gen_launcher_call_remove_static_actions_finish() to get the result of the operation.
8558
See unity_webapps_gen_launcher_call_remove_static_actions_sync() for the synchronous, blocking version of this method.</doc>
8559
<return-value transfer-ownership="none">
8560
<type name="none" c:type="void"/>
8563
<parameter name="cancellable"
8564
transfer-ownership="none"
8566
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8567
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8569
<parameter name="callback"
8570
transfer-ownership="none"
8574
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8575
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8577
<parameter name="user_data" transfer-ownership="none">
8578
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8579
<type name="gpointer" c:type="gpointer"/>
8583
<method name="call_remove_static_actions_finish"
8584
c:identifier="unity_webapps_gen_launcher_call_remove_static_actions_finish"
8586
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_remove_static_actions().</doc>
8587
<return-value transfer-ownership="none" skip="1">
8588
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8589
<type name="gboolean" c:type="gboolean"/>
8592
<parameter name="res" transfer-ownership="none">
8593
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_remove_static_actions().</doc>
8594
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8598
<method name="call_remove_static_actions_sync"
8599
c:identifier="unity_webapps_gen_launcher_call_remove_static_actions_sync"
8601
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveStaticActions">RemoveStaticActions()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8603
See unity_webapps_gen_launcher_call_remove_static_actions() for the asynchronous version of this method.</doc>
8604
<return-value transfer-ownership="none" skip="1">
8605
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8606
<type name="gboolean" c:type="gboolean"/>
8609
<parameter name="cancellable"
8610
transfer-ownership="none"
8612
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8613
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8617
<method name="call_set_count"
8618
c:identifier="unity_webapps_gen_launcher_call_set_count">
8619
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetCount">SetCount()</link> D-Bus method on @proxy.
8620
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8621
You can then call unity_webapps_gen_launcher_call_set_count_finish() to get the result of the operation.
8623
See unity_webapps_gen_launcher_call_set_count_sync() for the synchronous, blocking version of this method.</doc>
8624
<return-value transfer-ownership="none">
8625
<type name="none" c:type="void"/>
8628
<parameter name="arg_count" transfer-ownership="none">
8629
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8630
<type name="gint" c:type="gint"/>
8632
<parameter name="cancellable"
8633
transfer-ownership="none"
8635
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8636
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8638
<parameter name="callback"
8639
transfer-ownership="none"
8643
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8644
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8646
<parameter name="user_data" transfer-ownership="none">
8647
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8648
<type name="gpointer" c:type="gpointer"/>
8652
<method name="call_set_count_finish"
8653
c:identifier="unity_webapps_gen_launcher_call_set_count_finish"
8655
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_set_count().</doc>
8656
<return-value transfer-ownership="none" skip="1">
8657
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8658
<type name="gboolean" c:type="gboolean"/>
8661
<parameter name="res" transfer-ownership="none">
8662
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_set_count().</doc>
8663
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8667
<method name="call_set_count_sync"
8668
c:identifier="unity_webapps_gen_launcher_call_set_count_sync"
8670
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetCount">SetCount()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8672
See unity_webapps_gen_launcher_call_set_count() for the asynchronous version of this method.</doc>
8673
<return-value transfer-ownership="none" skip="1">
8674
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8675
<type name="gboolean" c:type="gboolean"/>
8678
<parameter name="arg_count" transfer-ownership="none">
8679
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8680
<type name="gint" c:type="gint"/>
8682
<parameter name="cancellable"
8683
transfer-ownership="none"
8685
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8686
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8690
<method name="call_set_progress"
8691
c:identifier="unity_webapps_gen_launcher_call_set_progress">
8692
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetProgress">SetProgress()</link> D-Bus method on @proxy.
8693
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8694
You can then call unity_webapps_gen_launcher_call_set_progress_finish() to get the result of the operation.
8696
See unity_webapps_gen_launcher_call_set_progress_sync() for the synchronous, blocking version of this method.</doc>
8697
<return-value transfer-ownership="none">
8698
<type name="none" c:type="void"/>
8701
<parameter name="arg_progress" transfer-ownership="none">
8702
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8703
<type name="gdouble" c:type="gdouble"/>
8705
<parameter name="cancellable"
8706
transfer-ownership="none"
8708
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8709
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8711
<parameter name="callback"
8712
transfer-ownership="none"
8716
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8717
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8719
<parameter name="user_data" transfer-ownership="none">
8720
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8721
<type name="gpointer" c:type="gpointer"/>
8725
<method name="call_set_progress_finish"
8726
c:identifier="unity_webapps_gen_launcher_call_set_progress_finish"
8728
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_set_progress().</doc>
8729
<return-value transfer-ownership="none" skip="1">
8730
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8731
<type name="gboolean" c:type="gboolean"/>
8734
<parameter name="res" transfer-ownership="none">
8735
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_set_progress().</doc>
8736
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8740
<method name="call_set_progress_sync"
8741
c:identifier="unity_webapps_gen_launcher_call_set_progress_sync"
8743
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetProgress">SetProgress()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8745
See unity_webapps_gen_launcher_call_set_progress() for the asynchronous version of this method.</doc>
8746
<return-value transfer-ownership="none" skip="1">
8747
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8748
<type name="gboolean" c:type="gboolean"/>
8751
<parameter name="arg_progress" transfer-ownership="none">
8752
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
8753
<type name="gdouble" c:type="gdouble"/>
8755
<parameter name="cancellable"
8756
transfer-ownership="none"
8758
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8759
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8763
<method name="call_set_urgent"
8764
c:identifier="unity_webapps_gen_launcher_call_set_urgent">
8765
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetUrgent">SetUrgent()</link> D-Bus method on @proxy.
8766
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
8767
You can then call unity_webapps_gen_launcher_call_set_urgent_finish() to get the result of the operation.
8769
See unity_webapps_gen_launcher_call_set_urgent_sync() for the synchronous, blocking version of this method.</doc>
8770
<return-value transfer-ownership="none">
8771
<type name="none" c:type="void"/>
8774
<parameter name="cancellable"
8775
transfer-ownership="none"
8777
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8778
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8780
<parameter name="callback"
8781
transfer-ownership="none"
8785
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
8786
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8788
<parameter name="user_data" transfer-ownership="none">
8789
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
8790
<type name="gpointer" c:type="gpointer"/>
8794
<method name="call_set_urgent_finish"
8795
c:identifier="unity_webapps_gen_launcher_call_set_urgent_finish"
8797
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_call_set_urgent().</doc>
8798
<return-value transfer-ownership="none" skip="1">
8799
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8800
<type name="gboolean" c:type="gboolean"/>
8803
<parameter name="res" transfer-ownership="none">
8804
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_call_set_urgent().</doc>
8805
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
8809
<method name="call_set_urgent_sync"
8810
c:identifier="unity_webapps_gen_launcher_call_set_urgent_sync"
8812
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetUrgent">SetUrgent()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
8814
See unity_webapps_gen_launcher_call_set_urgent() for the asynchronous version of this method.</doc>
8815
<return-value transfer-ownership="none" skip="1">
8816
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
8817
<type name="gboolean" c:type="gboolean"/>
8820
<parameter name="cancellable"
8821
transfer-ownership="none"
8823
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
8824
<type name="Gio.Cancellable" c:type="GCancellable*"/>
8828
<method name="complete_add_action"
8829
c:identifier="unity_webapps_gen_launcher_complete_add_action">
8830
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddAction">AddAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8832
This method will free @invocation, you cannot use it afterwards.</doc>
8833
<return-value transfer-ownership="none">
8834
<type name="none" c:type="void"/>
8837
<parameter name="invocation" transfer-ownership="full">
8838
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8839
<type name="Gio.DBusMethodInvocation"
8840
c:type="GDBusMethodInvocation*"/>
8844
<method name="complete_add_static_action"
8845
c:identifier="unity_webapps_gen_launcher_complete_add_static_action">
8846
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddStaticAction">AddStaticAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8848
This method will free @invocation, you cannot use it afterwards.</doc>
8849
<return-value transfer-ownership="none">
8850
<type name="none" c:type="void"/>
8853
<parameter name="invocation" transfer-ownership="full">
8854
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8855
<type name="Gio.DBusMethodInvocation"
8856
c:type="GDBusMethodInvocation*"/>
8860
<method name="complete_clear_count"
8861
c:identifier="unity_webapps_gen_launcher_complete_clear_count">
8862
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearCount">ClearCount()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8864
This method will free @invocation, you cannot use it afterwards.</doc>
8865
<return-value transfer-ownership="none">
8866
<type name="none" c:type="void"/>
8869
<parameter name="invocation" transfer-ownership="full">
8870
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8871
<type name="Gio.DBusMethodInvocation"
8872
c:type="GDBusMethodInvocation*"/>
8876
<method name="complete_clear_progress"
8877
c:identifier="unity_webapps_gen_launcher_complete_clear_progress">
8878
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearProgress">ClearProgress()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8880
This method will free @invocation, you cannot use it afterwards.</doc>
8881
<return-value transfer-ownership="none">
8882
<type name="none" c:type="void"/>
8885
<parameter name="invocation" transfer-ownership="full">
8886
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8887
<type name="Gio.DBusMethodInvocation"
8888
c:type="GDBusMethodInvocation*"/>
8892
<method name="complete_remove_action"
8893
c:identifier="unity_webapps_gen_launcher_complete_remove_action">
8894
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveAction">RemoveAction()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8896
This method will free @invocation, you cannot use it afterwards.</doc>
8897
<return-value transfer-ownership="none">
8898
<type name="none" c:type="void"/>
8901
<parameter name="invocation" transfer-ownership="full">
8902
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8903
<type name="Gio.DBusMethodInvocation"
8904
c:type="GDBusMethodInvocation*"/>
8908
<method name="complete_remove_actions"
8909
c:identifier="unity_webapps_gen_launcher_complete_remove_actions">
8910
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveActions">RemoveActions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8912
This method will free @invocation, you cannot use it afterwards.</doc>
8913
<return-value transfer-ownership="none">
8914
<type name="none" c:type="void"/>
8917
<parameter name="invocation" transfer-ownership="full">
8918
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8919
<type name="Gio.DBusMethodInvocation"
8920
c:type="GDBusMethodInvocation*"/>
8924
<method name="complete_remove_static_actions"
8925
c:identifier="unity_webapps_gen_launcher_complete_remove_static_actions">
8926
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveStaticActions">RemoveStaticActions()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8928
This method will free @invocation, you cannot use it afterwards.</doc>
8929
<return-value transfer-ownership="none">
8930
<type name="none" c:type="void"/>
8933
<parameter name="invocation" transfer-ownership="full">
8934
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8935
<type name="Gio.DBusMethodInvocation"
8936
c:type="GDBusMethodInvocation*"/>
8940
<method name="complete_set_count"
8941
c:identifier="unity_webapps_gen_launcher_complete_set_count">
8942
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetCount">SetCount()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8944
This method will free @invocation, you cannot use it afterwards.</doc>
8945
<return-value transfer-ownership="none">
8946
<type name="none" c:type="void"/>
8949
<parameter name="invocation" transfer-ownership="full">
8950
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8951
<type name="Gio.DBusMethodInvocation"
8952
c:type="GDBusMethodInvocation*"/>
8956
<method name="complete_set_progress"
8957
c:identifier="unity_webapps_gen_launcher_complete_set_progress">
8958
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetProgress">SetProgress()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8960
This method will free @invocation, you cannot use it afterwards.</doc>
8961
<return-value transfer-ownership="none">
8962
<type name="none" c:type="void"/>
8965
<parameter name="invocation" transfer-ownership="full">
8966
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8967
<type name="Gio.DBusMethodInvocation"
8968
c:type="GDBusMethodInvocation*"/>
8972
<method name="complete_set_urgent"
8973
c:identifier="unity_webapps_gen_launcher_complete_set_urgent">
8974
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetUrgent">SetUrgent()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
8976
This method will free @invocation, you cannot use it afterwards.</doc>
8977
<return-value transfer-ownership="none">
8978
<type name="none" c:type="void"/>
8981
<parameter name="invocation" transfer-ownership="full">
8982
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
8983
<type name="Gio.DBusMethodInvocation"
8984
c:type="GDBusMethodInvocation*"/>
8988
<method name="emit_action_invoked"
8989
c:identifier="unity_webapps_gen_launcher_emit_action_invoked">
8990
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Launcher.ActionInvoked">"ActionInvoked"</link> D-Bus signal.</doc>
8991
<return-value transfer-ownership="none">
8992
<type name="none" c:type="void"/>
8995
<parameter name="arg_label" transfer-ownership="none">
8996
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
8997
<type name="utf8" c:type="const gchar*"/>
8999
<parameter name="arg_interest" transfer-ownership="none">
9000
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
9001
<type name="gint" c:type="gint"/>
9005
<glib:signal name="action-invoked" when="last">
9006
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Launcher.ActionInvoked">"ActionInvoked"</link> is received.
9008
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
9009
<return-value transfer-ownership="none">
9013
<parameter name="arg_label" transfer-ownership="none">
9014
<doc xml:whitespace="preserve">Argument.</doc>
9017
<parameter name="arg_interest" transfer-ownership="none">
9018
<doc xml:whitespace="preserve">Argument.</doc>
9023
<glib:signal name="handle-add-action" when="last">
9024
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddAction">AddAction()</link> D-Bus method.
9026
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_add_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9027
<return-value transfer-ownership="none">
9028
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9029
<type name="gboolean"/>
9032
<parameter name="invocation" transfer-ownership="none">
9033
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9034
<type name="Gio.DBusMethodInvocation"/>
9036
<parameter name="arg_label" transfer-ownership="none">
9037
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9040
<parameter name="arg_interest" transfer-ownership="none">
9041
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9046
<glib:signal name="handle-add-static-action" when="last">
9047
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.AddStaticAction">AddStaticAction()</link> D-Bus method.
9049
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_add_static_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9050
<return-value transfer-ownership="none">
9051
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9052
<type name="gboolean"/>
9055
<parameter name="invocation" transfer-ownership="none">
9056
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9057
<type name="Gio.DBusMethodInvocation"/>
9059
<parameter name="arg_label" transfer-ownership="none">
9060
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9063
<parameter name="arg_page" transfer-ownership="none">
9064
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9069
<glib:signal name="handle-clear-count" when="last">
9070
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearCount">ClearCount()</link> D-Bus method.
9072
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_clear_count() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9073
<return-value transfer-ownership="none">
9074
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9075
<type name="gboolean"/>
9078
<parameter name="invocation" transfer-ownership="none">
9079
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9080
<type name="Gio.DBusMethodInvocation"/>
9084
<glib:signal name="handle-clear-progress" when="last">
9085
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.ClearProgress">ClearProgress()</link> D-Bus method.
9087
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_clear_progress() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9088
<return-value transfer-ownership="none">
9089
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9090
<type name="gboolean"/>
9093
<parameter name="invocation" transfer-ownership="none">
9094
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9095
<type name="Gio.DBusMethodInvocation"/>
9099
<glib:signal name="handle-remove-action" when="last">
9100
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveAction">RemoveAction()</link> D-Bus method.
9102
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_remove_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9103
<return-value transfer-ownership="none">
9104
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9105
<type name="gboolean"/>
9108
<parameter name="invocation" transfer-ownership="none">
9109
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9110
<type name="Gio.DBusMethodInvocation"/>
9112
<parameter name="arg_label" transfer-ownership="none">
9113
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9116
<parameter name="arg_interest" transfer-ownership="none">
9117
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9122
<glib:signal name="handle-remove-actions" when="last">
9123
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveActions">RemoveActions()</link> D-Bus method.
9125
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_remove_actions() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9126
<return-value transfer-ownership="none">
9127
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9128
<type name="gboolean"/>
9131
<parameter name="invocation" transfer-ownership="none">
9132
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9133
<type name="Gio.DBusMethodInvocation"/>
9135
<parameter name="arg_interest" transfer-ownership="none">
9136
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9141
<glib:signal name="handle-remove-static-actions" when="last">
9142
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.RemoveStaticActions">RemoveStaticActions()</link> D-Bus method.
9144
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_remove_static_actions() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9145
<return-value transfer-ownership="none">
9146
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9147
<type name="gboolean"/>
9150
<parameter name="invocation" transfer-ownership="none">
9151
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9152
<type name="Gio.DBusMethodInvocation"/>
9156
<glib:signal name="handle-set-count" when="last">
9157
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetCount">SetCount()</link> D-Bus method.
9159
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_set_count() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9160
<return-value transfer-ownership="none">
9161
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9162
<type name="gboolean"/>
9165
<parameter name="invocation" transfer-ownership="none">
9166
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9167
<type name="Gio.DBusMethodInvocation"/>
9169
<parameter name="arg_count" transfer-ownership="none">
9170
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9175
<glib:signal name="handle-set-progress" when="last">
9176
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetProgress">SetProgress()</link> D-Bus method.
9178
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_set_progress() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9179
<return-value transfer-ownership="none">
9180
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9181
<type name="gboolean"/>
9184
<parameter name="invocation" transfer-ownership="none">
9185
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9186
<type name="Gio.DBusMethodInvocation"/>
9188
<parameter name="arg_progress" transfer-ownership="none">
9189
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
9190
<type name="gdouble"/>
9194
<glib:signal name="handle-set-urgent" when="last">
9195
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Launcher.SetUrgent">SetUrgent()</link> D-Bus method.
9197
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_launcher_complete_set_urgent() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
9198
<return-value transfer-ownership="none">
9199
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
9200
<type name="gboolean"/>
9203
<parameter name="invocation" transfer-ownership="none">
9204
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
9205
<type name="Gio.DBusMethodInvocation"/>
9210
<record name="GenLauncherIface"
9211
c:type="UnityWebappsGenLauncherIface"
9212
glib:is-gtype-struct-for="GenLauncher">
9213
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link>.</doc>
9214
<field name="parent_iface">
9215
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
9217
<field name="handle_add_action">
9218
<callback name="handle_add_action">
9219
<return-value transfer-ownership="none">
9220
<type name="gboolean" c:type="gboolean"/>
9223
<parameter name="object" transfer-ownership="none">
9224
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9226
<parameter name="invocation" transfer-ownership="none">
9227
<type name="Gio.DBusMethodInvocation"
9228
c:type="GDBusMethodInvocation*"/>
9230
<parameter name="arg_label" transfer-ownership="none">
9231
<type name="utf8" c:type="const gchar*"/>
9233
<parameter name="arg_interest" transfer-ownership="none">
9234
<type name="gint" c:type="gint"/>
9239
<field name="handle_add_static_action">
9240
<callback name="handle_add_static_action">
9241
<return-value transfer-ownership="none">
9242
<type name="gboolean" c:type="gboolean"/>
9245
<parameter name="object" transfer-ownership="none">
9246
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9248
<parameter name="invocation" transfer-ownership="none">
9249
<type name="Gio.DBusMethodInvocation"
9250
c:type="GDBusMethodInvocation*"/>
9252
<parameter name="arg_label" transfer-ownership="none">
9253
<type name="utf8" c:type="const gchar*"/>
9255
<parameter name="arg_page" transfer-ownership="none">
9256
<type name="utf8" c:type="const gchar*"/>
9261
<field name="handle_clear_count">
9262
<callback name="handle_clear_count">
9263
<return-value transfer-ownership="none">
9264
<type name="gboolean" c:type="gboolean"/>
9267
<parameter name="object" transfer-ownership="none">
9268
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9270
<parameter name="invocation" transfer-ownership="none">
9271
<type name="Gio.DBusMethodInvocation"
9272
c:type="GDBusMethodInvocation*"/>
9277
<field name="handle_clear_progress">
9278
<callback name="handle_clear_progress">
9279
<return-value transfer-ownership="none">
9280
<type name="gboolean" c:type="gboolean"/>
9283
<parameter name="object" transfer-ownership="none">
9284
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9286
<parameter name="invocation" transfer-ownership="none">
9287
<type name="Gio.DBusMethodInvocation"
9288
c:type="GDBusMethodInvocation*"/>
9293
<field name="handle_remove_action">
9294
<callback name="handle_remove_action">
9295
<return-value transfer-ownership="none">
9296
<type name="gboolean" c:type="gboolean"/>
9299
<parameter name="object" transfer-ownership="none">
9300
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9302
<parameter name="invocation" transfer-ownership="none">
9303
<type name="Gio.DBusMethodInvocation"
9304
c:type="GDBusMethodInvocation*"/>
9306
<parameter name="arg_label" transfer-ownership="none">
9307
<type name="utf8" c:type="const gchar*"/>
9309
<parameter name="arg_interest" transfer-ownership="none">
9310
<type name="gint" c:type="gint"/>
9315
<field name="handle_remove_actions">
9316
<callback name="handle_remove_actions">
9317
<return-value transfer-ownership="none">
9318
<type name="gboolean" c:type="gboolean"/>
9321
<parameter name="object" transfer-ownership="none">
9322
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9324
<parameter name="invocation" transfer-ownership="none">
9325
<type name="Gio.DBusMethodInvocation"
9326
c:type="GDBusMethodInvocation*"/>
9328
<parameter name="arg_interest" transfer-ownership="none">
9329
<type name="gint" c:type="gint"/>
9334
<field name="handle_remove_static_actions">
9335
<callback name="handle_remove_static_actions">
9336
<return-value transfer-ownership="none">
9337
<type name="gboolean" c:type="gboolean"/>
9340
<parameter name="object" transfer-ownership="none">
9341
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9343
<parameter name="invocation" transfer-ownership="none">
9344
<type name="Gio.DBusMethodInvocation"
9345
c:type="GDBusMethodInvocation*"/>
9350
<field name="handle_set_count">
9351
<callback name="handle_set_count">
9352
<return-value transfer-ownership="none">
9353
<type name="gboolean" c:type="gboolean"/>
9356
<parameter name="object" transfer-ownership="none">
9357
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9359
<parameter name="invocation" transfer-ownership="none">
9360
<type name="Gio.DBusMethodInvocation"
9361
c:type="GDBusMethodInvocation*"/>
9363
<parameter name="arg_count" transfer-ownership="none">
9364
<type name="gint" c:type="gint"/>
9369
<field name="handle_set_progress">
9370
<callback name="handle_set_progress">
9371
<return-value transfer-ownership="none">
9372
<type name="gboolean" c:type="gboolean"/>
9375
<parameter name="object" transfer-ownership="none">
9376
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9378
<parameter name="invocation" transfer-ownership="none">
9379
<type name="Gio.DBusMethodInvocation"
9380
c:type="GDBusMethodInvocation*"/>
9382
<parameter name="arg_progress" transfer-ownership="none">
9383
<type name="gdouble" c:type="gdouble"/>
9388
<field name="handle_set_urgent">
9389
<callback name="handle_set_urgent">
9390
<return-value transfer-ownership="none">
9391
<type name="gboolean" c:type="gboolean"/>
9394
<parameter name="object" transfer-ownership="none">
9395
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9397
<parameter name="invocation" transfer-ownership="none">
9398
<type name="Gio.DBusMethodInvocation"
9399
c:type="GDBusMethodInvocation*"/>
9404
<field name="action_invoked">
9405
<callback name="action_invoked">
9406
<return-value transfer-ownership="none">
9407
<type name="none" c:type="void"/>
9410
<parameter name="object" transfer-ownership="none">
9411
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
9413
<parameter name="arg_label" transfer-ownership="none">
9414
<type name="utf8" c:type="const gchar*"/>
9416
<parameter name="arg_interest" transfer-ownership="none">
9417
<type name="gint" c:type="gint"/>
9423
<class name="GenLauncherProxy"
9424
c:symbol-prefix="gen_launcher_proxy"
9425
c:type="UnityWebappsGenLauncherProxy"
9426
parent="Gio.DBusProxy"
9427
glib:type-name="UnityWebappsGenLauncherProxy"
9428
glib:get-type="unity_webapps_gen_launcher_proxy_get_type"
9429
glib:type-struct="GenLauncherProxyClass">
9430
<doc xml:whitespace="preserve">The #UnityWebappsGenLauncherProxy structure contains only private data and should only be accessed using the provided API.</doc>
9431
<implements name="Gio.AsyncInitable"/>
9432
<implements name="Gio.DBusInterface"/>
9433
<implements name="Gio.Initable"/>
9434
<implements name="GenLauncher"/>
9435
<constructor name="new_finish"
9436
c:identifier="unity_webapps_gen_launcher_proxy_new_finish"
9438
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_proxy_new().</doc>
9439
<return-value transfer-ownership="full">
9440
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
9441
<type name="GenLauncherProxy" c:type="UnityWebappsGenLauncher*"/>
9444
<parameter name="res" transfer-ownership="none">
9445
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_proxy_new().</doc>
9446
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
9450
<constructor name="new_for_bus_finish"
9451
c:identifier="unity_webapps_gen_launcher_proxy_new_for_bus_finish"
9453
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_launcher_proxy_new_for_bus().</doc>
9454
<return-value transfer-ownership="full">
9455
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
9456
<type name="GenLauncherProxy" c:type="UnityWebappsGenLauncher*"/>
9459
<parameter name="res" transfer-ownership="none">
9460
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_launcher_proxy_new_for_bus().</doc>
9461
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
9465
<constructor name="new_for_bus_sync"
9466
c:identifier="unity_webapps_gen_launcher_proxy_new_for_bus_sync"
9468
<doc xml:whitespace="preserve">Like unity_webapps_gen_launcher_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
9470
The calling thread is blocked until a reply is received.
9472
See unity_webapps_gen_launcher_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
9473
<return-value transfer-ownership="full">
9474
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
9475
<type name="GenLauncherProxy" c:type="UnityWebappsGenLauncher*"/>
9478
<parameter name="bus_type" transfer-ownership="none">
9479
<doc xml:whitespace="preserve">A #GBusType.</doc>
9480
<type name="Gio.BusType" c:type="GBusType"/>
9482
<parameter name="flags" transfer-ownership="none">
9483
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
9484
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
9486
<parameter name="name" transfer-ownership="none">
9487
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
9488
<type name="utf8" c:type="const gchar*"/>
9490
<parameter name="object_path" transfer-ownership="none">
9491
<doc xml:whitespace="preserve">An object path.</doc>
9492
<type name="utf8" c:type="const gchar*"/>
9494
<parameter name="cancellable"
9495
transfer-ownership="none"
9497
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9498
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9502
<constructor name="new_sync"
9503
c:identifier="unity_webapps_gen_launcher_proxy_new_sync"
9505
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link>. See g_dbus_proxy_new_sync() for more details.
9507
The calling thread is blocked until a reply is received.
9509
See unity_webapps_gen_launcher_proxy_new() for the asynchronous version of this constructor.</doc>
9510
<return-value transfer-ownership="full">
9511
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
9512
<type name="GenLauncherProxy" c:type="UnityWebappsGenLauncher*"/>
9515
<parameter name="connection" transfer-ownership="none">
9516
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
9517
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
9519
<parameter name="flags" transfer-ownership="none">
9520
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
9521
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
9523
<parameter name="name" transfer-ownership="none" allow-none="1">
9524
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
9525
<type name="utf8" c:type="const gchar*"/>
9527
<parameter name="object_path" transfer-ownership="none">
9528
<doc xml:whitespace="preserve">An object path.</doc>
9529
<type name="utf8" c:type="const gchar*"/>
9531
<parameter name="cancellable"
9532
transfer-ownership="none"
9534
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9535
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9539
<function name="new" c:identifier="unity_webapps_gen_launcher_proxy_new">
9540
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link>. See g_dbus_proxy_new() for more details.
9542
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
9543
You can then call unity_webapps_gen_launcher_proxy_new_finish() to get the result of the operation.
9545
See unity_webapps_gen_launcher_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
9546
<return-value transfer-ownership="none">
9547
<type name="none" c:type="void"/>
9550
<parameter name="connection" transfer-ownership="none">
9551
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
9552
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
9554
<parameter name="flags" transfer-ownership="none">
9555
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
9556
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
9558
<parameter name="name" transfer-ownership="none" allow-none="1">
9559
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
9560
<type name="utf8" c:type="const gchar*"/>
9562
<parameter name="object_path" transfer-ownership="none">
9563
<doc xml:whitespace="preserve">An object path.</doc>
9564
<type name="utf8" c:type="const gchar*"/>
9566
<parameter name="cancellable"
9567
transfer-ownership="none"
9569
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9570
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9572
<parameter name="callback"
9573
transfer-ownership="none"
9577
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
9578
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
9580
<parameter name="user_data" transfer-ownership="none">
9581
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
9582
<type name="gpointer" c:type="gpointer"/>
9586
<function name="new_for_bus"
9587
c:identifier="unity_webapps_gen_launcher_proxy_new_for_bus">
9588
<doc xml:whitespace="preserve">Like unity_webapps_gen_launcher_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
9590
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
9591
You can then call unity_webapps_gen_launcher_proxy_new_for_bus_finish() to get the result of the operation.
9593
See unity_webapps_gen_launcher_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
9594
<return-value transfer-ownership="none">
9595
<type name="none" c:type="void"/>
9598
<parameter name="bus_type" transfer-ownership="none">
9599
<doc xml:whitespace="preserve">A #GBusType.</doc>
9600
<type name="Gio.BusType" c:type="GBusType"/>
9602
<parameter name="flags" transfer-ownership="none">
9603
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
9604
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
9606
<parameter name="name" transfer-ownership="none">
9607
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
9608
<type name="utf8" c:type="const gchar*"/>
9610
<parameter name="object_path" transfer-ownership="none">
9611
<doc xml:whitespace="preserve">An object path.</doc>
9612
<type name="utf8" c:type="const gchar*"/>
9614
<parameter name="cancellable"
9615
transfer-ownership="none"
9617
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9618
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9620
<parameter name="callback"
9621
transfer-ownership="none"
9625
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
9626
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
9628
<parameter name="user_data" transfer-ownership="none">
9629
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
9630
<type name="gpointer" c:type="gpointer"/>
9634
<field name="parent_instance" readable="0" private="1">
9635
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
9637
<field name="priv" readable="0" private="1">
9638
<type name="GenLauncherProxyPrivate"
9639
c:type="UnityWebappsGenLauncherProxyPrivate*"/>
9642
<record name="GenLauncherProxyClass"
9643
c:type="UnityWebappsGenLauncherProxyClass"
9644
glib:is-gtype-struct-for="GenLauncherProxy">
9645
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenLauncherProxy.</doc>
9646
<field name="parent_class">
9647
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
9650
<record name="GenLauncherProxyPrivate"
9651
c:type="UnityWebappsGenLauncherProxyPrivate"
9654
<class name="GenLauncherSkeleton"
9655
c:symbol-prefix="gen_launcher_skeleton"
9656
c:type="UnityWebappsGenLauncherSkeleton"
9657
parent="Gio.DBusInterfaceSkeleton"
9658
glib:type-name="UnityWebappsGenLauncherSkeleton"
9659
glib:get-type="unity_webapps_gen_launcher_skeleton_get_type"
9660
glib:type-struct="GenLauncherSkeletonClass">
9661
<doc xml:whitespace="preserve">The #UnityWebappsGenLauncherSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
9662
<implements name="Gio.DBusInterface"/>
9663
<implements name="GenLauncher"/>
9664
<constructor name="new"
9665
c:identifier="unity_webapps_gen_launcher_skeleton_new">
9666
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link>.</doc>
9667
<return-value transfer-ownership="full">
9668
<doc xml:whitespace="preserve">The skeleton object.</doc>
9669
<type name="GenLauncherSkeleton" c:type="UnityWebappsGenLauncher*"/>
9672
<field name="parent_instance" readable="0" private="1">
9673
<type name="Gio.DBusInterfaceSkeleton"
9674
c:type="GDBusInterfaceSkeleton"/>
9676
<field name="priv" readable="0" private="1">
9677
<type name="GenLauncherSkeletonPrivate"
9678
c:type="UnityWebappsGenLauncherSkeletonPrivate*"/>
9681
<record name="GenLauncherSkeletonClass"
9682
c:type="UnityWebappsGenLauncherSkeletonClass"
9683
glib:is-gtype-struct-for="GenLauncherSkeleton">
9684
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenLauncherSkeleton.</doc>
9685
<field name="parent_class">
9686
<type name="Gio.DBusInterfaceSkeletonClass"
9687
c:type="GDBusInterfaceSkeletonClass"/>
9690
<record name="GenLauncherSkeletonPrivate"
9691
c:type="UnityWebappsGenLauncherSkeletonPrivate"
9694
<interface name="GenMusicPlayer"
9695
c:symbol-prefix="gen_music_player"
9696
c:type="UnityWebappsGenMusicPlayer"
9697
glib:type-name="UnityWebappsGenMusicPlayer"
9698
glib:get-type="unity_webapps_gen_music_player_get_type"
9699
glib:type-struct="GenMusicPlayerIface">
9700
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link>.</doc>
9701
<function name="interface_info"
9702
c:identifier="unity_webapps_gen_music_player_interface_info">
9703
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link> D-Bus interface.</doc>
9704
<return-value transfer-ownership="none">
9705
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
9706
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
9709
<function name="override_properties"
9710
c:identifier="unity_webapps_gen_music_player_override_properties">
9711
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenMusicPlayer interface for a concrete class.
9712
The properties are overridden in the order they are defined.</doc>
9713
<return-value transfer-ownership="none">
9714
<doc xml:whitespace="preserve">The last property id.</doc>
9715
<type name="guint" c:type="guint"/>
9718
<parameter name="klass" transfer-ownership="none">
9719
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
9720
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
9722
<parameter name="property_id_begin" transfer-ownership="none">
9723
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
9724
<type name="guint" c:type="guint"/>
9728
<virtual-method name="get_can_go_next"
9729
invoker="get_can_go_next"
9731
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoNext">"CanGoNext"</link> D-Bus property.
9733
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
9734
<return-value transfer-ownership="none">
9735
<doc xml:whitespace="preserve">The property value.</doc>
9736
<type name="gboolean" c:type="gboolean"/>
9739
<virtual-method name="get_can_go_previous"
9740
invoker="get_can_go_previous"
9742
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoPrevious">"CanGoPrevious"</link> D-Bus property.
9744
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
9745
<return-value transfer-ownership="none">
9746
<doc xml:whitespace="preserve">The property value.</doc>
9747
<type name="gboolean" c:type="gboolean"/>
9750
<virtual-method name="get_can_pause"
9751
invoker="get_can_pause"
9753
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPause">"CanPause"</link> D-Bus property.
9755
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
9756
<return-value transfer-ownership="none">
9757
<doc xml:whitespace="preserve">The property value.</doc>
9758
<type name="gboolean" c:type="gboolean"/>
9761
<virtual-method name="get_can_play"
9762
invoker="get_can_play"
9764
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPlay">"CanPlay"</link> D-Bus property.
9766
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
9767
<return-value transfer-ownership="none">
9768
<doc xml:whitespace="preserve">The property value.</doc>
9769
<type name="gboolean" c:type="gboolean"/>
9772
<virtual-method name="get_playback_state"
9773
invoker="get_playback_state"
9775
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.PlaybackState">"PlaybackState"</link> D-Bus property.
9777
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
9778
<return-value transfer-ownership="none">
9779
<doc xml:whitespace="preserve">The property value.</doc>
9780
<type name="gint" c:type="gint"/>
9783
<virtual-method name="handle_set_playlists">
9784
<return-value transfer-ownership="none">
9785
<type name="gboolean" c:type="gboolean"/>
9788
<parameter name="invocation" transfer-ownership="none">
9789
<type name="Gio.DBusMethodInvocation"
9790
c:type="GDBusMethodInvocation*"/>
9792
<parameter name="arg_playlist" transfer-ownership="none">
9793
<type name="utf8" c:type="const gchar* const*"/>
9797
<virtual-method name="handle_set_track">
9798
<return-value transfer-ownership="none">
9799
<type name="gboolean" c:type="gboolean"/>
9802
<parameter name="invocation" transfer-ownership="none">
9803
<type name="Gio.DBusMethodInvocation"
9804
c:type="GDBusMethodInvocation*"/>
9806
<parameter name="arg_artist" transfer-ownership="none">
9807
<type name="utf8" c:type="const gchar*"/>
9809
<parameter name="arg_album" transfer-ownership="none">
9810
<type name="utf8" c:type="const gchar*"/>
9812
<parameter name="arg_title" transfer-ownership="none">
9813
<type name="utf8" c:type="const gchar*"/>
9815
<parameter name="arg_iconurl" transfer-ownership="none">
9816
<type name="utf8" c:type="const gchar*"/>
9820
<virtual-method name="next">
9821
<return-value transfer-ownership="none">
9822
<type name="none" c:type="void"/>
9825
<virtual-method name="play_pause">
9826
<return-value transfer-ownership="none">
9827
<type name="none" c:type="void"/>
9830
<virtual-method name="playlist_activated">
9831
<return-value transfer-ownership="none">
9832
<type name="none" c:type="void"/>
9835
<parameter name="arg_playlist" transfer-ownership="none">
9836
<type name="utf8" c:type="const gchar*"/>
9840
<virtual-method name="previous">
9841
<return-value transfer-ownership="none">
9842
<type name="none" c:type="void"/>
9845
<method name="call_set_playlists"
9846
c:identifier="unity_webapps_gen_music_player_call_set_playlists">
9847
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetPlaylists">SetPlaylists()</link> D-Bus method on @proxy.
9848
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
9849
You can then call unity_webapps_gen_music_player_call_set_playlists_finish() to get the result of the operation.
9851
See unity_webapps_gen_music_player_call_set_playlists_sync() for the synchronous, blocking version of this method.</doc>
9852
<return-value transfer-ownership="none">
9853
<type name="none" c:type="void"/>
9856
<parameter name="arg_playlist" transfer-ownership="none">
9857
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9858
<type name="utf8" c:type="const gchar* const*"/>
9860
<parameter name="cancellable"
9861
transfer-ownership="none"
9863
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9864
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9866
<parameter name="callback"
9867
transfer-ownership="none"
9871
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
9872
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
9874
<parameter name="user_data" transfer-ownership="none">
9875
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
9876
<type name="gpointer" c:type="gpointer"/>
9880
<method name="call_set_playlists_finish"
9881
c:identifier="unity_webapps_gen_music_player_call_set_playlists_finish"
9883
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_music_player_call_set_playlists().</doc>
9884
<return-value transfer-ownership="none" skip="1">
9885
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
9886
<type name="gboolean" c:type="gboolean"/>
9889
<parameter name="res" transfer-ownership="none">
9890
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_music_player_call_set_playlists().</doc>
9891
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
9895
<method name="call_set_playlists_sync"
9896
c:identifier="unity_webapps_gen_music_player_call_set_playlists_sync"
9898
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetPlaylists">SetPlaylists()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
9900
See unity_webapps_gen_music_player_call_set_playlists() for the asynchronous version of this method.</doc>
9901
<return-value transfer-ownership="none" skip="1">
9902
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
9903
<type name="gboolean" c:type="gboolean"/>
9906
<parameter name="arg_playlist" transfer-ownership="none">
9907
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9908
<type name="utf8" c:type="const gchar* const*"/>
9910
<parameter name="cancellable"
9911
transfer-ownership="none"
9913
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9914
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9918
<method name="call_set_track"
9919
c:identifier="unity_webapps_gen_music_player_call_set_track">
9920
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetTrack">SetTrack()</link> D-Bus method on @proxy.
9921
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
9922
You can then call unity_webapps_gen_music_player_call_set_track_finish() to get the result of the operation.
9924
See unity_webapps_gen_music_player_call_set_track_sync() for the synchronous, blocking version of this method.</doc>
9925
<return-value transfer-ownership="none">
9926
<type name="none" c:type="void"/>
9929
<parameter name="arg_artist" transfer-ownership="none">
9930
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9931
<type name="utf8" c:type="const gchar*"/>
9933
<parameter name="arg_album" transfer-ownership="none">
9934
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9935
<type name="utf8" c:type="const gchar*"/>
9937
<parameter name="arg_title" transfer-ownership="none">
9938
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9939
<type name="utf8" c:type="const gchar*"/>
9941
<parameter name="arg_iconurl" transfer-ownership="none">
9942
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9943
<type name="utf8" c:type="const gchar*"/>
9945
<parameter name="cancellable"
9946
transfer-ownership="none"
9948
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
9949
<type name="Gio.Cancellable" c:type="GCancellable*"/>
9951
<parameter name="callback"
9952
transfer-ownership="none"
9956
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
9957
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
9959
<parameter name="user_data" transfer-ownership="none">
9960
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
9961
<type name="gpointer" c:type="gpointer"/>
9965
<method name="call_set_track_finish"
9966
c:identifier="unity_webapps_gen_music_player_call_set_track_finish"
9968
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_music_player_call_set_track().</doc>
9969
<return-value transfer-ownership="none" skip="1">
9970
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
9971
<type name="gboolean" c:type="gboolean"/>
9974
<parameter name="res" transfer-ownership="none">
9975
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_music_player_call_set_track().</doc>
9976
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
9980
<method name="call_set_track_sync"
9981
c:identifier="unity_webapps_gen_music_player_call_set_track_sync"
9983
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetTrack">SetTrack()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
9985
See unity_webapps_gen_music_player_call_set_track() for the asynchronous version of this method.</doc>
9986
<return-value transfer-ownership="none" skip="1">
9987
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
9988
<type name="gboolean" c:type="gboolean"/>
9991
<parameter name="arg_artist" transfer-ownership="none">
9992
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9993
<type name="utf8" c:type="const gchar*"/>
9995
<parameter name="arg_album" transfer-ownership="none">
9996
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
9997
<type name="utf8" c:type="const gchar*"/>
9999
<parameter name="arg_title" transfer-ownership="none">
10000
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10001
<type name="utf8" c:type="const gchar*"/>
10003
<parameter name="arg_iconurl" transfer-ownership="none">
10004
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10005
<type name="utf8" c:type="const gchar*"/>
10007
<parameter name="cancellable"
10008
transfer-ownership="none"
10010
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10011
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10015
<method name="complete_set_playlists"
10016
c:identifier="unity_webapps_gen_music_player_complete_set_playlists">
10017
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetPlaylists">SetPlaylists()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
10019
This method will free @invocation, you cannot use it afterwards.</doc>
10020
<return-value transfer-ownership="none">
10021
<type name="none" c:type="void"/>
10024
<parameter name="invocation" transfer-ownership="full">
10025
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10026
<type name="Gio.DBusMethodInvocation"
10027
c:type="GDBusMethodInvocation*"/>
10031
<method name="complete_set_track"
10032
c:identifier="unity_webapps_gen_music_player_complete_set_track">
10033
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetTrack">SetTrack()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
10035
This method will free @invocation, you cannot use it afterwards.</doc>
10036
<return-value transfer-ownership="none">
10037
<type name="none" c:type="void"/>
10040
<parameter name="invocation" transfer-ownership="full">
10041
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10042
<type name="Gio.DBusMethodInvocation"
10043
c:type="GDBusMethodInvocation*"/>
10047
<method name="emit_next"
10048
c:identifier="unity_webapps_gen_music_player_emit_next">
10049
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.Next">"Next"</link> D-Bus signal.</doc>
10050
<return-value transfer-ownership="none">
10051
<type name="none" c:type="void"/>
10054
<method name="emit_play_pause"
10055
c:identifier="unity_webapps_gen_music_player_emit_play_pause">
10056
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.PlayPause">"PlayPause"</link> D-Bus signal.</doc>
10057
<return-value transfer-ownership="none">
10058
<type name="none" c:type="void"/>
10061
<method name="emit_playlist_activated"
10062
c:identifier="unity_webapps_gen_music_player_emit_playlist_activated">
10063
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.PlaylistActivated">"PlaylistActivated"</link> D-Bus signal.</doc>
10064
<return-value transfer-ownership="none">
10065
<type name="none" c:type="void"/>
10068
<parameter name="arg_playlist" transfer-ownership="none">
10069
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
10070
<type name="utf8" c:type="const gchar*"/>
10074
<method name="emit_previous"
10075
c:identifier="unity_webapps_gen_music_player_emit_previous">
10076
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.Previous">"Previous"</link> D-Bus signal.</doc>
10077
<return-value transfer-ownership="none">
10078
<type name="none" c:type="void"/>
10081
<method name="get_can_go_next"
10082
c:identifier="unity_webapps_gen_music_player_get_can_go_next"
10083
introspectable="0">
10084
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoNext">"CanGoNext"</link> D-Bus property.
10086
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10087
<return-value transfer-ownership="none">
10088
<doc xml:whitespace="preserve">The property value.</doc>
10089
<type name="gboolean" c:type="gboolean"/>
10092
<method name="get_can_go_previous"
10093
c:identifier="unity_webapps_gen_music_player_get_can_go_previous"
10094
introspectable="0">
10095
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoPrevious">"CanGoPrevious"</link> D-Bus property.
10097
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10098
<return-value transfer-ownership="none">
10099
<doc xml:whitespace="preserve">The property value.</doc>
10100
<type name="gboolean" c:type="gboolean"/>
10103
<method name="get_can_pause"
10104
c:identifier="unity_webapps_gen_music_player_get_can_pause"
10105
introspectable="0">
10106
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPause">"CanPause"</link> D-Bus property.
10108
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10109
<return-value transfer-ownership="none">
10110
<doc xml:whitespace="preserve">The property value.</doc>
10111
<type name="gboolean" c:type="gboolean"/>
10114
<method name="get_can_play"
10115
c:identifier="unity_webapps_gen_music_player_get_can_play"
10116
introspectable="0">
10117
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPlay">"CanPlay"</link> D-Bus property.
10119
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10120
<return-value transfer-ownership="none">
10121
<doc xml:whitespace="preserve">The property value.</doc>
10122
<type name="gboolean" c:type="gboolean"/>
10125
<method name="get_playback_state"
10126
c:identifier="unity_webapps_gen_music_player_get_playback_state"
10127
introspectable="0">
10128
<doc xml:whitespace="preserve">Gets the value of the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.PlaybackState">"PlaybackState"</link> D-Bus property.
10130
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10131
<return-value transfer-ownership="none">
10132
<doc xml:whitespace="preserve">The property value.</doc>
10133
<type name="gint" c:type="gint"/>
10136
<method name="set_can_go_next"
10137
c:identifier="unity_webapps_gen_music_player_set_can_go_next"
10138
introspectable="0">
10139
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoNext">"CanGoNext"</link> D-Bus property to @value.
10141
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10142
<return-value transfer-ownership="none">
10143
<type name="none" c:type="void"/>
10146
<parameter name="value" transfer-ownership="none">
10147
<doc xml:whitespace="preserve">The value to set.</doc>
10148
<type name="gboolean" c:type="gboolean"/>
10152
<method name="set_can_go_previous"
10153
c:identifier="unity_webapps_gen_music_player_set_can_go_previous"
10154
introspectable="0">
10155
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoPrevious">"CanGoPrevious"</link> D-Bus property to @value.
10157
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10158
<return-value transfer-ownership="none">
10159
<type name="none" c:type="void"/>
10162
<parameter name="value" transfer-ownership="none">
10163
<doc xml:whitespace="preserve">The value to set.</doc>
10164
<type name="gboolean" c:type="gboolean"/>
10168
<method name="set_can_pause"
10169
c:identifier="unity_webapps_gen_music_player_set_can_pause"
10170
introspectable="0">
10171
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPause">"CanPause"</link> D-Bus property to @value.
10173
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10174
<return-value transfer-ownership="none">
10175
<type name="none" c:type="void"/>
10178
<parameter name="value" transfer-ownership="none">
10179
<doc xml:whitespace="preserve">The value to set.</doc>
10180
<type name="gboolean" c:type="gboolean"/>
10184
<method name="set_can_play"
10185
c:identifier="unity_webapps_gen_music_player_set_can_play"
10186
introspectable="0">
10187
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPlay">"CanPlay"</link> D-Bus property to @value.
10189
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10190
<return-value transfer-ownership="none">
10191
<type name="none" c:type="void"/>
10194
<parameter name="value" transfer-ownership="none">
10195
<doc xml:whitespace="preserve">The value to set.</doc>
10196
<type name="gboolean" c:type="gboolean"/>
10200
<method name="set_playback_state"
10201
c:identifier="unity_webapps_gen_music_player_set_playback_state"
10202
introspectable="0">
10203
<doc xml:whitespace="preserve">Sets the <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.PlaybackState">"PlaybackState"</link> D-Bus property to @value.
10205
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.</doc>
10206
<return-value transfer-ownership="none">
10207
<type name="none" c:type="void"/>
10210
<parameter name="value" transfer-ownership="none">
10211
<doc xml:whitespace="preserve">The value to set.</doc>
10212
<type name="gint" c:type="gint"/>
10216
<property name="can-go-next" writable="1" transfer-ownership="none">
10217
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoNext">"CanGoNext"</link>.
10219
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
10220
<type name="gboolean"/>
10222
<property name="can-go-previous" writable="1" transfer-ownership="none">
10223
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanGoPrevious">"CanGoPrevious"</link>.
10225
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
10226
<type name="gboolean"/>
10228
<property name="can-pause" writable="1" transfer-ownership="none">
10229
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPause">"CanPause"</link>.
10231
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
10232
<type name="gboolean"/>
10234
<property name="can-play" writable="1" transfer-ownership="none">
10235
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.CanPlay">"CanPlay"</link>.
10237
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
10238
<type name="gboolean"/>
10240
<property name="playback-state" writable="1" transfer-ownership="none">
10241
<doc xml:whitespace="preserve">Represents the D-Bus property <link linkend="gdbus-property-com-canonical-Unity-Webapps-MusicPlayer.PlaybackState">"PlaybackState"</link>.
10243
Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.</doc>
10244
<type name="gint"/>
10246
<glib:signal name="handle-set-playlists" when="last">
10247
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetPlaylists">SetPlaylists()</link> D-Bus method.
10249
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_music_player_complete_set_playlists() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
10250
<return-value transfer-ownership="none">
10251
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
10252
<type name="gboolean"/>
10255
<parameter name="invocation" transfer-ownership="none">
10256
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10257
<type name="Gio.DBusMethodInvocation"/>
10259
<parameter name="arg_playlist" transfer-ownership="none">
10260
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10262
<type name="utf8"/>
10267
<glib:signal name="handle-set-track" when="last">
10268
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-MusicPlayer.SetTrack">SetTrack()</link> D-Bus method.
10270
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_music_player_complete_set_track() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
10271
<return-value transfer-ownership="none">
10272
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
10273
<type name="gboolean"/>
10276
<parameter name="invocation" transfer-ownership="none">
10277
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10278
<type name="Gio.DBusMethodInvocation"/>
10280
<parameter name="arg_artist" transfer-ownership="none">
10281
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10282
<type name="utf8"/>
10284
<parameter name="arg_album" transfer-ownership="none">
10285
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10286
<type name="utf8"/>
10288
<parameter name="arg_title" transfer-ownership="none">
10289
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10290
<type name="utf8"/>
10292
<parameter name="arg_iconurl" transfer-ownership="none">
10293
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10294
<type name="utf8"/>
10298
<glib:signal name="next" when="last">
10299
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.Next">"Next"</link> is received.
10301
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
10302
<return-value transfer-ownership="none">
10303
<type name="none"/>
10306
<glib:signal name="play-pause" when="last">
10307
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.PlayPause">"PlayPause"</link> is received.
10309
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
10310
<return-value transfer-ownership="none">
10311
<type name="none"/>
10314
<glib:signal name="playlist-activated" when="last">
10315
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.PlaylistActivated">"PlaylistActivated"</link> is received.
10317
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
10318
<return-value transfer-ownership="none">
10319
<type name="none"/>
10322
<parameter name="arg_playlist" transfer-ownership="none">
10323
<doc xml:whitespace="preserve">Argument.</doc>
10324
<type name="utf8"/>
10328
<glib:signal name="previous" when="last">
10329
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-MusicPlayer.Previous">"Previous"</link> is received.
10331
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
10332
<return-value transfer-ownership="none">
10333
<type name="none"/>
10337
<record name="GenMusicPlayerIface"
10338
c:type="UnityWebappsGenMusicPlayerIface"
10339
glib:is-gtype-struct-for="GenMusicPlayer">
10340
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link>.</doc>
10341
<field name="parent_iface">
10342
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
10344
<field name="handle_set_playlists">
10345
<callback name="handle_set_playlists">
10346
<return-value transfer-ownership="none">
10347
<type name="gboolean" c:type="gboolean"/>
10350
<parameter name="object" transfer-ownership="none">
10351
<type name="GenMusicPlayer"
10352
c:type="UnityWebappsGenMusicPlayer*"/>
10354
<parameter name="invocation" transfer-ownership="none">
10355
<type name="Gio.DBusMethodInvocation"
10356
c:type="GDBusMethodInvocation*"/>
10358
<parameter name="arg_playlist" transfer-ownership="none">
10359
<type name="utf8" c:type="const gchar* const*"/>
10364
<field name="handle_set_track">
10365
<callback name="handle_set_track">
10366
<return-value transfer-ownership="none">
10367
<type name="gboolean" c:type="gboolean"/>
10370
<parameter name="object" transfer-ownership="none">
10371
<type name="GenMusicPlayer"
10372
c:type="UnityWebappsGenMusicPlayer*"/>
10374
<parameter name="invocation" transfer-ownership="none">
10375
<type name="Gio.DBusMethodInvocation"
10376
c:type="GDBusMethodInvocation*"/>
10378
<parameter name="arg_artist" transfer-ownership="none">
10379
<type name="utf8" c:type="const gchar*"/>
10381
<parameter name="arg_album" transfer-ownership="none">
10382
<type name="utf8" c:type="const gchar*"/>
10384
<parameter name="arg_title" transfer-ownership="none">
10385
<type name="utf8" c:type="const gchar*"/>
10387
<parameter name="arg_iconurl" transfer-ownership="none">
10388
<type name="utf8" c:type="const gchar*"/>
10393
<field name="get_can_go_next">
10394
<callback name="get_can_go_next">
10395
<return-value transfer-ownership="none">
10396
<doc xml:whitespace="preserve">The property value.</doc>
10397
<type name="gboolean" c:type="gboolean"/>
10400
<parameter name="object" transfer-ownership="none">
10401
<type name="GenMusicPlayer"
10402
c:type="UnityWebappsGenMusicPlayer*"/>
10407
<field name="get_can_go_previous">
10408
<callback name="get_can_go_previous">
10409
<return-value transfer-ownership="none">
10410
<doc xml:whitespace="preserve">The property value.</doc>
10411
<type name="gboolean" c:type="gboolean"/>
10414
<parameter name="object" transfer-ownership="none">
10415
<type name="GenMusicPlayer"
10416
c:type="UnityWebappsGenMusicPlayer*"/>
10421
<field name="get_can_pause">
10422
<callback name="get_can_pause">
10423
<return-value transfer-ownership="none">
10424
<doc xml:whitespace="preserve">The property value.</doc>
10425
<type name="gboolean" c:type="gboolean"/>
10428
<parameter name="object" transfer-ownership="none">
10429
<type name="GenMusicPlayer"
10430
c:type="UnityWebappsGenMusicPlayer*"/>
10435
<field name="get_can_play">
10436
<callback name="get_can_play">
10437
<return-value transfer-ownership="none">
10438
<doc xml:whitespace="preserve">The property value.</doc>
10439
<type name="gboolean" c:type="gboolean"/>
10442
<parameter name="object" transfer-ownership="none">
10443
<type name="GenMusicPlayer"
10444
c:type="UnityWebappsGenMusicPlayer*"/>
10449
<field name="get_playback_state">
10450
<callback name="get_playback_state">
10451
<return-value transfer-ownership="none">
10452
<doc xml:whitespace="preserve">The property value.</doc>
10453
<type name="gint" c:type="gint"/>
10456
<parameter name="object" transfer-ownership="none">
10457
<type name="GenMusicPlayer"
10458
c:type="UnityWebappsGenMusicPlayer*"/>
10463
<field name="next">
10464
<callback name="next">
10465
<return-value transfer-ownership="none">
10466
<type name="none" c:type="void"/>
10469
<parameter name="object" transfer-ownership="none">
10470
<type name="GenMusicPlayer"
10471
c:type="UnityWebappsGenMusicPlayer*"/>
10476
<field name="play_pause">
10477
<callback name="play_pause">
10478
<return-value transfer-ownership="none">
10479
<type name="none" c:type="void"/>
10482
<parameter name="object" transfer-ownership="none">
10483
<type name="GenMusicPlayer"
10484
c:type="UnityWebappsGenMusicPlayer*"/>
10489
<field name="playlist_activated">
10490
<callback name="playlist_activated">
10491
<return-value transfer-ownership="none">
10492
<type name="none" c:type="void"/>
10495
<parameter name="object" transfer-ownership="none">
10496
<type name="GenMusicPlayer"
10497
c:type="UnityWebappsGenMusicPlayer*"/>
10499
<parameter name="arg_playlist" transfer-ownership="none">
10500
<type name="utf8" c:type="const gchar*"/>
10505
<field name="previous">
10506
<callback name="previous">
10507
<return-value transfer-ownership="none">
10508
<type name="none" c:type="void"/>
10511
<parameter name="object" transfer-ownership="none">
10512
<type name="GenMusicPlayer"
10513
c:type="UnityWebappsGenMusicPlayer*"/>
10519
<class name="GenMusicPlayerProxy"
10520
c:symbol-prefix="gen_music_player_proxy"
10521
c:type="UnityWebappsGenMusicPlayerProxy"
10522
parent="Gio.DBusProxy"
10523
glib:type-name="UnityWebappsGenMusicPlayerProxy"
10524
glib:get-type="unity_webapps_gen_music_player_proxy_get_type"
10525
glib:type-struct="GenMusicPlayerProxyClass">
10526
<doc xml:whitespace="preserve">The #UnityWebappsGenMusicPlayerProxy structure contains only private data and should only be accessed using the provided API.</doc>
10527
<implements name="Gio.AsyncInitable"/>
10528
<implements name="Gio.DBusInterface"/>
10529
<implements name="Gio.Initable"/>
10530
<implements name="GenMusicPlayer"/>
10531
<constructor name="new_finish"
10532
c:identifier="unity_webapps_gen_music_player_proxy_new_finish"
10534
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_music_player_proxy_new().</doc>
10535
<return-value transfer-ownership="full">
10536
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
10537
<type name="GenMusicPlayerProxy"
10538
c:type="UnityWebappsGenMusicPlayer*"/>
10541
<parameter name="res" transfer-ownership="none">
10542
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_music_player_proxy_new().</doc>
10543
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
10547
<constructor name="new_for_bus_finish"
10548
c:identifier="unity_webapps_gen_music_player_proxy_new_for_bus_finish"
10550
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_music_player_proxy_new_for_bus().</doc>
10551
<return-value transfer-ownership="full">
10552
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
10553
<type name="GenMusicPlayerProxy"
10554
c:type="UnityWebappsGenMusicPlayer*"/>
10557
<parameter name="res" transfer-ownership="none">
10558
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_music_player_proxy_new_for_bus().</doc>
10559
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
10563
<constructor name="new_for_bus_sync"
10564
c:identifier="unity_webapps_gen_music_player_proxy_new_for_bus_sync"
10566
<doc xml:whitespace="preserve">Like unity_webapps_gen_music_player_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
10568
The calling thread is blocked until a reply is received.
10570
See unity_webapps_gen_music_player_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
10571
<return-value transfer-ownership="full">
10572
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
10573
<type name="GenMusicPlayerProxy"
10574
c:type="UnityWebappsGenMusicPlayer*"/>
10577
<parameter name="bus_type" transfer-ownership="none">
10578
<doc xml:whitespace="preserve">A #GBusType.</doc>
10579
<type name="Gio.BusType" c:type="GBusType"/>
10581
<parameter name="flags" transfer-ownership="none">
10582
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
10583
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
10585
<parameter name="name" transfer-ownership="none">
10586
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
10587
<type name="utf8" c:type="const gchar*"/>
10589
<parameter name="object_path" transfer-ownership="none">
10590
<doc xml:whitespace="preserve">An object path.</doc>
10591
<type name="utf8" c:type="const gchar*"/>
10593
<parameter name="cancellable"
10594
transfer-ownership="none"
10596
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10597
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10601
<constructor name="new_sync"
10602
c:identifier="unity_webapps_gen_music_player_proxy_new_sync"
10604
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link>. See g_dbus_proxy_new_sync() for more details.
10606
The calling thread is blocked until a reply is received.
10608
See unity_webapps_gen_music_player_proxy_new() for the asynchronous version of this constructor.</doc>
10609
<return-value transfer-ownership="full">
10610
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
10611
<type name="GenMusicPlayerProxy"
10612
c:type="UnityWebappsGenMusicPlayer*"/>
10615
<parameter name="connection" transfer-ownership="none">
10616
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
10617
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
10619
<parameter name="flags" transfer-ownership="none">
10620
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
10621
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
10623
<parameter name="name" transfer-ownership="none" allow-none="1">
10624
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
10625
<type name="utf8" c:type="const gchar*"/>
10627
<parameter name="object_path" transfer-ownership="none">
10628
<doc xml:whitespace="preserve">An object path.</doc>
10629
<type name="utf8" c:type="const gchar*"/>
10631
<parameter name="cancellable"
10632
transfer-ownership="none"
10634
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10635
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10639
<function name="new"
10640
c:identifier="unity_webapps_gen_music_player_proxy_new">
10641
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link>. See g_dbus_proxy_new() for more details.
10643
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
10644
You can then call unity_webapps_gen_music_player_proxy_new_finish() to get the result of the operation.
10646
See unity_webapps_gen_music_player_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
10647
<return-value transfer-ownership="none">
10648
<type name="none" c:type="void"/>
10651
<parameter name="connection" transfer-ownership="none">
10652
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
10653
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
10655
<parameter name="flags" transfer-ownership="none">
10656
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
10657
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
10659
<parameter name="name" transfer-ownership="none" allow-none="1">
10660
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
10661
<type name="utf8" c:type="const gchar*"/>
10663
<parameter name="object_path" transfer-ownership="none">
10664
<doc xml:whitespace="preserve">An object path.</doc>
10665
<type name="utf8" c:type="const gchar*"/>
10667
<parameter name="cancellable"
10668
transfer-ownership="none"
10670
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10671
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10673
<parameter name="callback"
10674
transfer-ownership="none"
10678
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
10679
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
10681
<parameter name="user_data" transfer-ownership="none">
10682
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
10683
<type name="gpointer" c:type="gpointer"/>
10687
<function name="new_for_bus"
10688
c:identifier="unity_webapps_gen_music_player_proxy_new_for_bus">
10689
<doc xml:whitespace="preserve">Like unity_webapps_gen_music_player_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
10691
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
10692
You can then call unity_webapps_gen_music_player_proxy_new_for_bus_finish() to get the result of the operation.
10694
See unity_webapps_gen_music_player_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
10695
<return-value transfer-ownership="none">
10696
<type name="none" c:type="void"/>
10699
<parameter name="bus_type" transfer-ownership="none">
10700
<doc xml:whitespace="preserve">A #GBusType.</doc>
10701
<type name="Gio.BusType" c:type="GBusType"/>
10703
<parameter name="flags" transfer-ownership="none">
10704
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
10705
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
10707
<parameter name="name" transfer-ownership="none">
10708
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
10709
<type name="utf8" c:type="const gchar*"/>
10711
<parameter name="object_path" transfer-ownership="none">
10712
<doc xml:whitespace="preserve">An object path.</doc>
10713
<type name="utf8" c:type="const gchar*"/>
10715
<parameter name="cancellable"
10716
transfer-ownership="none"
10718
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10719
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10721
<parameter name="callback"
10722
transfer-ownership="none"
10726
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
10727
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
10729
<parameter name="user_data" transfer-ownership="none">
10730
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
10731
<type name="gpointer" c:type="gpointer"/>
10735
<field name="parent_instance" readable="0" private="1">
10736
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
10738
<field name="priv" readable="0" private="1">
10739
<type name="GenMusicPlayerProxyPrivate"
10740
c:type="UnityWebappsGenMusicPlayerProxyPrivate*"/>
10743
<record name="GenMusicPlayerProxyClass"
10744
c:type="UnityWebappsGenMusicPlayerProxyClass"
10745
glib:is-gtype-struct-for="GenMusicPlayerProxy">
10746
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenMusicPlayerProxy.</doc>
10747
<field name="parent_class">
10748
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
10751
<record name="GenMusicPlayerProxyPrivate"
10752
c:type="UnityWebappsGenMusicPlayerProxyPrivate"
10755
<class name="GenMusicPlayerSkeleton"
10756
c:symbol-prefix="gen_music_player_skeleton"
10757
c:type="UnityWebappsGenMusicPlayerSkeleton"
10758
parent="Gio.DBusInterfaceSkeleton"
10759
glib:type-name="UnityWebappsGenMusicPlayerSkeleton"
10760
glib:get-type="unity_webapps_gen_music_player_skeleton_get_type"
10761
glib:type-struct="GenMusicPlayerSkeletonClass">
10762
<doc xml:whitespace="preserve">The #UnityWebappsGenMusicPlayerSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
10763
<implements name="Gio.DBusInterface"/>
10764
<implements name="GenMusicPlayer"/>
10765
<constructor name="new"
10766
c:identifier="unity_webapps_gen_music_player_skeleton_new">
10767
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link>.</doc>
10768
<return-value transfer-ownership="full">
10769
<doc xml:whitespace="preserve">The skeleton object.</doc>
10770
<type name="GenMusicPlayerSkeleton"
10771
c:type="UnityWebappsGenMusicPlayer*"/>
10774
<field name="parent_instance" readable="0" private="1">
10775
<type name="Gio.DBusInterfaceSkeleton"
10776
c:type="GDBusInterfaceSkeleton"/>
10778
<field name="priv" readable="0" private="1">
10779
<type name="GenMusicPlayerSkeletonPrivate"
10780
c:type="UnityWebappsGenMusicPlayerSkeletonPrivate*"/>
10783
<record name="GenMusicPlayerSkeletonClass"
10784
c:type="UnityWebappsGenMusicPlayerSkeletonClass"
10785
glib:is-gtype-struct-for="GenMusicPlayerSkeleton">
10786
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenMusicPlayerSkeleton.</doc>
10787
<field name="parent_class">
10788
<type name="Gio.DBusInterfaceSkeletonClass"
10789
c:type="GDBusInterfaceSkeletonClass"/>
10792
<record name="GenMusicPlayerSkeletonPrivate"
10793
c:type="UnityWebappsGenMusicPlayerSkeletonPrivate"
10796
<interface name="GenNotification"
10797
c:symbol-prefix="gen_notification"
10798
c:type="UnityWebappsGenNotification"
10799
glib:type-name="UnityWebappsGenNotification"
10800
glib:get-type="unity_webapps_gen_notification_get_type"
10801
glib:type-struct="GenNotificationIface">
10802
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link>.</doc>
10803
<function name="interface_info"
10804
c:identifier="unity_webapps_gen_notification_interface_info">
10805
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link> D-Bus interface.</doc>
10806
<return-value transfer-ownership="none">
10807
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
10808
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
10811
<function name="override_properties"
10812
c:identifier="unity_webapps_gen_notification_override_properties">
10813
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenNotification interface for a concrete class.
10814
The properties are overridden in the order they are defined.</doc>
10815
<return-value transfer-ownership="none">
10816
<doc xml:whitespace="preserve">The last property id.</doc>
10817
<type name="guint" c:type="guint"/>
10820
<parameter name="klass" transfer-ownership="none">
10821
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
10822
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
10824
<parameter name="property_id_begin" transfer-ownership="none">
10825
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
10826
<type name="guint" c:type="guint"/>
10830
<virtual-method name="handle_show_notification">
10831
<return-value transfer-ownership="none">
10832
<type name="gboolean" c:type="gboolean"/>
10835
<parameter name="invocation" transfer-ownership="none">
10836
<type name="Gio.DBusMethodInvocation"
10837
c:type="GDBusMethodInvocation*"/>
10839
<parameter name="arg_summary" transfer-ownership="none">
10840
<type name="utf8" c:type="const gchar*"/>
10842
<parameter name="arg_body" transfer-ownership="none">
10843
<type name="utf8" c:type="const gchar*"/>
10845
<parameter name="arg_iconurl" transfer-ownership="none">
10846
<type name="utf8" c:type="const gchar*"/>
10850
<method name="call_show_notification"
10851
c:identifier="unity_webapps_gen_notification_call_show_notification">
10852
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Notification.ShowNotification">ShowNotification()</link> D-Bus method on @proxy.
10853
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
10854
You can then call unity_webapps_gen_notification_call_show_notification_finish() to get the result of the operation.
10856
See unity_webapps_gen_notification_call_show_notification_sync() for the synchronous, blocking version of this method.</doc>
10857
<return-value transfer-ownership="none">
10858
<type name="none" c:type="void"/>
10861
<parameter name="arg_summary" transfer-ownership="none">
10862
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10863
<type name="utf8" c:type="const gchar*"/>
10865
<parameter name="arg_body" transfer-ownership="none">
10866
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10867
<type name="utf8" c:type="const gchar*"/>
10869
<parameter name="arg_iconurl" transfer-ownership="none">
10870
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10871
<type name="utf8" c:type="const gchar*"/>
10873
<parameter name="cancellable"
10874
transfer-ownership="none"
10876
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10877
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10879
<parameter name="callback"
10880
transfer-ownership="none"
10884
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
10885
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
10887
<parameter name="user_data" transfer-ownership="none">
10888
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
10889
<type name="gpointer" c:type="gpointer"/>
10893
<method name="call_show_notification_finish"
10894
c:identifier="unity_webapps_gen_notification_call_show_notification_finish"
10896
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_notification_call_show_notification().</doc>
10897
<return-value transfer-ownership="none" skip="1">
10898
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
10899
<type name="gboolean" c:type="gboolean"/>
10902
<parameter name="res" transfer-ownership="none">
10903
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_notification_call_show_notification().</doc>
10904
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
10908
<method name="call_show_notification_sync"
10909
c:identifier="unity_webapps_gen_notification_call_show_notification_sync"
10911
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Notification.ShowNotification">ShowNotification()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
10913
See unity_webapps_gen_notification_call_show_notification() for the asynchronous version of this method.</doc>
10914
<return-value transfer-ownership="none" skip="1">
10915
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
10916
<type name="gboolean" c:type="gboolean"/>
10919
<parameter name="arg_summary" transfer-ownership="none">
10920
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10921
<type name="utf8" c:type="const gchar*"/>
10923
<parameter name="arg_body" transfer-ownership="none">
10924
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10925
<type name="utf8" c:type="const gchar*"/>
10927
<parameter name="arg_iconurl" transfer-ownership="none">
10928
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
10929
<type name="utf8" c:type="const gchar*"/>
10931
<parameter name="cancellable"
10932
transfer-ownership="none"
10934
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
10935
<type name="Gio.Cancellable" c:type="GCancellable*"/>
10939
<method name="complete_show_notification"
10940
c:identifier="unity_webapps_gen_notification_complete_show_notification">
10941
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Notification.ShowNotification">ShowNotification()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
10943
This method will free @invocation, you cannot use it afterwards.</doc>
10944
<return-value transfer-ownership="none">
10945
<type name="none" c:type="void"/>
10948
<parameter name="invocation" transfer-ownership="full">
10949
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10950
<type name="Gio.DBusMethodInvocation"
10951
c:type="GDBusMethodInvocation*"/>
10955
<glib:signal name="handle-show-notification" when="last">
10956
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Notification.ShowNotification">ShowNotification()</link> D-Bus method.
10958
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_notification_complete_show_notification() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
10959
<return-value transfer-ownership="none">
10960
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
10961
<type name="gboolean"/>
10964
<parameter name="invocation" transfer-ownership="none">
10965
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
10966
<type name="Gio.DBusMethodInvocation"/>
10968
<parameter name="arg_summary" transfer-ownership="none">
10969
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10970
<type name="utf8"/>
10972
<parameter name="arg_body" transfer-ownership="none">
10973
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10974
<type name="utf8"/>
10976
<parameter name="arg_iconurl" transfer-ownership="none">
10977
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
10978
<type name="utf8"/>
10983
<record name="GenNotificationIface"
10984
c:type="UnityWebappsGenNotificationIface"
10985
glib:is-gtype-struct-for="GenNotification">
10986
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link>.</doc>
10987
<field name="parent_iface">
10988
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
10990
<field name="handle_show_notification">
10991
<callback name="handle_show_notification">
10992
<return-value transfer-ownership="none">
10993
<type name="gboolean" c:type="gboolean"/>
10996
<parameter name="object" transfer-ownership="none">
10997
<type name="GenNotification"
10998
c:type="UnityWebappsGenNotification*"/>
11000
<parameter name="invocation" transfer-ownership="none">
11001
<type name="Gio.DBusMethodInvocation"
11002
c:type="GDBusMethodInvocation*"/>
11004
<parameter name="arg_summary" transfer-ownership="none">
11005
<type name="utf8" c:type="const gchar*"/>
11007
<parameter name="arg_body" transfer-ownership="none">
11008
<type name="utf8" c:type="const gchar*"/>
11010
<parameter name="arg_iconurl" transfer-ownership="none">
11011
<type name="utf8" c:type="const gchar*"/>
11017
<class name="GenNotificationProxy"
11018
c:symbol-prefix="gen_notification_proxy"
11019
c:type="UnityWebappsGenNotificationProxy"
11020
parent="Gio.DBusProxy"
11021
glib:type-name="UnityWebappsGenNotificationProxy"
11022
glib:get-type="unity_webapps_gen_notification_proxy_get_type"
11023
glib:type-struct="GenNotificationProxyClass">
11024
<doc xml:whitespace="preserve">The #UnityWebappsGenNotificationProxy structure contains only private data and should only be accessed using the provided API.</doc>
11025
<implements name="Gio.AsyncInitable"/>
11026
<implements name="Gio.DBusInterface"/>
11027
<implements name="Gio.Initable"/>
11028
<implements name="GenNotification"/>
11029
<constructor name="new_finish"
11030
c:identifier="unity_webapps_gen_notification_proxy_new_finish"
11032
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_notification_proxy_new().</doc>
11033
<return-value transfer-ownership="full">
11034
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
11035
<type name="GenNotificationProxy"
11036
c:type="UnityWebappsGenNotification*"/>
11039
<parameter name="res" transfer-ownership="none">
11040
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_notification_proxy_new().</doc>
11041
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
11045
<constructor name="new_for_bus_finish"
11046
c:identifier="unity_webapps_gen_notification_proxy_new_for_bus_finish"
11048
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_notification_proxy_new_for_bus().</doc>
11049
<return-value transfer-ownership="full">
11050
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
11051
<type name="GenNotificationProxy"
11052
c:type="UnityWebappsGenNotification*"/>
11055
<parameter name="res" transfer-ownership="none">
11056
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_notification_proxy_new_for_bus().</doc>
11057
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
11061
<constructor name="new_for_bus_sync"
11062
c:identifier="unity_webapps_gen_notification_proxy_new_for_bus_sync"
11064
<doc xml:whitespace="preserve">Like unity_webapps_gen_notification_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
11066
The calling thread is blocked until a reply is received.
11068
See unity_webapps_gen_notification_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
11069
<return-value transfer-ownership="full">
11070
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
11071
<type name="GenNotificationProxy"
11072
c:type="UnityWebappsGenNotification*"/>
11075
<parameter name="bus_type" transfer-ownership="none">
11076
<doc xml:whitespace="preserve">A #GBusType.</doc>
11077
<type name="Gio.BusType" c:type="GBusType"/>
11079
<parameter name="flags" transfer-ownership="none">
11080
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
11081
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
11083
<parameter name="name" transfer-ownership="none">
11084
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
11085
<type name="utf8" c:type="const gchar*"/>
11087
<parameter name="object_path" transfer-ownership="none">
11088
<doc xml:whitespace="preserve">An object path.</doc>
11089
<type name="utf8" c:type="const gchar*"/>
11091
<parameter name="cancellable"
11092
transfer-ownership="none"
11094
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11095
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11099
<constructor name="new_sync"
11100
c:identifier="unity_webapps_gen_notification_proxy_new_sync"
11102
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link>. See g_dbus_proxy_new_sync() for more details.
11104
The calling thread is blocked until a reply is received.
11106
See unity_webapps_gen_notification_proxy_new() for the asynchronous version of this constructor.</doc>
11107
<return-value transfer-ownership="full">
11108
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
11109
<type name="GenNotificationProxy"
11110
c:type="UnityWebappsGenNotification*"/>
11113
<parameter name="connection" transfer-ownership="none">
11114
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
11115
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
11117
<parameter name="flags" transfer-ownership="none">
11118
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
11119
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
11121
<parameter name="name" transfer-ownership="none" allow-none="1">
11122
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
11123
<type name="utf8" c:type="const gchar*"/>
11125
<parameter name="object_path" transfer-ownership="none">
11126
<doc xml:whitespace="preserve">An object path.</doc>
11127
<type name="utf8" c:type="const gchar*"/>
11129
<parameter name="cancellable"
11130
transfer-ownership="none"
11132
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11133
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11137
<function name="new"
11138
c:identifier="unity_webapps_gen_notification_proxy_new">
11139
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link>. See g_dbus_proxy_new() for more details.
11141
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11142
You can then call unity_webapps_gen_notification_proxy_new_finish() to get the result of the operation.
11144
See unity_webapps_gen_notification_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
11145
<return-value transfer-ownership="none">
11146
<type name="none" c:type="void"/>
11149
<parameter name="connection" transfer-ownership="none">
11150
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
11151
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
11153
<parameter name="flags" transfer-ownership="none">
11154
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
11155
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
11157
<parameter name="name" transfer-ownership="none" allow-none="1">
11158
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
11159
<type name="utf8" c:type="const gchar*"/>
11161
<parameter name="object_path" transfer-ownership="none">
11162
<doc xml:whitespace="preserve">An object path.</doc>
11163
<type name="utf8" c:type="const gchar*"/>
11165
<parameter name="cancellable"
11166
transfer-ownership="none"
11168
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11169
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11171
<parameter name="callback"
11172
transfer-ownership="none"
11176
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
11177
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11179
<parameter name="user_data" transfer-ownership="none">
11180
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11181
<type name="gpointer" c:type="gpointer"/>
11185
<function name="new_for_bus"
11186
c:identifier="unity_webapps_gen_notification_proxy_new_for_bus">
11187
<doc xml:whitespace="preserve">Like unity_webapps_gen_notification_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
11189
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11190
You can then call unity_webapps_gen_notification_proxy_new_for_bus_finish() to get the result of the operation.
11192
See unity_webapps_gen_notification_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
11193
<return-value transfer-ownership="none">
11194
<type name="none" c:type="void"/>
11197
<parameter name="bus_type" transfer-ownership="none">
11198
<doc xml:whitespace="preserve">A #GBusType.</doc>
11199
<type name="Gio.BusType" c:type="GBusType"/>
11201
<parameter name="flags" transfer-ownership="none">
11202
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
11203
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
11205
<parameter name="name" transfer-ownership="none">
11206
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
11207
<type name="utf8" c:type="const gchar*"/>
11209
<parameter name="object_path" transfer-ownership="none">
11210
<doc xml:whitespace="preserve">An object path.</doc>
11211
<type name="utf8" c:type="const gchar*"/>
11213
<parameter name="cancellable"
11214
transfer-ownership="none"
11216
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11217
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11219
<parameter name="callback"
11220
transfer-ownership="none"
11224
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
11225
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11227
<parameter name="user_data" transfer-ownership="none">
11228
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11229
<type name="gpointer" c:type="gpointer"/>
11233
<field name="parent_instance" readable="0" private="1">
11234
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
11236
<field name="priv" readable="0" private="1">
11237
<type name="GenNotificationProxyPrivate"
11238
c:type="UnityWebappsGenNotificationProxyPrivate*"/>
11241
<record name="GenNotificationProxyClass"
11242
c:type="UnityWebappsGenNotificationProxyClass"
11243
glib:is-gtype-struct-for="GenNotificationProxy">
11244
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenNotificationProxy.</doc>
11245
<field name="parent_class">
11246
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
11249
<record name="GenNotificationProxyPrivate"
11250
c:type="UnityWebappsGenNotificationProxyPrivate"
11253
<class name="GenNotificationSkeleton"
11254
c:symbol-prefix="gen_notification_skeleton"
11255
c:type="UnityWebappsGenNotificationSkeleton"
11256
parent="Gio.DBusInterfaceSkeleton"
11257
glib:type-name="UnityWebappsGenNotificationSkeleton"
11258
glib:get-type="unity_webapps_gen_notification_skeleton_get_type"
11259
glib:type-struct="GenNotificationSkeletonClass">
11260
<doc xml:whitespace="preserve">The #UnityWebappsGenNotificationSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
11261
<implements name="Gio.DBusInterface"/>
11262
<implements name="GenNotification"/>
11263
<constructor name="new"
11264
c:identifier="unity_webapps_gen_notification_skeleton_new">
11265
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link>.</doc>
11266
<return-value transfer-ownership="full">
11267
<doc xml:whitespace="preserve">The skeleton object.</doc>
11268
<type name="GenNotificationSkeleton"
11269
c:type="UnityWebappsGenNotification*"/>
11272
<field name="parent_instance" readable="0" private="1">
11273
<type name="Gio.DBusInterfaceSkeleton"
11274
c:type="GDBusInterfaceSkeleton"/>
11276
<field name="priv" readable="0" private="1">
11277
<type name="GenNotificationSkeletonPrivate"
11278
c:type="UnityWebappsGenNotificationSkeletonPrivate*"/>
11281
<record name="GenNotificationSkeletonClass"
11282
c:type="UnityWebappsGenNotificationSkeletonClass"
11283
glib:is-gtype-struct-for="GenNotificationSkeleton">
11284
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenNotificationSkeleton.</doc>
11285
<field name="parent_class">
11286
<type name="Gio.DBusInterfaceSkeletonClass"
11287
c:type="GDBusInterfaceSkeletonClass"/>
11290
<record name="GenNotificationSkeletonPrivate"
11291
c:type="UnityWebappsGenNotificationSkeletonPrivate"
11294
<interface name="GenObject"
11295
c:symbol-prefix="gen_object"
11296
c:type="UnityWebappsGenObject"
11297
glib:type-name="UnityWebappsGenObject"
11298
glib:get-type="unity_webapps_gen_object_get_type"
11299
glib:type-struct="GenObjectIface">
11300
<doc xml:whitespace="preserve">The #UnityWebappsGenObject type is a specialized container of interfaces.</doc>
11301
<prerequisite name="Gio.DBusObject"/>
11302
<method name="get_service"
11303
c:identifier="unity_webapps_gen_object_get_service">
11304
<doc xml:whitespace="preserve">Gets the #UnityWebappsGenService instance for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link> on @object, if any.</doc>
11305
<return-value transfer-ownership="full">
11306
<doc xml:whitespace="preserve">A #UnityWebappsGenService that must be freed with g_object_unref() or %NULL if @object does not implement the interface.</doc>
11307
<type name="GenService" c:type="UnityWebappsGenService*"/>
11310
<method name="peek_service"
11311
c:identifier="unity_webapps_gen_object_peek_service"
11312
introspectable="0">
11313
<doc xml:whitespace="preserve">Like unity_webapps_gen_object_get_service() but doesn't increase the reference count on the returned object.
11315
<warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning></doc>
11316
<return-value transfer-ownership="none">
11317
<doc xml:whitespace="preserve">A #UnityWebappsGenService or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object.</doc>
11318
<type name="GenService" c:type="UnityWebappsGenService*"/>
11321
<property name="service" writable="1" transfer-ownership="none">
11322
<doc xml:whitespace="preserve">The #UnityWebappsGenService instance corresponding to the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>, if any.
11324
Connect to the #GObject::notify signal to get informed of property changes.</doc>
11325
<type name="GenService"/>
11328
<record name="GenObjectIface"
11329
c:type="UnityWebappsGenObjectIface"
11330
glib:is-gtype-struct-for="GenObject">
11331
<doc xml:whitespace="preserve">Virtual table for the #UnityWebappsGenObject interface.</doc>
11332
<field name="parent_iface">
11333
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
11336
<class name="GenObjectManagerClient"
11337
c:symbol-prefix="gen_object_manager_client"
11338
c:type="UnityWebappsGenObjectManagerClient"
11339
parent="Gio.DBusObjectManagerClient"
11340
glib:type-name="UnityWebappsGenObjectManagerClient"
11341
glib:get-type="unity_webapps_gen_object_manager_client_get_type"
11342
glib:type-struct="GenObjectManagerClientClass">
11343
<doc xml:whitespace="preserve">The #UnityWebappsGenObjectManagerClient structure contains only private data and should only be accessed using the provided API.</doc>
11344
<implements name="Gio.AsyncInitable"/>
11345
<implements name="Gio.DBusObjectManager"/>
11346
<implements name="Gio.Initable"/>
11347
<constructor name="new_finish"
11348
c:identifier="unity_webapps_gen_object_manager_client_new_finish"
11350
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_object_manager_client_new().</doc>
11351
<return-value transfer-ownership="full">
11352
<doc xml:whitespace="preserve">The constructed object manager client or %NULL if @error is set.</doc>
11353
<type name="GenObjectManagerClient" c:type="GDBusObjectManager*"/>
11356
<parameter name="res" transfer-ownership="none">
11357
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_object_manager_client_new().</doc>
11358
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
11362
<constructor name="new_for_bus_finish"
11363
c:identifier="unity_webapps_gen_object_manager_client_new_for_bus_finish"
11365
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_object_manager_client_new_for_bus().</doc>
11366
<return-value transfer-ownership="full">
11367
<doc xml:whitespace="preserve">The constructed object manager client or %NULL if @error is set.</doc>
11368
<type name="GenObjectManagerClient" c:type="GDBusObjectManager*"/>
11371
<parameter name="res" transfer-ownership="none">
11372
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_object_manager_client_new_for_bus().</doc>
11373
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
11377
<constructor name="new_for_bus_sync"
11378
c:identifier="unity_webapps_gen_object_manager_client_new_for_bus_sync"
11380
<doc xml:whitespace="preserve">Like unity_webapps_gen_object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection.
11382
The calling thread is blocked until a reply is received.
11384
See unity_webapps_gen_object_manager_client_new_for_bus() for the asynchronous version of this constructor.</doc>
11385
<return-value transfer-ownership="full">
11386
<doc xml:whitespace="preserve">The constructed object manager client or %NULL if @error is set.</doc>
11387
<type name="GenObjectManagerClient" c:type="GDBusObjectManager*"/>
11390
<parameter name="bus_type" transfer-ownership="none">
11391
<doc xml:whitespace="preserve">A #GBusType.</doc>
11392
<type name="Gio.BusType" c:type="GBusType"/>
11394
<parameter name="flags" transfer-ownership="none">
11395
<doc xml:whitespace="preserve">Flags from the #GDBusObjectManagerClientFlags enumeration.</doc>
11396
<type name="Gio.DBusObjectManagerClientFlags"
11397
c:type="GDBusObjectManagerClientFlags"/>
11399
<parameter name="name" transfer-ownership="none">
11400
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
11401
<type name="utf8" c:type="const gchar*"/>
11403
<parameter name="object_path" transfer-ownership="none">
11404
<doc xml:whitespace="preserve">An object path.</doc>
11405
<type name="utf8" c:type="const gchar*"/>
11407
<parameter name="cancellable"
11408
transfer-ownership="none"
11410
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11411
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11415
<constructor name="new_sync"
11416
c:identifier="unity_webapps_gen_object_manager_client_new_sync"
11418
<doc xml:whitespace="preserve">Synchronously creates #GDBusObjectManagerClient using unity_webapps_gen_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.
11420
The calling thread is blocked until a reply is received.
11422
See unity_webapps_gen_object_manager_client_new() for the asynchronous version of this constructor.</doc>
11423
<return-value transfer-ownership="full">
11424
<doc xml:whitespace="preserve">The constructed object manager client or %NULL if @error is set.</doc>
11425
<type name="GenObjectManagerClient" c:type="GDBusObjectManager*"/>
11428
<parameter name="connection" transfer-ownership="none">
11429
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
11430
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
11432
<parameter name="flags" transfer-ownership="none">
11433
<doc xml:whitespace="preserve">Flags from the #GDBusObjectManagerClientFlags enumeration.</doc>
11434
<type name="Gio.DBusObjectManagerClientFlags"
11435
c:type="GDBusObjectManagerClientFlags"/>
11437
<parameter name="name" transfer-ownership="none" allow-none="1">
11438
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
11439
<type name="utf8" c:type="const gchar*"/>
11441
<parameter name="object_path" transfer-ownership="none">
11442
<doc xml:whitespace="preserve">An object path.</doc>
11443
<type name="utf8" c:type="const gchar*"/>
11445
<parameter name="cancellable"
11446
transfer-ownership="none"
11448
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11449
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11453
<function name="get_proxy_type"
11454
c:identifier="unity_webapps_gen_object_manager_client_get_proxy_type">
11455
<doc xml:whitespace="preserve">A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types.</doc>
11456
<return-value transfer-ownership="none">
11457
<doc xml:whitespace="preserve">A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #UnityWebappsGenObjectProxy.</doc>
11458
<type name="GType" c:type="GType"/>
11461
<parameter name="manager" transfer-ownership="none">
11462
<doc xml:whitespace="preserve">A #GDBusObjectManagerClient.</doc>
11463
<type name="Gio.DBusObjectManagerClient"
11464
c:type="GDBusObjectManagerClient*"/>
11466
<parameter name="object_path" transfer-ownership="none">
11467
<doc xml:whitespace="preserve">The object path of the remote object (unused).</doc>
11468
<type name="utf8" c:type="const gchar*"/>
11470
<parameter name="interface_name"
11471
transfer-ownership="none"
11473
<doc xml:whitespace="preserve">Interface name of the remote object or %NULL to get the object proxy #GType.</doc>
11474
<type name="utf8" c:type="const gchar*"/>
11476
<parameter name="user_data" transfer-ownership="none">
11477
<doc xml:whitespace="preserve">User data (unused).</doc>
11478
<type name="gpointer" c:type="gpointer"/>
11482
<function name="new"
11483
c:identifier="unity_webapps_gen_object_manager_client_new">
11484
<doc xml:whitespace="preserve">Asynchronously creates #GDBusObjectManagerClient using unity_webapps_gen_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.
11486
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11487
You can then call unity_webapps_gen_object_manager_client_new_finish() to get the result of the operation.
11489
See unity_webapps_gen_object_manager_client_new_sync() for the synchronous, blocking version of this constructor.</doc>
11490
<return-value transfer-ownership="none">
11491
<type name="none" c:type="void"/>
11494
<parameter name="connection" transfer-ownership="none">
11495
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
11496
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
11498
<parameter name="flags" transfer-ownership="none">
11499
<doc xml:whitespace="preserve">Flags from the #GDBusObjectManagerClientFlags enumeration.</doc>
11500
<type name="Gio.DBusObjectManagerClientFlags"
11501
c:type="GDBusObjectManagerClientFlags"/>
11503
<parameter name="name" transfer-ownership="none" allow-none="1">
11504
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
11505
<type name="utf8" c:type="const gchar*"/>
11507
<parameter name="object_path" transfer-ownership="none">
11508
<doc xml:whitespace="preserve">An object path.</doc>
11509
<type name="utf8" c:type="const gchar*"/>
11511
<parameter name="cancellable"
11512
transfer-ownership="none"
11514
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11515
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11517
<parameter name="callback"
11518
transfer-ownership="none"
11522
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
11523
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11525
<parameter name="user_data" transfer-ownership="none">
11526
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11527
<type name="gpointer" c:type="gpointer"/>
11531
<function name="new_for_bus"
11532
c:identifier="unity_webapps_gen_object_manager_client_new_for_bus">
11533
<doc xml:whitespace="preserve">Like unity_webapps_gen_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
11535
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11536
You can then call unity_webapps_gen_object_manager_client_new_for_bus_finish() to get the result of the operation.
11538
See unity_webapps_gen_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
11539
<return-value transfer-ownership="none">
11540
<type name="none" c:type="void"/>
11543
<parameter name="bus_type" transfer-ownership="none">
11544
<doc xml:whitespace="preserve">A #GBusType.</doc>
11545
<type name="Gio.BusType" c:type="GBusType"/>
11547
<parameter name="flags" transfer-ownership="none">
11548
<doc xml:whitespace="preserve">Flags from the #GDBusObjectManagerClientFlags enumeration.</doc>
11549
<type name="Gio.DBusObjectManagerClientFlags"
11550
c:type="GDBusObjectManagerClientFlags"/>
11552
<parameter name="name" transfer-ownership="none">
11553
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
11554
<type name="utf8" c:type="const gchar*"/>
11556
<parameter name="object_path" transfer-ownership="none">
11557
<doc xml:whitespace="preserve">An object path.</doc>
11558
<type name="utf8" c:type="const gchar*"/>
11560
<parameter name="cancellable"
11561
transfer-ownership="none"
11563
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11564
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11566
<parameter name="callback"
11567
transfer-ownership="none"
11571
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
11572
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11574
<parameter name="user_data" transfer-ownership="none">
11575
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11576
<type name="gpointer" c:type="gpointer"/>
11580
<field name="parent_instance" readable="0" private="1">
11581
<type name="Gio.DBusObjectManagerClient"
11582
c:type="GDBusObjectManagerClient"/>
11584
<field name="priv" readable="0" private="1">
11585
<type name="GenObjectManagerClientPrivate"
11586
c:type="UnityWebappsGenObjectManagerClientPrivate*"/>
11589
<record name="GenObjectManagerClientClass"
11590
c:type="UnityWebappsGenObjectManagerClientClass"
11591
glib:is-gtype-struct-for="GenObjectManagerClient">
11592
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenObjectManagerClient.</doc>
11593
<field name="parent_class">
11594
<type name="Gio.DBusObjectManagerClientClass"
11595
c:type="GDBusObjectManagerClientClass"/>
11598
<record name="GenObjectManagerClientPrivate"
11599
c:type="UnityWebappsGenObjectManagerClientPrivate"
11602
<class name="GenObjectProxy"
11603
c:symbol-prefix="gen_object_proxy"
11604
c:type="UnityWebappsGenObjectProxy"
11605
parent="Gio.DBusObjectProxy"
11606
glib:type-name="UnityWebappsGenObjectProxy"
11607
glib:get-type="unity_webapps_gen_object_proxy_get_type"
11608
glib:type-struct="GenObjectProxyClass">
11609
<doc xml:whitespace="preserve">The #UnityWebappsGenObjectProxy structure contains only private data and should only be accessed using the provided API.</doc>
11610
<implements name="Gio.DBusObject"/>
11611
<implements name="GenObject"/>
11612
<constructor name="new"
11613
c:identifier="unity_webapps_gen_object_proxy_new">
11614
<doc xml:whitespace="preserve">Creates a new proxy object.</doc>
11615
<return-value transfer-ownership="full">
11616
<doc xml:whitespace="preserve">The proxy object.</doc>
11617
<type name="GenObjectProxy" c:type="UnityWebappsGenObjectProxy*"/>
11620
<parameter name="connection" transfer-ownership="none">
11621
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
11622
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
11624
<parameter name="object_path" transfer-ownership="none">
11625
<doc xml:whitespace="preserve">An object path.</doc>
11626
<type name="utf8" c:type="const gchar*"/>
11630
<field name="parent_instance" readable="0" private="1">
11631
<type name="Gio.DBusObjectProxy" c:type="GDBusObjectProxy"/>
11633
<field name="priv" readable="0" private="1">
11634
<type name="GenObjectProxyPrivate"
11635
c:type="UnityWebappsGenObjectProxyPrivate*"/>
11638
<record name="GenObjectProxyClass"
11639
c:type="UnityWebappsGenObjectProxyClass"
11640
glib:is-gtype-struct-for="GenObjectProxy">
11641
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenObjectProxy.</doc>
11642
<field name="parent_class">
11643
<type name="Gio.DBusObjectProxyClass" c:type="GDBusObjectProxyClass"/>
11646
<record name="GenObjectProxyPrivate"
11647
c:type="UnityWebappsGenObjectProxyPrivate"
11650
<class name="GenObjectSkeleton"
11651
c:symbol-prefix="gen_object_skeleton"
11652
c:type="UnityWebappsGenObjectSkeleton"
11653
parent="Gio.DBusObjectSkeleton"
11654
glib:type-name="UnityWebappsGenObjectSkeleton"
11655
glib:get-type="unity_webapps_gen_object_skeleton_get_type"
11656
glib:type-struct="GenObjectSkeletonClass">
11657
<doc xml:whitespace="preserve">The #UnityWebappsGenObjectSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
11658
<implements name="Gio.DBusObject"/>
11659
<implements name="GenObject"/>
11660
<constructor name="new"
11661
c:identifier="unity_webapps_gen_object_skeleton_new">
11662
<doc xml:whitespace="preserve">Creates a new skeleton object.</doc>
11663
<return-value transfer-ownership="full">
11664
<doc xml:whitespace="preserve">The skeleton object.</doc>
11665
<type name="GenObjectSkeleton"
11666
c:type="UnityWebappsGenObjectSkeleton*"/>
11669
<parameter name="object_path" transfer-ownership="none">
11670
<doc xml:whitespace="preserve">An object path.</doc>
11671
<type name="utf8" c:type="const gchar*"/>
11675
<method name="set_service"
11676
c:identifier="unity_webapps_gen_object_skeleton_set_service">
11677
<doc xml:whitespace="preserve">Sets the #UnityWebappsGenService instance for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link> on @object.</doc>
11678
<return-value transfer-ownership="none">
11679
<type name="none" c:type="void"/>
11682
<parameter name="interface_"
11683
transfer-ownership="none"
11685
<doc xml:whitespace="preserve">A #UnityWebappsGenService or %NULL to clear the interface.</doc>
11686
<type name="GenService" c:type="UnityWebappsGenService*"/>
11690
<field name="parent_instance" readable="0" private="1">
11691
<type name="Gio.DBusObjectSkeleton" c:type="GDBusObjectSkeleton"/>
11693
<field name="priv" readable="0" private="1">
11694
<type name="GenObjectSkeletonPrivate"
11695
c:type="UnityWebappsGenObjectSkeletonPrivate*"/>
11698
<record name="GenObjectSkeletonClass"
11699
c:type="UnityWebappsGenObjectSkeletonClass"
11700
glib:is-gtype-struct-for="GenObjectSkeleton">
11701
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenObjectSkeleton.</doc>
11702
<field name="parent_class">
11703
<type name="Gio.DBusObjectSkeletonClass"
11704
c:type="GDBusObjectSkeletonClass"/>
11707
<record name="GenObjectSkeletonPrivate"
11708
c:type="UnityWebappsGenObjectSkeletonPrivate"
11711
<interface name="GenService"
11712
c:symbol-prefix="gen_service"
11713
c:type="UnityWebappsGenService"
11714
glib:type-name="UnityWebappsGenService"
11715
glib:get-type="unity_webapps_gen_service_get_type"
11716
glib:type-struct="GenServiceIface">
11717
<doc xml:whitespace="preserve">Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>.</doc>
11718
<function name="interface_info"
11719
c:identifier="unity_webapps_gen_service_interface_info">
11720
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link> D-Bus interface.</doc>
11721
<return-value transfer-ownership="none">
11722
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
11723
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
11726
<function name="override_properties"
11727
c:identifier="unity_webapps_gen_service_override_properties">
11728
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenService interface for a concrete class.
11729
The properties are overridden in the order they are defined.</doc>
11730
<return-value transfer-ownership="none">
11731
<doc xml:whitespace="preserve">The last property id.</doc>
11732
<type name="guint" c:type="guint"/>
11735
<parameter name="klass" transfer-ownership="none">
11736
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
11737
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
11739
<parameter name="property_id_begin" transfer-ownership="none">
11740
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
11741
<type name="guint" c:type="guint"/>
11745
<virtual-method name="context_appeared">
11746
<return-value transfer-ownership="none">
11747
<type name="none" c:type="void"/>
11750
<parameter name="arg_context" transfer-ownership="none">
11751
<type name="utf8" c:type="const gchar*"/>
11755
<virtual-method name="context_vanished">
11756
<return-value transfer-ownership="none">
11757
<type name="none" c:type="void"/>
11760
<parameter name="arg_context" transfer-ownership="none">
11761
<type name="utf8" c:type="const gchar*"/>
11765
<virtual-method name="handle_activate_application">
11766
<return-value transfer-ownership="none">
11767
<type name="gboolean" c:type="gboolean"/>
11770
<parameter name="invocation" transfer-ownership="none">
11771
<type name="Gio.DBusMethodInvocation"
11772
c:type="GDBusMethodInvocation*"/>
11774
<parameter name="arg_name" transfer-ownership="none">
11775
<type name="utf8" c:type="const gchar*"/>
11777
<parameter name="arg_domain" transfer-ownership="none">
11778
<type name="utf8" c:type="const gchar*"/>
11780
<parameter name="arg_files" transfer-ownership="none">
11781
<type name="utf8" c:type="const gchar* const*"/>
11785
<virtual-method name="handle_destroy_interest_for_context">
11786
<return-value transfer-ownership="none">
11787
<type name="gboolean" c:type="gboolean"/>
11790
<parameter name="invocation" transfer-ownership="none">
11791
<type name="Gio.DBusMethodInvocation"
11792
c:type="GDBusMethodInvocation*"/>
11794
<parameter name="arg_name" transfer-ownership="none">
11795
<type name="utf8" c:type="const gchar*"/>
11797
<parameter name="arg_domain" transfer-ownership="none">
11798
<type name="utf8" c:type="const gchar*"/>
11800
<parameter name="arg_interestid" transfer-ownership="none">
11801
<type name="gint" c:type="gint"/>
11803
<parameter name="arg_user_abandoned" transfer-ownership="none">
11804
<type name="gboolean" c:type="gboolean"/>
11808
<virtual-method name="handle_get_context">
11809
<return-value transfer-ownership="none">
11810
<type name="gboolean" c:type="gboolean"/>
11813
<parameter name="invocation" transfer-ownership="none">
11814
<type name="Gio.DBusMethodInvocation"
11815
c:type="GDBusMethodInvocation*"/>
11817
<parameter name="arg_name" transfer-ownership="none">
11818
<type name="utf8" c:type="const gchar*"/>
11820
<parameter name="arg_domain" transfer-ownership="none">
11821
<type name="utf8" c:type="const gchar*"/>
11823
<parameter name="arg_iconurl" transfer-ownership="none">
11824
<type name="utf8" c:type="const gchar*"/>
11826
<parameter name="arg_mimetypes" transfer-ownership="none">
11827
<type name="utf8" c:type="const gchar*"/>
11831
<virtual-method name="handle_list_contexts">
11832
<return-value transfer-ownership="none">
11833
<type name="gboolean" c:type="gboolean"/>
11836
<parameter name="invocation" transfer-ownership="none">
11837
<type name="Gio.DBusMethodInvocation"
11838
c:type="GDBusMethodInvocation*"/>
11842
<virtual-method name="handle_shutdown">
11843
<return-value transfer-ownership="none">
11844
<type name="gboolean" c:type="gboolean"/>
11847
<parameter name="invocation" transfer-ownership="none">
11848
<type name="Gio.DBusMethodInvocation"
11849
c:type="GDBusMethodInvocation*"/>
11853
<virtual-method name="service_ready">
11854
<return-value transfer-ownership="none">
11855
<type name="none" c:type="void"/>
11858
<method name="call_activate_application"
11859
c:identifier="unity_webapps_gen_service_call_activate_application">
11860
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ActivateApplication">ActivateApplication()</link> D-Bus method on @proxy.
11861
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11862
You can then call unity_webapps_gen_service_call_activate_application_finish() to get the result of the operation.
11864
See unity_webapps_gen_service_call_activate_application_sync() for the synchronous, blocking version of this method.</doc>
11865
<return-value transfer-ownership="none">
11866
<type name="none" c:type="void"/>
11869
<parameter name="arg_name" transfer-ownership="none">
11870
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11871
<type name="utf8" c:type="const gchar*"/>
11873
<parameter name="arg_domain" transfer-ownership="none">
11874
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11875
<type name="utf8" c:type="const gchar*"/>
11877
<parameter name="arg_files" transfer-ownership="none">
11878
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11879
<type name="utf8" c:type="const gchar* const*"/>
11881
<parameter name="cancellable"
11882
transfer-ownership="none"
11884
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11885
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11887
<parameter name="callback"
11888
transfer-ownership="none"
11892
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
11893
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11895
<parameter name="user_data" transfer-ownership="none">
11896
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11897
<type name="gpointer" c:type="gpointer"/>
11901
<method name="call_activate_application_finish"
11902
c:identifier="unity_webapps_gen_service_call_activate_application_finish"
11904
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_call_activate_application().</doc>
11905
<return-value transfer-ownership="none" skip="1">
11906
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
11907
<type name="gboolean" c:type="gboolean"/>
11910
<parameter name="res" transfer-ownership="none">
11911
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_call_activate_application().</doc>
11912
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
11916
<method name="call_activate_application_sync"
11917
c:identifier="unity_webapps_gen_service_call_activate_application_sync"
11919
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ActivateApplication">ActivateApplication()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
11921
See unity_webapps_gen_service_call_activate_application() for the asynchronous version of this method.</doc>
11922
<return-value transfer-ownership="none" skip="1">
11923
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
11924
<type name="gboolean" c:type="gboolean"/>
11927
<parameter name="arg_name" transfer-ownership="none">
11928
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11929
<type name="utf8" c:type="const gchar*"/>
11931
<parameter name="arg_domain" transfer-ownership="none">
11932
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11933
<type name="utf8" c:type="const gchar*"/>
11935
<parameter name="arg_files" transfer-ownership="none">
11936
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11937
<type name="utf8" c:type="const gchar* const*"/>
11939
<parameter name="cancellable"
11940
transfer-ownership="none"
11942
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11943
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11947
<method name="call_destroy_interest_for_context"
11948
c:identifier="unity_webapps_gen_service_call_destroy_interest_for_context">
11949
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.DestroyInterestForContext">DestroyInterestForContext()</link> D-Bus method on @proxy.
11950
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
11951
You can then call unity_webapps_gen_service_call_destroy_interest_for_context_finish() to get the result of the operation.
11953
See unity_webapps_gen_service_call_destroy_interest_for_context_sync() for the synchronous, blocking version of this method.</doc>
11954
<return-value transfer-ownership="none">
11955
<type name="none" c:type="void"/>
11958
<parameter name="arg_name" transfer-ownership="none">
11959
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11960
<type name="utf8" c:type="const gchar*"/>
11962
<parameter name="arg_domain" transfer-ownership="none">
11963
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11964
<type name="utf8" c:type="const gchar*"/>
11966
<parameter name="arg_interestid" transfer-ownership="none">
11967
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11968
<type name="gint" c:type="gint"/>
11970
<parameter name="arg_user_abandoned" transfer-ownership="none">
11971
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
11972
<type name="gboolean" c:type="gboolean"/>
11974
<parameter name="cancellable"
11975
transfer-ownership="none"
11977
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
11978
<type name="Gio.Cancellable" c:type="GCancellable*"/>
11980
<parameter name="callback"
11981
transfer-ownership="none"
11985
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
11986
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
11988
<parameter name="user_data" transfer-ownership="none">
11989
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
11990
<type name="gpointer" c:type="gpointer"/>
11994
<method name="call_destroy_interest_for_context_finish"
11995
c:identifier="unity_webapps_gen_service_call_destroy_interest_for_context_finish"
11997
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_call_destroy_interest_for_context().</doc>
11998
<return-value transfer-ownership="none" skip="1">
11999
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12000
<type name="gboolean" c:type="gboolean"/>
12003
<parameter name="res" transfer-ownership="none">
12004
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_call_destroy_interest_for_context().</doc>
12005
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12009
<method name="call_destroy_interest_for_context_sync"
12010
c:identifier="unity_webapps_gen_service_call_destroy_interest_for_context_sync"
12012
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.DestroyInterestForContext">DestroyInterestForContext()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
12014
See unity_webapps_gen_service_call_destroy_interest_for_context() for the asynchronous version of this method.</doc>
12015
<return-value transfer-ownership="none" skip="1">
12016
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12017
<type name="gboolean" c:type="gboolean"/>
12020
<parameter name="arg_name" transfer-ownership="none">
12021
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12022
<type name="utf8" c:type="const gchar*"/>
12024
<parameter name="arg_domain" transfer-ownership="none">
12025
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12026
<type name="utf8" c:type="const gchar*"/>
12028
<parameter name="arg_interestid" transfer-ownership="none">
12029
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12030
<type name="gint" c:type="gint"/>
12032
<parameter name="arg_user_abandoned" transfer-ownership="none">
12033
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12034
<type name="gboolean" c:type="gboolean"/>
12036
<parameter name="cancellable"
12037
transfer-ownership="none"
12039
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12040
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12044
<method name="call_get_context"
12045
c:identifier="unity_webapps_gen_service_call_get_context">
12046
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.GetContext">GetContext()</link> D-Bus method on @proxy.
12047
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
12048
You can then call unity_webapps_gen_service_call_get_context_finish() to get the result of the operation.
12050
See unity_webapps_gen_service_call_get_context_sync() for the synchronous, blocking version of this method.</doc>
12051
<return-value transfer-ownership="none">
12052
<type name="none" c:type="void"/>
12055
<parameter name="arg_name" transfer-ownership="none">
12056
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12057
<type name="utf8" c:type="const gchar*"/>
12059
<parameter name="arg_domain" transfer-ownership="none">
12060
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12061
<type name="utf8" c:type="const gchar*"/>
12063
<parameter name="arg_iconurl" transfer-ownership="none">
12064
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12065
<type name="utf8" c:type="const gchar*"/>
12067
<parameter name="arg_mimetypes" transfer-ownership="none">
12068
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12069
<type name="utf8" c:type="const gchar*"/>
12071
<parameter name="cancellable"
12072
transfer-ownership="none"
12074
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12075
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12077
<parameter name="callback"
12078
transfer-ownership="none"
12082
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
12083
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
12085
<parameter name="user_data" transfer-ownership="none">
12086
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
12087
<type name="gpointer" c:type="gpointer"/>
12091
<method name="call_get_context_finish"
12092
c:identifier="unity_webapps_gen_service_call_get_context_finish"
12094
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_call_get_context().</doc>
12095
<return-value transfer-ownership="none" skip="1">
12096
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12097
<type name="gboolean" c:type="gboolean"/>
12100
<parameter name="out_contextname"
12102
caller-allocates="0"
12103
transfer-ownership="full">
12104
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12105
<type name="utf8" c:type="gchar**"/>
12107
<parameter name="out_version"
12109
caller-allocates="0"
12110
transfer-ownership="full">
12111
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12112
<type name="utf8" c:type="gchar**"/>
12114
<parameter name="res" transfer-ownership="none">
12115
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_call_get_context().</doc>
12116
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12120
<method name="call_get_context_sync"
12121
c:identifier="unity_webapps_gen_service_call_get_context_sync"
12123
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.GetContext">GetContext()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
12125
See unity_webapps_gen_service_call_get_context() for the asynchronous version of this method.</doc>
12126
<return-value transfer-ownership="none" skip="1">
12127
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12128
<type name="gboolean" c:type="gboolean"/>
12131
<parameter name="arg_name" transfer-ownership="none">
12132
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12133
<type name="utf8" c:type="const gchar*"/>
12135
<parameter name="arg_domain" transfer-ownership="none">
12136
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12137
<type name="utf8" c:type="const gchar*"/>
12139
<parameter name="arg_iconurl" transfer-ownership="none">
12140
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12141
<type name="utf8" c:type="const gchar*"/>
12143
<parameter name="arg_mimetypes" transfer-ownership="none">
12144
<doc xml:whitespace="preserve">Argument to pass with the method invocation.</doc>
12145
<type name="utf8" c:type="const gchar*"/>
12147
<parameter name="out_contextname"
12149
caller-allocates="0"
12150
transfer-ownership="full">
12151
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12152
<type name="utf8" c:type="gchar**"/>
12154
<parameter name="out_version"
12156
caller-allocates="0"
12157
transfer-ownership="full">
12158
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12159
<type name="utf8" c:type="gchar**"/>
12161
<parameter name="cancellable"
12162
transfer-ownership="none"
12164
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12165
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12169
<method name="call_list_contexts"
12170
c:identifier="unity_webapps_gen_service_call_list_contexts">
12171
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ListContexts">ListContexts()</link> D-Bus method on @proxy.
12172
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
12173
You can then call unity_webapps_gen_service_call_list_contexts_finish() to get the result of the operation.
12175
See unity_webapps_gen_service_call_list_contexts_sync() for the synchronous, blocking version of this method.</doc>
12176
<return-value transfer-ownership="none">
12177
<type name="none" c:type="void"/>
12180
<parameter name="cancellable"
12181
transfer-ownership="none"
12183
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12184
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12186
<parameter name="callback"
12187
transfer-ownership="none"
12191
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
12192
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
12194
<parameter name="user_data" transfer-ownership="none">
12195
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
12196
<type name="gpointer" c:type="gpointer"/>
12200
<method name="call_list_contexts_finish"
12201
c:identifier="unity_webapps_gen_service_call_list_contexts_finish"
12203
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_call_list_contexts().</doc>
12204
<return-value transfer-ownership="none" skip="1">
12205
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12206
<type name="gboolean" c:type="gboolean"/>
12209
<parameter name="out_contexts"
12211
caller-allocates="0"
12212
transfer-ownership="full">
12213
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12214
<type name="utf8" c:type="gchar***"/>
12216
<parameter name="res" transfer-ownership="none">
12217
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_call_list_contexts().</doc>
12218
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12222
<method name="call_list_contexts_sync"
12223
c:identifier="unity_webapps_gen_service_call_list_contexts_sync"
12225
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ListContexts">ListContexts()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
12227
See unity_webapps_gen_service_call_list_contexts() for the asynchronous version of this method.</doc>
12228
<return-value transfer-ownership="none" skip="1">
12229
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12230
<type name="gboolean" c:type="gboolean"/>
12233
<parameter name="out_contexts"
12235
caller-allocates="0"
12236
transfer-ownership="full">
12237
<doc xml:whitespace="preserve">Return location for return parameter or %NULL to ignore.</doc>
12238
<type name="utf8" c:type="gchar***"/>
12240
<parameter name="cancellable"
12241
transfer-ownership="none"
12243
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12244
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12248
<method name="call_shutdown"
12249
c:identifier="unity_webapps_gen_service_call_shutdown">
12250
<doc xml:whitespace="preserve">Asynchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.Shutdown">Shutdown()</link> D-Bus method on @proxy.
12251
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
12252
You can then call unity_webapps_gen_service_call_shutdown_finish() to get the result of the operation.
12254
See unity_webapps_gen_service_call_shutdown_sync() for the synchronous, blocking version of this method.</doc>
12255
<return-value transfer-ownership="none">
12256
<type name="none" c:type="void"/>
12259
<parameter name="cancellable"
12260
transfer-ownership="none"
12262
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12263
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12265
<parameter name="callback"
12266
transfer-ownership="none"
12270
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied or %NULL.</doc>
12271
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
12273
<parameter name="user_data" transfer-ownership="none">
12274
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
12275
<type name="gpointer" c:type="gpointer"/>
12279
<method name="call_shutdown_finish"
12280
c:identifier="unity_webapps_gen_service_call_shutdown_finish"
12282
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_call_shutdown().</doc>
12283
<return-value transfer-ownership="none" skip="1">
12284
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12285
<type name="gboolean" c:type="gboolean"/>
12288
<parameter name="res" transfer-ownership="none">
12289
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_call_shutdown().</doc>
12290
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12294
<method name="call_shutdown_sync"
12295
c:identifier="unity_webapps_gen_service_call_shutdown_sync"
12297
<doc xml:whitespace="preserve">Synchronously invokes the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.Shutdown">Shutdown()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
12299
See unity_webapps_gen_service_call_shutdown() for the asynchronous version of this method.</doc>
12300
<return-value transfer-ownership="none" skip="1">
12301
<doc xml:whitespace="preserve">%TRUE if the call succeded, %FALSE if @error is set.</doc>
12302
<type name="gboolean" c:type="gboolean"/>
12305
<parameter name="cancellable"
12306
transfer-ownership="none"
12308
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12309
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12313
<method name="complete_activate_application"
12314
c:identifier="unity_webapps_gen_service_complete_activate_application">
12315
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ActivateApplication">ActivateApplication()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
12317
This method will free @invocation, you cannot use it afterwards.</doc>
12318
<return-value transfer-ownership="none">
12319
<type name="none" c:type="void"/>
12322
<parameter name="invocation" transfer-ownership="full">
12323
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12324
<type name="Gio.DBusMethodInvocation"
12325
c:type="GDBusMethodInvocation*"/>
12329
<method name="complete_destroy_interest_for_context"
12330
c:identifier="unity_webapps_gen_service_complete_destroy_interest_for_context">
12331
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.DestroyInterestForContext">DestroyInterestForContext()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
12333
This method will free @invocation, you cannot use it afterwards.</doc>
12334
<return-value transfer-ownership="none">
12335
<type name="none" c:type="void"/>
12338
<parameter name="invocation" transfer-ownership="full">
12339
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12340
<type name="Gio.DBusMethodInvocation"
12341
c:type="GDBusMethodInvocation*"/>
12345
<method name="complete_get_context"
12346
c:identifier="unity_webapps_gen_service_complete_get_context">
12347
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.GetContext">GetContext()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
12349
This method will free @invocation, you cannot use it afterwards.</doc>
12350
<return-value transfer-ownership="none">
12351
<type name="none" c:type="void"/>
12354
<parameter name="invocation" transfer-ownership="full">
12355
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12356
<type name="Gio.DBusMethodInvocation"
12357
c:type="GDBusMethodInvocation*"/>
12359
<parameter name="contextname" transfer-ownership="none">
12360
<doc xml:whitespace="preserve">Parameter to return.</doc>
12361
<type name="utf8" c:type="const gchar*"/>
12363
<parameter name="version" transfer-ownership="none">
12364
<doc xml:whitespace="preserve">Parameter to return.</doc>
12365
<type name="utf8" c:type="const gchar*"/>
12369
<method name="complete_list_contexts"
12370
c:identifier="unity_webapps_gen_service_complete_list_contexts">
12371
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ListContexts">ListContexts()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
12373
This method will free @invocation, you cannot use it afterwards.</doc>
12374
<return-value transfer-ownership="none">
12375
<type name="none" c:type="void"/>
12378
<parameter name="invocation" transfer-ownership="full">
12379
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12380
<type name="Gio.DBusMethodInvocation"
12381
c:type="GDBusMethodInvocation*"/>
12383
<parameter name="contexts" transfer-ownership="none">
12384
<doc xml:whitespace="preserve">Parameter to return.</doc>
12385
<type name="utf8" c:type="const gchar* const*"/>
12389
<method name="complete_shutdown"
12390
c:identifier="unity_webapps_gen_service_complete_shutdown">
12391
<doc xml:whitespace="preserve">Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.Shutdown">Shutdown()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
12393
This method will free @invocation, you cannot use it afterwards.</doc>
12394
<return-value transfer-ownership="none">
12395
<type name="none" c:type="void"/>
12398
<parameter name="invocation" transfer-ownership="full">
12399
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12400
<type name="Gio.DBusMethodInvocation"
12401
c:type="GDBusMethodInvocation*"/>
12405
<method name="emit_context_appeared"
12406
c:identifier="unity_webapps_gen_service_emit_context_appeared">
12407
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ContextAppeared">"ContextAppeared"</link> D-Bus signal.</doc>
12408
<return-value transfer-ownership="none">
12409
<type name="none" c:type="void"/>
12412
<parameter name="arg_context" transfer-ownership="none">
12413
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
12414
<type name="utf8" c:type="const gchar*"/>
12418
<method name="emit_context_vanished"
12419
c:identifier="unity_webapps_gen_service_emit_context_vanished">
12420
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ContextVanished">"ContextVanished"</link> D-Bus signal.</doc>
12421
<return-value transfer-ownership="none">
12422
<type name="none" c:type="void"/>
12425
<parameter name="arg_context" transfer-ownership="none">
12426
<doc xml:whitespace="preserve">Argument to pass with the signal.</doc>
12427
<type name="utf8" c:type="const gchar*"/>
12431
<method name="emit_service_ready"
12432
c:identifier="unity_webapps_gen_service_emit_service_ready">
12433
<doc xml:whitespace="preserve">Emits the <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ServiceReady">"ServiceReady"</link> D-Bus signal.</doc>
12434
<return-value transfer-ownership="none">
12435
<type name="none" c:type="void"/>
12438
<glib:signal name="context-appeared" when="last">
12439
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ContextAppeared">"ContextAppeared"</link> is received.
12441
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
12442
<return-value transfer-ownership="none">
12443
<type name="none"/>
12446
<parameter name="arg_context" transfer-ownership="none">
12447
<doc xml:whitespace="preserve">Argument.</doc>
12448
<type name="utf8"/>
12452
<glib:signal name="context-vanished" when="last">
12453
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ContextVanished">"ContextVanished"</link> is received.
12455
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
12456
<return-value transfer-ownership="none">
12457
<type name="none"/>
12460
<parameter name="arg_context" transfer-ownership="none">
12461
<doc xml:whitespace="preserve">Argument.</doc>
12462
<type name="utf8"/>
12466
<glib:signal name="handle-activate-application" when="last">
12467
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ActivateApplication">ActivateApplication()</link> D-Bus method.
12469
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_service_complete_activate_application() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
12470
<return-value transfer-ownership="none">
12471
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
12472
<type name="gboolean"/>
12475
<parameter name="invocation" transfer-ownership="none">
12476
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12477
<type name="Gio.DBusMethodInvocation"/>
12479
<parameter name="arg_name" transfer-ownership="none">
12480
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12481
<type name="utf8"/>
12483
<parameter name="arg_domain" transfer-ownership="none">
12484
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12485
<type name="utf8"/>
12487
<parameter name="arg_files" transfer-ownership="none">
12488
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12490
<type name="utf8"/>
12495
<glib:signal name="handle-destroy-interest-for-context" when="last">
12496
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.DestroyInterestForContext">DestroyInterestForContext()</link> D-Bus method.
12498
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_service_complete_destroy_interest_for_context() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
12499
<return-value transfer-ownership="none">
12500
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
12501
<type name="gboolean"/>
12504
<parameter name="invocation" transfer-ownership="none">
12505
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12506
<type name="Gio.DBusMethodInvocation"/>
12508
<parameter name="arg_name" transfer-ownership="none">
12509
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12510
<type name="utf8"/>
12512
<parameter name="arg_domain" transfer-ownership="none">
12513
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12514
<type name="utf8"/>
12516
<parameter name="arg_interestid" transfer-ownership="none">
12517
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12518
<type name="gint"/>
12520
<parameter name="arg_user_abandoned" transfer-ownership="none">
12521
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12522
<type name="gboolean"/>
12526
<glib:signal name="handle-get-context" when="last">
12527
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.GetContext">GetContext()</link> D-Bus method.
12529
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_service_complete_get_context() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
12530
<return-value transfer-ownership="none">
12531
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
12532
<type name="gboolean"/>
12535
<parameter name="invocation" transfer-ownership="none">
12536
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12537
<type name="Gio.DBusMethodInvocation"/>
12539
<parameter name="arg_name" transfer-ownership="none">
12540
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12541
<type name="utf8"/>
12543
<parameter name="arg_domain" transfer-ownership="none">
12544
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12545
<type name="utf8"/>
12547
<parameter name="arg_iconurl" transfer-ownership="none">
12548
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12549
<type name="utf8"/>
12551
<parameter name="arg_mimetypes" transfer-ownership="none">
12552
<doc xml:whitespace="preserve">Argument passed by remote caller.</doc>
12553
<type name="utf8"/>
12557
<glib:signal name="handle-list-contexts" when="last">
12558
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.ListContexts">ListContexts()</link> D-Bus method.
12560
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_service_complete_list_contexts() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
12561
<return-value transfer-ownership="none">
12562
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
12563
<type name="gboolean"/>
12566
<parameter name="invocation" transfer-ownership="none">
12567
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12568
<type name="Gio.DBusMethodInvocation"/>
12572
<glib:signal name="handle-shutdown" when="last">
12573
<doc xml:whitespace="preserve">Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-com-canonical-Unity-Webapps-Service.Shutdown">Shutdown()</link> D-Bus method.
12575
If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call unity_webapps_gen_service_complete_shutdown() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.</doc>
12576
<return-value transfer-ownership="none">
12577
<doc xml:whitespace="preserve">%TRUE if the invocation was handled, %FALSE to let other signal handlers run.</doc>
12578
<type name="gboolean"/>
12581
<parameter name="invocation" transfer-ownership="none">
12582
<doc xml:whitespace="preserve">A #GDBusMethodInvocation.</doc>
12583
<type name="Gio.DBusMethodInvocation"/>
12587
<glib:signal name="service-ready" when="last">
12588
<doc xml:whitespace="preserve">On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-com-canonical-Unity-Webapps-Service.ServiceReady">"ServiceReady"</link> is received.
12590
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.</doc>
12591
<return-value transfer-ownership="none">
12592
<type name="none"/>
12596
<record name="GenServiceIface"
12597
c:type="UnityWebappsGenServiceIface"
12598
glib:is-gtype-struct-for="GenService">
12599
<doc xml:whitespace="preserve">Virtual table for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>.</doc>
12600
<field name="parent_iface">
12601
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
12603
<field name="handle_activate_application">
12604
<callback name="handle_activate_application">
12605
<return-value transfer-ownership="none">
12606
<type name="gboolean" c:type="gboolean"/>
12609
<parameter name="object" transfer-ownership="none">
12610
<type name="GenService" c:type="UnityWebappsGenService*"/>
12612
<parameter name="invocation" transfer-ownership="none">
12613
<type name="Gio.DBusMethodInvocation"
12614
c:type="GDBusMethodInvocation*"/>
12616
<parameter name="arg_name" transfer-ownership="none">
12617
<type name="utf8" c:type="const gchar*"/>
12619
<parameter name="arg_domain" transfer-ownership="none">
12620
<type name="utf8" c:type="const gchar*"/>
12622
<parameter name="arg_files" transfer-ownership="none">
12623
<type name="utf8" c:type="const gchar* const*"/>
12628
<field name="handle_destroy_interest_for_context">
12629
<callback name="handle_destroy_interest_for_context">
12630
<return-value transfer-ownership="none">
12631
<type name="gboolean" c:type="gboolean"/>
12634
<parameter name="object" transfer-ownership="none">
12635
<type name="GenService" c:type="UnityWebappsGenService*"/>
12637
<parameter name="invocation" transfer-ownership="none">
12638
<type name="Gio.DBusMethodInvocation"
12639
c:type="GDBusMethodInvocation*"/>
12641
<parameter name="arg_name" transfer-ownership="none">
12642
<type name="utf8" c:type="const gchar*"/>
12644
<parameter name="arg_domain" transfer-ownership="none">
12645
<type name="utf8" c:type="const gchar*"/>
12647
<parameter name="arg_interestid" transfer-ownership="none">
12648
<type name="gint" c:type="gint"/>
12650
<parameter name="arg_user_abandoned" transfer-ownership="none">
12651
<type name="gboolean" c:type="gboolean"/>
12656
<field name="handle_get_context">
12657
<callback name="handle_get_context">
12658
<return-value transfer-ownership="none">
12659
<type name="gboolean" c:type="gboolean"/>
12662
<parameter name="object" transfer-ownership="none">
12663
<type name="GenService" c:type="UnityWebappsGenService*"/>
12665
<parameter name="invocation" transfer-ownership="none">
12666
<type name="Gio.DBusMethodInvocation"
12667
c:type="GDBusMethodInvocation*"/>
12669
<parameter name="arg_name" transfer-ownership="none">
12670
<type name="utf8" c:type="const gchar*"/>
12672
<parameter name="arg_domain" transfer-ownership="none">
12673
<type name="utf8" c:type="const gchar*"/>
12675
<parameter name="arg_iconurl" transfer-ownership="none">
12676
<type name="utf8" c:type="const gchar*"/>
12678
<parameter name="arg_mimetypes" transfer-ownership="none">
12679
<type name="utf8" c:type="const gchar*"/>
12684
<field name="handle_list_contexts">
12685
<callback name="handle_list_contexts">
12686
<return-value transfer-ownership="none">
12687
<type name="gboolean" c:type="gboolean"/>
12690
<parameter name="object" transfer-ownership="none">
12691
<type name="GenService" c:type="UnityWebappsGenService*"/>
12693
<parameter name="invocation" transfer-ownership="none">
12694
<type name="Gio.DBusMethodInvocation"
12695
c:type="GDBusMethodInvocation*"/>
12700
<field name="handle_shutdown">
12701
<callback name="handle_shutdown">
12702
<return-value transfer-ownership="none">
12703
<type name="gboolean" c:type="gboolean"/>
12706
<parameter name="object" transfer-ownership="none">
12707
<type name="GenService" c:type="UnityWebappsGenService*"/>
12709
<parameter name="invocation" transfer-ownership="none">
12710
<type name="Gio.DBusMethodInvocation"
12711
c:type="GDBusMethodInvocation*"/>
12716
<field name="context_appeared">
12717
<callback name="context_appeared">
12718
<return-value transfer-ownership="none">
12719
<type name="none" c:type="void"/>
12722
<parameter name="object" transfer-ownership="none">
12723
<type name="GenService" c:type="UnityWebappsGenService*"/>
12725
<parameter name="arg_context" transfer-ownership="none">
12726
<type name="utf8" c:type="const gchar*"/>
12731
<field name="context_vanished">
12732
<callback name="context_vanished">
12733
<return-value transfer-ownership="none">
12734
<type name="none" c:type="void"/>
12737
<parameter name="object" transfer-ownership="none">
12738
<type name="GenService" c:type="UnityWebappsGenService*"/>
12740
<parameter name="arg_context" transfer-ownership="none">
12741
<type name="utf8" c:type="const gchar*"/>
12746
<field name="service_ready">
12747
<callback name="service_ready">
12748
<return-value transfer-ownership="none">
12749
<type name="none" c:type="void"/>
12752
<parameter name="object" transfer-ownership="none">
12753
<type name="GenService" c:type="UnityWebappsGenService*"/>
12759
<class name="GenServiceProxy"
12760
c:symbol-prefix="gen_service_proxy"
12761
c:type="UnityWebappsGenServiceProxy"
12762
parent="Gio.DBusProxy"
12763
glib:type-name="UnityWebappsGenServiceProxy"
12764
glib:get-type="unity_webapps_gen_service_proxy_get_type"
12765
glib:type-struct="GenServiceProxyClass">
12766
<doc xml:whitespace="preserve">The #UnityWebappsGenServiceProxy structure contains only private data and should only be accessed using the provided API.</doc>
12767
<implements name="Gio.AsyncInitable"/>
12768
<implements name="Gio.DBusInterface"/>
12769
<implements name="Gio.Initable"/>
12770
<implements name="GenService"/>
12771
<constructor name="new_finish"
12772
c:identifier="unity_webapps_gen_service_proxy_new_finish"
12774
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_proxy_new().</doc>
12775
<return-value transfer-ownership="full">
12776
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
12777
<type name="GenServiceProxy" c:type="UnityWebappsGenService*"/>
12780
<parameter name="res" transfer-ownership="none">
12781
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_proxy_new().</doc>
12782
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12786
<constructor name="new_for_bus_finish"
12787
c:identifier="unity_webapps_gen_service_proxy_new_for_bus_finish"
12789
<doc xml:whitespace="preserve">Finishes an operation started with unity_webapps_gen_service_proxy_new_for_bus().</doc>
12790
<return-value transfer-ownership="full">
12791
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
12792
<type name="GenServiceProxy" c:type="UnityWebappsGenService*"/>
12795
<parameter name="res" transfer-ownership="none">
12796
<doc xml:whitespace="preserve">The #GAsyncResult obtained from the #GAsyncReadyCallback passed to unity_webapps_gen_service_proxy_new_for_bus().</doc>
12797
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
12801
<constructor name="new_for_bus_sync"
12802
c:identifier="unity_webapps_gen_service_proxy_new_for_bus_sync"
12804
<doc xml:whitespace="preserve">Like unity_webapps_gen_service_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
12806
The calling thread is blocked until a reply is received.
12808
See unity_webapps_gen_service_proxy_new_for_bus() for the asynchronous version of this constructor.</doc>
12809
<return-value transfer-ownership="full">
12810
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
12811
<type name="GenServiceProxy" c:type="UnityWebappsGenService*"/>
12814
<parameter name="bus_type" transfer-ownership="none">
12815
<doc xml:whitespace="preserve">A #GBusType.</doc>
12816
<type name="Gio.BusType" c:type="GBusType"/>
12818
<parameter name="flags" transfer-ownership="none">
12819
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
12820
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
12822
<parameter name="name" transfer-ownership="none">
12823
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
12824
<type name="utf8" c:type="const gchar*"/>
12826
<parameter name="object_path" transfer-ownership="none">
12827
<doc xml:whitespace="preserve">An object path.</doc>
12828
<type name="utf8" c:type="const gchar*"/>
12830
<parameter name="cancellable"
12831
transfer-ownership="none"
12833
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12834
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12838
<constructor name="new_sync"
12839
c:identifier="unity_webapps_gen_service_proxy_new_sync"
12841
<doc xml:whitespace="preserve">Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>. See g_dbus_proxy_new_sync() for more details.
12843
The calling thread is blocked until a reply is received.
12845
See unity_webapps_gen_service_proxy_new() for the asynchronous version of this constructor.</doc>
12846
<return-value transfer-ownership="full">
12847
<doc xml:whitespace="preserve">The constructed proxy object or %NULL if @error is set.</doc>
12848
<type name="GenServiceProxy" c:type="UnityWebappsGenService*"/>
12851
<parameter name="connection" transfer-ownership="none">
12852
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
12853
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
12855
<parameter name="flags" transfer-ownership="none">
12856
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
12857
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
12859
<parameter name="name" transfer-ownership="none" allow-none="1">
12860
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
12861
<type name="utf8" c:type="const gchar*"/>
12863
<parameter name="object_path" transfer-ownership="none">
12864
<doc xml:whitespace="preserve">An object path.</doc>
12865
<type name="utf8" c:type="const gchar*"/>
12867
<parameter name="cancellable"
12868
transfer-ownership="none"
12870
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12871
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12875
<function name="new" c:identifier="unity_webapps_gen_service_proxy_new">
12876
<doc xml:whitespace="preserve">Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>. See g_dbus_proxy_new() for more details.
12878
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
12879
You can then call unity_webapps_gen_service_proxy_new_finish() to get the result of the operation.
12881
See unity_webapps_gen_service_proxy_new_sync() for the synchronous, blocking version of this constructor.</doc>
12882
<return-value transfer-ownership="none">
12883
<type name="none" c:type="void"/>
12886
<parameter name="connection" transfer-ownership="none">
12887
<doc xml:whitespace="preserve">A #GDBusConnection.</doc>
12888
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
12890
<parameter name="flags" transfer-ownership="none">
12891
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
12892
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
12894
<parameter name="name" transfer-ownership="none" allow-none="1">
12895
<doc xml:whitespace="preserve">A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.</doc>
12896
<type name="utf8" c:type="const gchar*"/>
12898
<parameter name="object_path" transfer-ownership="none">
12899
<doc xml:whitespace="preserve">An object path.</doc>
12900
<type name="utf8" c:type="const gchar*"/>
12902
<parameter name="cancellable"
12903
transfer-ownership="none"
12905
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12906
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12908
<parameter name="callback"
12909
transfer-ownership="none"
12913
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
12914
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
12916
<parameter name="user_data" transfer-ownership="none">
12917
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
12918
<type name="gpointer" c:type="gpointer"/>
12922
<function name="new_for_bus"
12923
c:identifier="unity_webapps_gen_service_proxy_new_for_bus">
12924
<doc xml:whitespace="preserve">Like unity_webapps_gen_service_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
12926
When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
12927
You can then call unity_webapps_gen_service_proxy_new_for_bus_finish() to get the result of the operation.
12929
See unity_webapps_gen_service_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.</doc>
12930
<return-value transfer-ownership="none">
12931
<type name="none" c:type="void"/>
12934
<parameter name="bus_type" transfer-ownership="none">
12935
<doc xml:whitespace="preserve">A #GBusType.</doc>
12936
<type name="Gio.BusType" c:type="GBusType"/>
12938
<parameter name="flags" transfer-ownership="none">
12939
<doc xml:whitespace="preserve">Flags from the #GDBusProxyFlags enumeration.</doc>
12940
<type name="Gio.DBusProxyFlags" c:type="GDBusProxyFlags"/>
12942
<parameter name="name" transfer-ownership="none">
12943
<doc xml:whitespace="preserve">A bus name (well-known or unique).</doc>
12944
<type name="utf8" c:type="const gchar*"/>
12946
<parameter name="object_path" transfer-ownership="none">
12947
<doc xml:whitespace="preserve">An object path.</doc>
12948
<type name="utf8" c:type="const gchar*"/>
12950
<parameter name="cancellable"
12951
transfer-ownership="none"
12953
<doc xml:whitespace="preserve">A #GCancellable or %NULL.</doc>
12954
<type name="Gio.Cancellable" c:type="GCancellable*"/>
12956
<parameter name="callback"
12957
transfer-ownership="none"
12961
<doc xml:whitespace="preserve">A #GAsyncReadyCallback to call when the request is satisfied.</doc>
12962
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
12964
<parameter name="user_data" transfer-ownership="none">
12965
<doc xml:whitespace="preserve">User data to pass to @callback.</doc>
12966
<type name="gpointer" c:type="gpointer"/>
12970
<field name="parent_instance" readable="0" private="1">
12971
<type name="Gio.DBusProxy" c:type="GDBusProxy"/>
12973
<field name="priv" readable="0" private="1">
12974
<type name="GenServiceProxyPrivate"
12975
c:type="UnityWebappsGenServiceProxyPrivate*"/>
12978
<record name="GenServiceProxyClass"
12979
c:type="UnityWebappsGenServiceProxyClass"
12980
glib:is-gtype-struct-for="GenServiceProxy">
12981
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenServiceProxy.</doc>
12982
<field name="parent_class">
12983
<type name="Gio.DBusProxyClass" c:type="GDBusProxyClass"/>
12986
<record name="GenServiceProxyPrivate"
12987
c:type="UnityWebappsGenServiceProxyPrivate"
12990
<class name="GenServiceSkeleton"
12991
c:symbol-prefix="gen_service_skeleton"
12992
c:type="UnityWebappsGenServiceSkeleton"
12993
parent="Gio.DBusInterfaceSkeleton"
12994
glib:type-name="UnityWebappsGenServiceSkeleton"
12995
glib:get-type="unity_webapps_gen_service_skeleton_get_type"
12996
glib:type-struct="GenServiceSkeletonClass">
12997
<doc xml:whitespace="preserve">The #UnityWebappsGenServiceSkeleton structure contains only private data and should only be accessed using the provided API.</doc>
12998
<implements name="Gio.DBusInterface"/>
12999
<implements name="GenService"/>
13000
<constructor name="new"
13001
c:identifier="unity_webapps_gen_service_skeleton_new">
13002
<doc xml:whitespace="preserve">Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link>.</doc>
13003
<return-value transfer-ownership="full">
13004
<doc xml:whitespace="preserve">The skeleton object.</doc>
13005
<type name="GenServiceSkeleton" c:type="UnityWebappsGenService*"/>
13008
<field name="parent_instance" readable="0" private="1">
13009
<type name="Gio.DBusInterfaceSkeleton"
13010
c:type="GDBusInterfaceSkeleton"/>
13012
<field name="priv" readable="0" private="1">
13013
<type name="GenServiceSkeletonPrivate"
13014
c:type="UnityWebappsGenServiceSkeletonPrivate*"/>
13017
<record name="GenServiceSkeletonClass"
13018
c:type="UnityWebappsGenServiceSkeletonClass"
13019
glib:is-gtype-struct-for="GenServiceSkeleton">
13020
<doc xml:whitespace="preserve">Class structure for #UnityWebappsGenServiceSkeleton.</doc>
13021
<field name="parent_class">
13022
<type name="Gio.DBusInterfaceSkeletonClass"
13023
c:type="GDBusInterfaceSkeletonClass"/>
13026
<record name="GenServiceSkeletonPrivate"
13027
c:type="UnityWebappsGenServiceSkeletonPrivate"
13030
<constant name="INDICATOR_IFACE"
13031
value="com.canonical.Unity.Webapps.Indicator"
13032
c:type="UNITY_WEBAPPS_INDICATOR_IFACE">
13033
<type name="utf8" c:type="gchar*"/>
13035
<constant name="INDICATOR_PATH"
13036
value="/com/canonical/Unity/Webapps/Context/Indicator"
13037
c:type="UNITY_WEBAPPS_INDICATOR_PATH">
13038
<type name="utf8" c:type="gchar*"/>
13040
<callback name="IndicatorCallback" c:type="UnityWebappsIndicatorCallback">
13041
<return-value transfer-ownership="none">
13042
<type name="none" c:type="void"/>
13045
<parameter name="context" transfer-ownership="none">
13046
<type name="Context" c:type="UnityWebappsContext*"/>
13048
<parameter name="user_data" transfer-ownership="none" closure="1">
13049
<type name="gpointer" c:type="gpointer"/>
13053
<record name="IndicatorContext" c:type="UnityWebappsIndicatorContext">
13054
<field name="context" writable="1">
13055
<type name="Context" c:type="UnityWebappsContext*"/>
13057
<field name="indicator_proxy" writable="1">
13058
<type name="GenIndicator" c:type="UnityWebappsGenIndicator*"/>
13060
<field name="menu_callbacks_by_name" writable="1">
13061
<type name="GLib.HashTable" c:type="GHashTable*">
13062
<type name="gpointer" c:type="gpointer"/>
13063
<type name="gpointer" c:type="gpointer"/>
13066
<field name="indicator_callbacks_by_name" writable="1">
13067
<type name="GLib.HashTable" c:type="GHashTable*">
13068
<type name="gpointer" c:type="gpointer"/>
13069
<type name="gpointer" c:type="gpointer"/>
13072
<field name="indicator_rate" writable="1">
13073
<type name="guint" c:type="guint"/>
13075
<method name="free" c:identifier="unity_webapps_indicator_context_free">
13076
<return-value transfer-ownership="none">
13077
<type name="none" c:type="void"/>
13080
<function name="new"
13081
c:identifier="unity_webapps_indicator_context_new"
13085
<type name="IndicatorContext"
13086
c:type="UnityWebappsIndicatorContext*"/>
13089
<parameter name="main_context" transfer-ownership="none">
13090
<type name="Context" c:type="UnityWebappsContext*"/>
13095
<record name="IntegrationScriptContent"
13096
c:type="UnityWebappsIntegrationScriptContent">
13097
<field name="name" writable="1">
13098
<type name="utf8" c:type="gchar*"/>
13100
<field name="content" writable="1">
13101
<type name="utf8" c:type="gchar*"/>
13104
<record name="IntegrationScriptContent_t"
13105
c:type="UnityWebappsIntegrationScriptContent_t">
13106
<field name="name" writable="1">
13107
<type name="utf8" c:type="gchar*"/>
13109
<field name="content" writable="1">
13110
<type name="utf8" c:type="gchar*"/>
13113
<record name="IntegrationScriptDescription"
13114
c:type="UnityWebappsIntegrationScriptDescription">
13115
<field name="name" writable="1">
13116
<type name="utf8" c:type="gchar*"/>
13118
<field name="namespace" writable="1">
13119
<type name="utf8" c:type="gchar*"/>
13121
<field name="description" writable="1">
13122
<type name="utf8" c:type="gchar*"/>
13124
<field name="version" writable="1">
13125
<type name="utf8" c:type="gchar*"/>
13127
<field name="author" writable="1">
13128
<type name="utf8" c:type="gchar*"/>
13130
<field name="content" writable="1">
13131
<type name="utf8" c:type="gchar*"/>
13133
<field name="includes" writable="1">
13134
<type name="GLib.SList" c:type="GSList*">
13135
<type name="gpointer" c:type="gpointer"/>
13138
<field name="requires" writable="1">
13139
<type name="GLib.SList" c:type="GSList*">
13140
<type name="gpointer" c:type="gpointer"/>
13144
<record name="IntegrationScriptDescription_t"
13145
c:type="UnityWebappsIntegrationScriptDescription_t">
13146
<field name="name" writable="1">
13147
<type name="utf8" c:type="gchar*"/>
13149
<field name="namespace" writable="1">
13150
<type name="utf8" c:type="gchar*"/>
13152
<field name="description" writable="1">
13153
<type name="utf8" c:type="gchar*"/>
13155
<field name="version" writable="1">
13156
<type name="utf8" c:type="gchar*"/>
13158
<field name="author" writable="1">
13159
<type name="utf8" c:type="gchar*"/>
13161
<field name="content" writable="1">
13162
<type name="utf8" c:type="gchar*"/>
13164
<field name="includes" writable="1">
13165
<type name="GLib.SList" c:type="GSList*">
13166
<type name="gpointer" c:type="gpointer"/>
13169
<field name="requires" writable="1">
13170
<type name="GLib.SList" c:type="GSList*">
13171
<type name="gpointer" c:type="gpointer"/>
13175
<constant name="LAUNCHER_IFACE"
13176
value="com.canonical.Unity.Webapps.Launcher"
13177
c:type="UNITY_WEBAPPS_LAUNCHER_IFACE">
13178
<type name="utf8" c:type="gchar*"/>
13180
<constant name="LAUNCHER_PATH"
13181
value="/com/canonical/Unity/Webapps/Launcher"
13182
c:type="UNITY_WEBAPPS_LAUNCHER_PATH">
13183
<type name="utf8" c:type="gchar*"/>
13185
<callback name="LauncherCallback" c:type="UnityWebappsLauncherCallback">
13186
<return-value transfer-ownership="none">
13187
<type name="none" c:type="void"/>
13190
<parameter name="context" transfer-ownership="none">
13191
<type name="Context" c:type="UnityWebappsContext*"/>
13193
<parameter name="user_data" transfer-ownership="none" closure="1">
13194
<type name="gpointer" c:type="gpointer"/>
13198
<record name="LauncherContext" c:type="UnityWebappsLauncherContext">
13199
<field name="context" writable="1">
13200
<type name="Context" c:type="UnityWebappsContext*"/>
13202
<field name="launcher_proxy" writable="1">
13203
<type name="GenLauncher" c:type="UnityWebappsGenLauncher*"/>
13205
<field name="quicklist_callbacks_by_name" writable="1">
13206
<type name="GLib.HashTable" c:type="GHashTable*">
13207
<type name="gpointer" c:type="gpointer"/>
13208
<type name="gpointer" c:type="gpointer"/>
13211
<field name="launcher_rate" writable="1">
13212
<type name="guint" c:type="guint"/>
13214
<method name="free" c:identifier="unity_webapps_launcher_context_free">
13215
<return-value transfer-ownership="none">
13216
<type name="none" c:type="void"/>
13219
<function name="new"
13220
c:identifier="unity_webapps_launcher_context_new"
13224
<type name="LauncherContext" c:type="UnityWebappsLauncherContext*"/>
13227
<parameter name="main_context" transfer-ownership="none">
13228
<type name="Context" c:type="UnityWebappsContext*"/>
13233
<constant name="MUSIC_PLAYER_IFACE"
13234
value="com.canonical.Unity.Webapps.MusicPlayer"
13235
c:type="UNITY_WEBAPPS_MUSIC_PLAYER_IFACE">
13236
<type name="utf8" c:type="gchar*"/>
13238
<constant name="MUSIC_PLAYER_PATH"
13239
value="/com/canonical/Unity/Webapps/Context/MusicPlayer"
13240
c:type="UNITY_WEBAPPS_MUSIC_PLAYER_PATH">
13241
<type name="utf8" c:type="gchar*"/>
13243
<callback name="MusicPlayerCallback"
13244
c:type="UnityWebappsMusicPlayerCallback">
13245
<return-value transfer-ownership="none">
13246
<type name="none" c:type="void"/>
13249
<parameter name="context" transfer-ownership="none">
13250
<type name="Context" c:type="UnityWebappsContext*"/>
13252
<parameter name="user_data" transfer-ownership="none" closure="1">
13253
<type name="gpointer" c:type="gpointer"/>
13257
<record name="MusicPlayerContext" c:type="UnityWebappsMusicPlayerContext">
13258
<field name="context" writable="1">
13259
<type name="Context" c:type="UnityWebappsContext*"/>
13261
<field name="music_player_proxy" writable="1">
13262
<type name="GenMusicPlayer" c:type="UnityWebappsGenMusicPlayer*"/>
13264
<field name="music_player_rate" writable="1">
13265
<type name="guint" c:type="guint"/>
13267
<method name="free"
13268
c:identifier="unity_webapps_music_player_context_free">
13269
<return-value transfer-ownership="none">
13270
<type name="none" c:type="void"/>
13273
<function name="new"
13274
c:identifier="unity_webapps_music_player_context_new"
13278
<type name="MusicPlayerContext"
13279
c:type="UnityWebappsMusicPlayerContext*"/>
13282
<parameter name="main_context" transfer-ownership="none">
13283
<type name="Context" c:type="UnityWebappsContext*"/>
13288
<enumeration name="MusicPlayerPlaybackState"
13289
c:type="UnityWebappsMusicPlayerPlaybackState">
13290
<member name="playing"
13292
c:identifier="UNITY_WEBAPPS_MUSIC_PLAYER_PLAYBACK_STATE_PLAYING"/>
13293
<member name="paused"
13295
c:identifier="UNITY_WEBAPPS_MUSIC_PLAYER_PLAYBACK_STATE_PAUSED"/>
13297
<callback name="MusicPlayerPlaylistCallback"
13298
c:type="UnityWebappsMusicPlayerPlaylistCallback">
13299
<return-value transfer-ownership="none">
13300
<type name="none" c:type="void"/>
13303
<parameter name="context" transfer-ownership="none">
13304
<type name="Context" c:type="UnityWebappsContext*"/>
13306
<parameter name="playlist_name" transfer-ownership="none">
13307
<type name="utf8" c:type="const gchar*"/>
13309
<parameter name="user_data" transfer-ownership="none" closure="2">
13310
<type name="gpointer" c:type="gpointer"/>
13314
<constant name="NOTIFICATION_IFACE"
13315
value="com.canonical.Unity.Webapps.Notification"
13316
c:type="UNITY_WEBAPPS_NOTIFICATION_IFACE">
13317
<type name="utf8" c:type="gchar*"/>
13319
<constant name="NOTIFICATION_PATH"
13320
value="/com/canonical/Unity/Webapps/Context/Notification"
13321
c:type="UNITY_WEBAPPS_NOTIFICATION_PATH">
13322
<type name="utf8" c:type="gchar*"/>
13324
<record name="NotificationContext"
13325
c:type="UnityWebappsNotificationContext">
13326
<field name="context" writable="1">
13327
<type name="Context" c:type="UnityWebappsContext*"/>
13329
<field name="notification_proxy" writable="1">
13330
<type name="GenNotification" c:type="UnityWebappsGenNotification*"/>
13332
<field name="notification_rate" writable="1">
13333
<type name="guint" c:type="guint"/>
13335
<method name="free"
13336
c:identifier="unity_webapps_notification_context_free">
13337
<return-value transfer-ownership="none">
13338
<type name="none" c:type="void"/>
13341
<function name="new"
13342
c:identifier="unity_webapps_notification_context_new"
13346
<type name="NotificationContext"
13347
c:type="UnityWebappsNotificationContext*"/>
13350
<parameter name="main_context" transfer-ownership="none">
13351
<type name="Context" c:type="UnityWebappsContext*"/>
13356
<constant name="SERVICE_IFACE"
13357
value="com.canonical.Unity.Webapps.Service"
13358
c:type="UNITY_WEBAPPS_SERVICE_IFACE">
13359
<type name="utf8" c:type="gchar*"/>
13361
<constant name="SERVICE_NAME"
13362
value="com.canonical.Unity.Webapps.Service"
13363
c:type="UNITY_WEBAPPS_SERVICE_NAME">
13364
<type name="utf8" c:type="gchar*"/>
13366
<constant name="SERVICE_PATH"
13367
value="/com/canonical/Unity/Webapps/Service"
13368
c:type="UNITY_WEBAPPS_SERVICE_PATH">
13369
<type name="utf8" c:type="gchar*"/>
13371
<class name="Service"
13372
c:symbol-prefix="service"
13373
c:type="UnityWebappsService"
13374
parent="GObject.Object"
13375
glib:type-name="UnityWebappsService"
13376
glib:get-type="unity_webapps_service_get_type"
13377
glib:type-struct="ServiceClass">
13378
<constructor name="new" c:identifier="unity_webapps_service_new">
13379
<doc xml:whitespace="preserve">Creates a new #UnityWebappsService proxy object. If 'com.canonical.Unity.Webapps.Service'
13380
is unowned, the daemon will be started following method invocation by this proxy.</doc>
13381
<return-value transfer-ownership="full">
13382
<doc xml:whitespace="preserve">The newly constructed #UnityWebappsService objec,tg</doc>
13383
<type name="Service" c:type="UnityWebappsService*"/>
13386
<method name="activate_application"
13387
c:identifier="unity_webapps_service_activate_application">
13388
<doc xml:whitespace="preserve">Invokes the ActivateApplication method of the UnityWebappsService object. This will
13389
activate the application uniquely idenfied by the pair (@name, @domain).</doc>
13390
<return-value transfer-ownership="none">
13391
<type name="none" c:type="void"/>
13394
<parameter name="name" transfer-ownership="none">
13395
<doc xml:whitespace="preserve">Application name.</doc>
13396
<type name="utf8" c:type="const gchar*"/>
13398
<parameter name="domain" transfer-ownership="none">
13399
<doc xml:whitespace="preserve">Applicatoin domain.</doc>
13400
<type name="utf8" c:type="const gchar*"/>
13402
<parameter name="files" transfer-ownership="none">
13403
<type name="utf8" c:type="const gchar* const*"/>
13407
<method name="destroy_interest_for_context"
13408
c:identifier="unity_webapps_service_destroy_interest_for_context">
13409
<return-value transfer-ownership="none">
13410
<type name="none" c:type="void"/>
13413
<parameter name="name" transfer-ownership="none">
13414
<type name="utf8" c:type="const gchar*"/>
13416
<parameter name="domain" transfer-ownership="none">
13417
<type name="utf8" c:type="const gchar*"/>
13419
<parameter name="interest_id" transfer-ownership="none">
13420
<type name="gint" c:type="gint"/>
13422
<parameter name="abandoned" transfer-ownership="none">
13423
<type name="gboolean" c:type="gboolean"/>
13427
<method name="get_connection"
13428
c:identifier="unity_webapps_service_get_connection">
13429
<doc xml:whitespace="preserve">Returns the #GDBusConnection used by @service.</doc>
13430
<return-value transfer-ownership="none">
13431
<doc xml:whitespace="preserve">The #GDBusConnection used by @service.</doc>
13432
<type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
13435
<method name="get_proxy" c:identifier="unity_webapps_service_get_proxy">
13436
<doc xml:whitespace="preserve">Returns the internal #GDBusProxy used by @service.</doc>
13437
<return-value transfer-ownership="none">
13438
<doc xml:whitespace="preserve">The #GDBusProxy used by @service.</doc>
13439
<type name="Gio.DBusProxy" c:type="GDBusProxy*"/>
13442
<method name="list_contexts"
13443
c:identifier="unity_webapps_service_list_contexts">
13444
<doc xml:whitespace="preserve">Returns a list of context names (unique DBus names), registered with the remote
13446
<return-value transfer-ownership="full">
13447
<doc xml:whitespace="preserve">A list of context names.</doc>
13448
<array c:type="gchar**">
13449
<type name="utf8"/>
13453
<method name="on_context_appeared"
13454
c:identifier="unity_webapps_service_on_context_appeared"
13455
introspectable="0">
13456
<doc xml:whitespace="preserve">Registers @callback to be invoked when the "ContextAppeared" signal is emitted from the
13457
remote service instance. This indicates a new application context has come online.</doc>
13458
<return-value transfer-ownership="none">
13459
<type name="none" c:type="void"/>
13462
<parameter name="callback" transfer-ownership="none" closure="1">
13463
<doc xml:whitespace="preserve">A callback to be invoked when a new context is registered with @service.</doc>
13464
<type name="ServiceContextNotifyCallback"
13465
c:type="UnityWebappsServiceContextNotifyCallback"/>
13467
<parameter name="user_data" transfer-ownership="none">
13468
<doc xml:whitespace="preserve">User supplied data to be passed to @callback.</doc>
13469
<type name="gpointer" c:type="gpointer"/>
13473
<method name="on_context_vanished"
13474
c:identifier="unity_webapps_service_on_context_vanished"
13475
introspectable="0">
13476
<doc xml:whitespace="preserve">Registers @callback to be invoked when the "ContextVanished" signal is emitted from the
13477
remote service instance. This indicates an application context has gone offline.</doc>
13478
<return-value transfer-ownership="none">
13479
<type name="none" c:type="void"/>
13482
<parameter name="callback" transfer-ownership="none" closure="1">
13483
<doc xml:whitespace="preserve">A callback to be invoked when a new context is registered with @service.</doc>
13484
<type name="ServiceContextNotifyCallback"
13485
c:type="UnityWebappsServiceContextNotifyCallback"/>
13487
<parameter name="user_data" transfer-ownership="none">
13488
<doc xml:whitespace="preserve">User supplied data to be passed to @callback.</doc>
13489
<type name="gpointer" c:type="gpointer"/>
13493
<method name="set_xid_for_browser_window_id"
13494
c:identifier="unity_webapps_service_set_xid_for_browser_window_id">
13495
<return-value transfer-ownership="none">
13496
<type name="none" c:type="void"/>
13499
<parameter name="context" transfer-ownership="none">
13500
<type name="Context" c:type="UnityWebappsContext*"/>
13502
<parameter name="window_id" transfer-ownership="none">
13503
<type name="gint" c:type="int"/>
13507
<method name="shutdown" c:identifier="unity_webapps_service_shutdown">
13508
<return-value transfer-ownership="none">
13509
<type name="none" c:type="void"/>
13512
<field name="object">
13513
<type name="GObject.Object" c:type="GObject"/>
13515
<field name="priv">
13516
<type name="ServicePrivate" c:type="UnityWebappsServicePrivate*"/>
13519
<record name="ServiceClass"
13520
c:type="UnityWebappsServiceClass"
13521
glib:is-gtype-struct-for="Service">
13522
<field name="parent_class">
13523
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
13526
<callback name="ServiceContextNotifyCallback"
13527
c:type="UnityWebappsServiceContextNotifyCallback">
13528
<return-value transfer-ownership="none">
13529
<type name="none" c:type="void"/>
13532
<parameter name="service" transfer-ownership="none">
13533
<type name="Service" c:type="UnityWebappsService*"/>
13535
<parameter name="name" transfer-ownership="none">
13536
<type name="utf8" c:type="const gchar*"/>
13538
<parameter name="user_data" transfer-ownership="none" closure="2">
13539
<type name="gpointer" c:type="gpointer"/>
13543
<record name="ServicePrivate"
13544
c:type="UnityWebappsServicePrivate"
13547
<record name="StrWrapperDesc" c:type="UnityWebappsStrWrapperDesc">
13548
<field name="str" writable="1">
13549
<type name="utf8" c:type="const gchar*"/>
13552
<constant name="WIRE_PROTOCOL_VERSION"
13554
c:type="UNITY_WEBAPPS_WIRE_PROTOCOL_VERSION">
13555
<type name="utf8" c:type="gchar*"/>
13557
<function name="debug_initialize_flags"
13558
c:identifier="unity_webapps_debug_initialize_flags">
13559
<return-value transfer-ownership="none">
13560
<type name="none" c:type="void"/>
13563
<function name="gen_context_interface_info"
13564
c:identifier="unity_webapps_gen_context_interface_info"
13565
moved-to="GenContext.interface_info">
13566
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Context.top_of_page">com.canonical.Unity.Webapps.Context</link> D-Bus interface.</doc>
13567
<return-value transfer-ownership="none">
13568
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13569
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13572
<function name="gen_context_override_properties"
13573
c:identifier="unity_webapps_gen_context_override_properties"
13574
moved-to="GenContext.override_properties">
13575
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenContext interface for a concrete class.
13576
The properties are overridden in the order they are defined.</doc>
13577
<return-value transfer-ownership="none">
13578
<doc xml:whitespace="preserve">The last property id.</doc>
13579
<type name="guint" c:type="guint"/>
13582
<parameter name="klass" transfer-ownership="none">
13583
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13584
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13586
<parameter name="property_id_begin" transfer-ownership="none">
13587
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13588
<type name="guint" c:type="guint"/>
13592
<function name="gen_indicator_interface_info"
13593
c:identifier="unity_webapps_gen_indicator_interface_info"
13594
moved-to="GenIndicator.interface_info">
13595
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Indicator.top_of_page">com.canonical.Unity.Webapps.Indicator</link> D-Bus interface.</doc>
13596
<return-value transfer-ownership="none">
13597
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13598
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13601
<function name="gen_indicator_override_properties"
13602
c:identifier="unity_webapps_gen_indicator_override_properties"
13603
moved-to="GenIndicator.override_properties">
13604
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenIndicator interface for a concrete class.
13605
The properties are overridden in the order they are defined.</doc>
13606
<return-value transfer-ownership="none">
13607
<doc xml:whitespace="preserve">The last property id.</doc>
13608
<type name="guint" c:type="guint"/>
13611
<parameter name="klass" transfer-ownership="none">
13612
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13613
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13615
<parameter name="property_id_begin" transfer-ownership="none">
13616
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13617
<type name="guint" c:type="guint"/>
13621
<function name="gen_launcher_interface_info"
13622
c:identifier="unity_webapps_gen_launcher_interface_info"
13623
moved-to="GenLauncher.interface_info">
13624
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Launcher.top_of_page">com.canonical.Unity.Webapps.Launcher</link> D-Bus interface.</doc>
13625
<return-value transfer-ownership="none">
13626
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13627
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13630
<function name="gen_launcher_override_properties"
13631
c:identifier="unity_webapps_gen_launcher_override_properties"
13632
moved-to="GenLauncher.override_properties">
13633
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenLauncher interface for a concrete class.
13634
The properties are overridden in the order they are defined.</doc>
13635
<return-value transfer-ownership="none">
13636
<doc xml:whitespace="preserve">The last property id.</doc>
13637
<type name="guint" c:type="guint"/>
13640
<parameter name="klass" transfer-ownership="none">
13641
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13642
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13644
<parameter name="property_id_begin" transfer-ownership="none">
13645
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13646
<type name="guint" c:type="guint"/>
13650
<function name="gen_music_player_interface_info"
13651
c:identifier="unity_webapps_gen_music_player_interface_info"
13652
moved-to="GenMusicPlayer.interface_info">
13653
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-MusicPlayer.top_of_page">com.canonical.Unity.Webapps.MusicPlayer</link> D-Bus interface.</doc>
13654
<return-value transfer-ownership="none">
13655
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13656
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13659
<function name="gen_music_player_override_properties"
13660
c:identifier="unity_webapps_gen_music_player_override_properties"
13661
moved-to="GenMusicPlayer.override_properties">
13662
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenMusicPlayer interface for a concrete class.
13663
The properties are overridden in the order they are defined.</doc>
13664
<return-value transfer-ownership="none">
13665
<doc xml:whitespace="preserve">The last property id.</doc>
13666
<type name="guint" c:type="guint"/>
13669
<parameter name="klass" transfer-ownership="none">
13670
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13671
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13673
<parameter name="property_id_begin" transfer-ownership="none">
13674
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13675
<type name="guint" c:type="guint"/>
13679
<function name="gen_notification_interface_info"
13680
c:identifier="unity_webapps_gen_notification_interface_info"
13681
moved-to="GenNotification.interface_info">
13682
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Notification.top_of_page">com.canonical.Unity.Webapps.Notification</link> D-Bus interface.</doc>
13683
<return-value transfer-ownership="none">
13684
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13685
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13688
<function name="gen_notification_override_properties"
13689
c:identifier="unity_webapps_gen_notification_override_properties"
13690
moved-to="GenNotification.override_properties">
13691
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenNotification interface for a concrete class.
13692
The properties are overridden in the order they are defined.</doc>
13693
<return-value transfer-ownership="none">
13694
<doc xml:whitespace="preserve">The last property id.</doc>
13695
<type name="guint" c:type="guint"/>
13698
<parameter name="klass" transfer-ownership="none">
13699
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13700
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13702
<parameter name="property_id_begin" transfer-ownership="none">
13703
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13704
<type name="guint" c:type="guint"/>
13708
<function name="gen_service_interface_info"
13709
c:identifier="unity_webapps_gen_service_interface_info"
13710
moved-to="GenService.interface_info">
13711
<doc xml:whitespace="preserve">Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-Unity-Webapps-Service.top_of_page">com.canonical.Unity.Webapps.Service</link> D-Bus interface.</doc>
13712
<return-value transfer-ownership="none">
13713
<doc xml:whitespace="preserve">A #GDBusInterfaceInfo. Do not free.</doc>
13714
<type name="Gio.DBusInterfaceInfo" c:type="GDBusInterfaceInfo*"/>
13717
<function name="gen_service_override_properties"
13718
c:identifier="unity_webapps_gen_service_override_properties"
13719
moved-to="GenService.override_properties">
13720
<doc xml:whitespace="preserve">Overrides all #GObject properties in the #UnityWebappsGenService interface for a concrete class.
13721
The properties are overridden in the order they are defined.</doc>
13722
<return-value transfer-ownership="none">
13723
<doc xml:whitespace="preserve">The last property id.</doc>
13724
<type name="guint" c:type="guint"/>
13727
<parameter name="klass" transfer-ownership="none">
13728
<doc xml:whitespace="preserve">The class structure for a #GObject<!-- -->-derived class.</doc>
13729
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
13731
<parameter name="property_id_begin" transfer-ownership="none">
13732
<doc xml:whitespace="preserve">The property id to assign to the first overridden property.</doc>
13733
<type name="guint" c:type="guint"/>
13737
<function name="indicator_add_action"
13738
c:identifier="unity_webapps_indicator_add_action"
13739
introspectable="0">
13740
<return-value transfer-ownership="none">
13741
<type name="none" c:type="void"/>
13744
<parameter name="context" transfer-ownership="none">
13745
<type name="Context" c:type="UnityWebappsContext*"/>
13747
<parameter name="label" transfer-ownership="none">
13748
<type name="utf8" c:type="const gchar*"/>
13750
<parameter name="callback" transfer-ownership="none" closure="3">
13751
<type name="IndicatorCallback"
13752
c:type="UnityWebappsIndicatorCallback"/>
13754
<parameter name="user_data" transfer-ownership="none">
13755
<type name="gpointer" c:type="gpointer"/>
13759
<function name="indicator_clear_indicator"
13760
c:identifier="unity_webapps_indicator_clear_indicator">
13761
<return-value transfer-ownership="none">
13762
<type name="none" c:type="void"/>
13765
<parameter name="context" transfer-ownership="none">
13766
<type name="Context" c:type="UnityWebappsContext*"/>
13768
<parameter name="name" transfer-ownership="none">
13769
<type name="utf8" c:type="const gchar*"/>
13773
<function name="indicator_clear_indicators"
13774
c:identifier="unity_webapps_indicator_clear_indicators">
13775
<return-value transfer-ownership="none">
13776
<type name="none" c:type="void"/>
13779
<parameter name="context" transfer-ownership="none">
13780
<type name="Context" c:type="UnityWebappsContext*"/>
13784
<function name="indicator_get_presence"
13785
c:identifier="unity_webapps_indicator_get_presence">
13786
<return-value transfer-ownership="full">
13787
<type name="utf8" c:type="gchar*"/>
13790
<parameter name="context" transfer-ownership="none">
13791
<type name="Context" c:type="UnityWebappsContext*"/>
13795
<function name="indicator_on_presence_changed_callback"
13796
c:identifier="unity_webapps_indicator_on_presence_changed_callback"
13797
introspectable="0">
13798
<return-value transfer-ownership="none">
13799
<type name="none" c:type="void"/>
13802
<parameter name="context" transfer-ownership="none">
13803
<type name="Context" c:type="UnityWebappsContext*"/>
13805
<parameter name="callback" transfer-ownership="none" closure="2">
13806
<type name="IndicatorCallback"
13807
c:type="UnityWebappsIndicatorCallback"/>
13809
<parameter name="user_data" transfer-ownership="none">
13810
<type name="gpointer" c:type="gpointer"/>
13814
<function name="indicator_remove_action"
13815
c:identifier="unity_webapps_indicator_remove_action">
13816
<return-value transfer-ownership="none">
13817
<type name="none" c:type="void"/>
13820
<parameter name="context" transfer-ownership="none">
13821
<type name="Context" c:type="UnityWebappsContext*"/>
13823
<parameter name="label" transfer-ownership="none">
13824
<type name="utf8" c:type="const gchar*"/>
13828
<function name="indicator_remove_actions"
13829
c:identifier="unity_webapps_indicator_remove_actions">
13830
<return-value transfer-ownership="none">
13831
<type name="none" c:type="void"/>
13834
<parameter name="context" transfer-ownership="none">
13835
<type name="Context" c:type="UnityWebappsContext*"/>
13839
<function name="indicator_set_callback"
13840
c:identifier="unity_webapps_indicator_set_callback"
13841
introspectable="0">
13842
<return-value transfer-ownership="none">
13843
<type name="none" c:type="void"/>
13846
<parameter name="context" transfer-ownership="none">
13847
<type name="Context" c:type="UnityWebappsContext*"/>
13849
<parameter name="name" transfer-ownership="none">
13850
<type name="utf8" c:type="const gchar*"/>
13852
<parameter name="callback" transfer-ownership="none" closure="3">
13853
<type name="IndicatorCallback"
13854
c:type="UnityWebappsIndicatorCallback"/>
13856
<parameter name="user_data" transfer-ownership="none">
13857
<type name="gpointer" c:type="gpointer"/>
13861
<function name="indicator_set_property"
13862
c:identifier="unity_webapps_indicator_set_property">
13863
<return-value transfer-ownership="none">
13864
<type name="none" c:type="void"/>
13867
<parameter name="context" transfer-ownership="none">
13868
<type name="Context" c:type="UnityWebappsContext*"/>
13870
<parameter name="name" transfer-ownership="none">
13871
<type name="utf8" c:type="const gchar*"/>
13873
<parameter name="property" transfer-ownership="none">
13874
<type name="utf8" c:type="const gchar*"/>
13876
<parameter name="value" transfer-ownership="none">
13877
<type name="utf8" c:type="const gchar*"/>
13881
<function name="indicator_set_property_icon"
13882
c:identifier="unity_webapps_indicator_set_property_icon">
13883
<return-value transfer-ownership="none">
13884
<type name="none" c:type="void"/>
13887
<parameter name="context" transfer-ownership="none">
13888
<type name="Context" c:type="UnityWebappsContext*"/>
13890
<parameter name="name" transfer-ownership="none">
13891
<type name="utf8" c:type="const gchar*"/>
13893
<parameter name="property" transfer-ownership="none">
13894
<type name="utf8" c:type="const gchar*"/>
13896
<parameter name="icon_url" transfer-ownership="none">
13897
<type name="utf8" c:type="const gchar*"/>
13901
<function name="indicator_show_indicator"
13902
c:identifier="unity_webapps_indicator_show_indicator">
13903
<return-value transfer-ownership="none">
13904
<type name="none" c:type="void"/>
13907
<parameter name="context" transfer-ownership="none">
13908
<type name="Context" c:type="UnityWebappsContext*"/>
13910
<parameter name="name" transfer-ownership="none">
13911
<type name="utf8" c:type="const gchar*"/>
13915
<function name="launcher_add_action"
13916
c:identifier="unity_webapps_launcher_add_action"
13917
introspectable="0">
13918
<return-value transfer-ownership="none">
13919
<type name="none" c:type="void"/>
13922
<parameter name="context" transfer-ownership="none">
13923
<type name="Context" c:type="UnityWebappsContext*"/>
13925
<parameter name="label" transfer-ownership="none">
13926
<type name="utf8" c:type="const gchar*"/>
13928
<parameter name="callback" transfer-ownership="none" closure="3">
13929
<type name="LauncherCallback" c:type="UnityWebappsLauncherCallback"/>
13931
<parameter name="user_data" transfer-ownership="none">
13932
<type name="gpointer" c:type="gpointer"/>
13936
<function name="launcher_add_static_action"
13937
c:identifier="unity_webapps_launcher_add_static_action">
13938
<return-value transfer-ownership="none">
13939
<type name="none" c:type="void"/>
13942
<parameter name="context" transfer-ownership="none">
13943
<type name="Context" c:type="UnityWebappsContext*"/>
13945
<parameter name="label" transfer-ownership="none">
13946
<type name="utf8" c:type="const gchar*"/>
13948
<parameter name="page" transfer-ownership="none">
13949
<type name="utf8" c:type="const gchar*"/>
13953
<function name="launcher_clear_count"
13954
c:identifier="unity_webapps_launcher_clear_count">
13955
<return-value transfer-ownership="none">
13956
<type name="none" c:type="void"/>
13959
<parameter name="context" transfer-ownership="none">
13960
<type name="Context" c:type="UnityWebappsContext*"/>
13964
<function name="launcher_clear_progress"
13965
c:identifier="unity_webapps_launcher_clear_progress">
13966
<return-value transfer-ownership="none">
13967
<type name="none" c:type="void"/>
13970
<parameter name="context" transfer-ownership="none">
13971
<type name="Context" c:type="UnityWebappsContext*"/>
13975
<function name="launcher_remove_action"
13976
c:identifier="unity_webapps_launcher_remove_action">
13977
<return-value transfer-ownership="none">
13978
<type name="none" c:type="void"/>
13981
<parameter name="context" transfer-ownership="none">
13982
<type name="Context" c:type="UnityWebappsContext*"/>
13984
<parameter name="label" transfer-ownership="none">
13985
<type name="utf8" c:type="const gchar*"/>
13989
<function name="launcher_remove_actions"
13990
c:identifier="unity_webapps_launcher_remove_actions">
13991
<return-value transfer-ownership="none">
13992
<type name="none" c:type="void"/>
13995
<parameter name="context" transfer-ownership="none">
13996
<type name="Context" c:type="UnityWebappsContext*"/>
14000
<function name="launcher_remove_static_actions"
14001
c:identifier="unity_webapps_launcher_remove_static_actions">
14002
<return-value transfer-ownership="none">
14003
<type name="none" c:type="void"/>
14006
<parameter name="context" transfer-ownership="none">
14007
<type name="Context" c:type="UnityWebappsContext*"/>
14011
<function name="launcher_set_count"
14012
c:identifier="unity_webapps_launcher_set_count">
14013
<return-value transfer-ownership="none">
14014
<type name="none" c:type="void"/>
14017
<parameter name="context" transfer-ownership="none">
14018
<type name="Context" c:type="UnityWebappsContext*"/>
14020
<parameter name="count" transfer-ownership="none">
14021
<type name="gint" c:type="gint"/>
14025
<function name="launcher_set_progress"
14026
c:identifier="unity_webapps_launcher_set_progress">
14027
<return-value transfer-ownership="none">
14028
<type name="none" c:type="void"/>
14031
<parameter name="context" transfer-ownership="none">
14032
<type name="Context" c:type="UnityWebappsContext*"/>
14034
<parameter name="progress" transfer-ownership="none">
14035
<type name="gdouble" c:type="gdouble"/>
14039
<function name="launcher_set_urgent"
14040
c:identifier="unity_webapps_launcher_set_urgent">
14041
<return-value transfer-ownership="none">
14042
<type name="none" c:type="void"/>
14045
<parameter name="context" transfer-ownership="none">
14046
<type name="Context" c:type="UnityWebappsContext*"/>
14050
<function name="music_player_get_can_go_next"
14051
c:identifier="unity_webapps_music_player_get_can_go_next">
14052
<return-value transfer-ownership="none">
14053
<type name="gboolean" c:type="gboolean"/>
14056
<parameter name="context" transfer-ownership="none">
14057
<type name="Context" c:type="UnityWebappsContext*"/>
14061
<function name="music_player_get_can_go_previous"
14062
c:identifier="unity_webapps_music_player_get_can_go_previous">
14063
<return-value transfer-ownership="none">
14064
<type name="gboolean" c:type="gboolean"/>
14067
<parameter name="context" transfer-ownership="none">
14068
<type name="Context" c:type="UnityWebappsContext*"/>
14072
<function name="music_player_get_can_pause"
14073
c:identifier="unity_webapps_music_player_get_can_pause">
14074
<return-value transfer-ownership="none">
14075
<type name="gboolean" c:type="gboolean"/>
14078
<parameter name="context" transfer-ownership="none">
14079
<type name="Context" c:type="UnityWebappsContext*"/>
14083
<function name="music_player_get_can_play"
14084
c:identifier="unity_webapps_music_player_get_can_play">
14085
<return-value transfer-ownership="none">
14086
<type name="gboolean" c:type="gboolean"/>
14089
<parameter name="context" transfer-ownership="none">
14090
<type name="Context" c:type="UnityWebappsContext*"/>
14094
<function name="music_player_get_playback_state"
14095
c:identifier="unity_webapps_music_player_get_playback_state">
14096
<return-value transfer-ownership="none">
14097
<type name="MusicPlayerPlaybackState"
14098
c:type="UnityWebappsMusicPlayerPlaybackState"/>
14101
<parameter name="context" transfer-ownership="none">
14102
<type name="Context" c:type="UnityWebappsContext*"/>
14106
<function name="music_player_init"
14107
c:identifier="unity_webapps_music_player_init">
14108
<return-value transfer-ownership="none">
14109
<type name="none" c:type="void"/>
14112
<parameter name="context" transfer-ownership="none">
14113
<type name="Context" c:type="UnityWebappsContext*"/>
14115
<parameter name="title" transfer-ownership="none">
14116
<type name="utf8" c:type="const gchar*"/>
14120
<function name="music_player_on_next_callback"
14121
c:identifier="unity_webapps_music_player_on_next_callback"
14122
introspectable="0">
14123
<return-value transfer-ownership="none">
14124
<type name="none" c:type="void"/>
14127
<parameter name="context" transfer-ownership="none">
14128
<type name="Context" c:type="UnityWebappsContext*"/>
14130
<parameter name="callback" transfer-ownership="none" closure="2">
14131
<type name="MusicPlayerCallback"
14132
c:type="UnityWebappsMusicPlayerCallback"/>
14134
<parameter name="user_data" transfer-ownership="none">
14135
<type name="gpointer" c:type="gpointer"/>
14139
<function name="music_player_on_play_pause_callback"
14140
c:identifier="unity_webapps_music_player_on_play_pause_callback"
14141
introspectable="0">
14142
<return-value transfer-ownership="none">
14143
<type name="none" c:type="void"/>
14146
<parameter name="context" transfer-ownership="none">
14147
<type name="Context" c:type="UnityWebappsContext*"/>
14149
<parameter name="callback" transfer-ownership="none" closure="2">
14150
<type name="MusicPlayerCallback"
14151
c:type="UnityWebappsMusicPlayerCallback"/>
14153
<parameter name="user_data" transfer-ownership="none">
14154
<type name="gpointer" c:type="gpointer"/>
14158
<function name="music_player_on_playlist_activated_callback"
14159
c:identifier="unity_webapps_music_player_on_playlist_activated_callback"
14160
introspectable="0">
14161
<return-value transfer-ownership="none">
14162
<type name="none" c:type="void"/>
14165
<parameter name="context" transfer-ownership="none">
14166
<type name="Context" c:type="UnityWebappsContext*"/>
14168
<parameter name="callback" transfer-ownership="none" closure="2">
14169
<type name="MusicPlayerPlaylistCallback"
14170
c:type="UnityWebappsMusicPlayerPlaylistCallback"/>
14172
<parameter name="user_data" transfer-ownership="none">
14173
<type name="gpointer" c:type="gpointer"/>
14177
<function name="music_player_on_previous_callback"
14178
c:identifier="unity_webapps_music_player_on_previous_callback"
14179
introspectable="0">
14180
<return-value transfer-ownership="none">
14181
<type name="none" c:type="void"/>
14184
<parameter name="context" transfer-ownership="none">
14185
<type name="Context" c:type="UnityWebappsContext*"/>
14187
<parameter name="callback" transfer-ownership="none" closure="2">
14188
<type name="MusicPlayerCallback"
14189
c:type="UnityWebappsMusicPlayerCallback"/>
14191
<parameter name="user_data" transfer-ownership="none">
14192
<type name="gpointer" c:type="gpointer"/>
14196
<function name="music_player_set_can_go_next"
14197
c:identifier="unity_webapps_music_player_set_can_go_next">
14198
<return-value transfer-ownership="none">
14199
<type name="none" c:type="void"/>
14202
<parameter name="context" transfer-ownership="none">
14203
<type name="Context" c:type="UnityWebappsContext*"/>
14205
<parameter name="can_go_next" transfer-ownership="none">
14206
<type name="gboolean" c:type="gboolean"/>
14210
<function name="music_player_set_can_go_previous"
14211
c:identifier="unity_webapps_music_player_set_can_go_previous">
14212
<return-value transfer-ownership="none">
14213
<type name="none" c:type="void"/>
14216
<parameter name="context" transfer-ownership="none">
14217
<type name="Context" c:type="UnityWebappsContext*"/>
14219
<parameter name="can_go_previous" transfer-ownership="none">
14220
<type name="gboolean" c:type="gboolean"/>
14224
<function name="music_player_set_can_pause"
14225
c:identifier="unity_webapps_music_player_set_can_pause">
14226
<return-value transfer-ownership="none">
14227
<type name="none" c:type="void"/>
14230
<parameter name="context" transfer-ownership="none">
14231
<type name="Context" c:type="UnityWebappsContext*"/>
14233
<parameter name="can_go_pause" transfer-ownership="none">
14234
<type name="gboolean" c:type="gboolean"/>
14238
<function name="music_player_set_can_play"
14239
c:identifier="unity_webapps_music_player_set_can_play">
14240
<return-value transfer-ownership="none">
14241
<type name="none" c:type="void"/>
14244
<parameter name="context" transfer-ownership="none">
14245
<type name="Context" c:type="UnityWebappsContext*"/>
14247
<parameter name="can_go_play" transfer-ownership="none">
14248
<type name="gboolean" c:type="gboolean"/>
14252
<function name="music_player_set_playback_state"
14253
c:identifier="unity_webapps_music_player_set_playback_state">
14254
<return-value transfer-ownership="none">
14255
<type name="none" c:type="void"/>
14258
<parameter name="context" transfer-ownership="none">
14259
<type name="Context" c:type="UnityWebappsContext*"/>
14261
<parameter name="state" transfer-ownership="none">
14262
<type name="MusicPlayerPlaybackState"
14263
c:type="UnityWebappsMusicPlayerPlaybackState"/>
14267
<function name="music_player_set_playlists"
14268
c:identifier="unity_webapps_music_player_set_playlists">
14269
<return-value transfer-ownership="none">
14270
<type name="none" c:type="void"/>
14273
<parameter name="context" transfer-ownership="none">
14274
<type name="Context" c:type="UnityWebappsContext*"/>
14276
<parameter name="playlists" transfer-ownership="none">
14277
<type name="utf8" c:type="const gchar* const*"/>
14281
<function name="music_player_set_track"
14282
c:identifier="unity_webapps_music_player_set_track">
14283
<return-value transfer-ownership="none">
14284
<type name="none" c:type="void"/>
14287
<parameter name="context" transfer-ownership="none">
14288
<type name="Context" c:type="UnityWebappsContext*"/>
14290
<parameter name="artist" transfer-ownership="none">
14291
<type name="utf8" c:type="const gchar*"/>
14293
<parameter name="album" transfer-ownership="none">
14294
<type name="utf8" c:type="const gchar*"/>
14296
<parameter name="title" transfer-ownership="none">
14297
<type name="utf8" c:type="const gchar*"/>
14299
<parameter name="icon_url" transfer-ownership="none">
14300
<type name="utf8" c:type="const gchar*"/>
14304
<function name="notification_show_notification"
14305
c:identifier="unity_webapps_notification_show_notification">
14306
<return-value transfer-ownership="none">
14307
<type name="none" c:type="void"/>
14310
<parameter name="context" transfer-ownership="none">
14311
<type name="Context" c:type="UnityWebappsContext*"/>
14313
<parameter name="summary" transfer-ownership="none">
14314
<type name="utf8" c:type="const gchar*"/>
14316
<parameter name="body" transfer-ownership="none">
14317
<type name="utf8" c:type="const gchar*"/>
14319
<parameter name="icon_url" transfer-ownership="none">
14320
<type name="utf8" c:type="const gchar*"/>
14324
<function name="permissions_allow_domain"
14325
c:identifier="unity_webapps_permissions_allow_domain">
14326
<return-value transfer-ownership="none">
14327
<type name="none" c:type="void"/>
14330
<parameter name="domain" transfer-ownership="none">
14331
<type name="utf8" c:type="const gchar*"/>
14335
<function name="permissions_dontask_domain"
14336
c:identifier="unity_webapps_permissions_dontask_domain">
14337
<return-value transfer-ownership="none">
14338
<type name="none" c:type="void"/>
14341
<parameter name="domain" transfer-ownership="none">
14342
<type name="utf8" c:type="const gchar*"/>
14346
<function name="permissions_get_all_domains"
14347
c:identifier="unity_webapps_permissions_get_all_domains">
14348
<return-value transfer-ownership="full">
14349
<type name="utf8" c:type="gchar*"/>
14352
<function name="permissions_get_domain_allowed"
14353
c:identifier="unity_webapps_permissions_get_domain_allowed">
14354
<return-value transfer-ownership="none">
14355
<type name="gboolean" c:type="gboolean"/>
14358
<parameter name="domain" transfer-ownership="none">
14359
<type name="utf8" c:type="const gchar*"/>
14363
<function name="permissions_get_domain_dontask"
14364
c:identifier="unity_webapps_permissions_get_domain_dontask">
14365
<return-value transfer-ownership="none">
14366
<type name="gboolean" c:type="gboolean"/>
14369
<parameter name="domain" transfer-ownership="none">
14370
<type name="utf8" c:type="const gchar*"/>
14374
<function name="permissions_is_integration_allowed"
14375
c:identifier="unity_webapps_permissions_is_integration_allowed">
14376
<return-value transfer-ownership="none">
14377
<type name="gboolean" c:type="gboolean"/>
14380
<function name="permissions_remove_domain_from_permissions"
14381
c:identifier="unity_webapps_permissions_remove_domain_from_permissions">
14382
<return-value transfer-ownership="none">
14383
<type name="none" c:type="void"/>
14386
<parameter name="domain" transfer-ownership="none">
14387
<type name="utf8" c:type="const gchar*"/>
14391
<function name="permissions_set_integration_allowed"
14392
c:identifier="unity_webapps_permissions_set_integration_allowed">
14393
<return-value transfer-ownership="none">
14394
<type name="none" c:type="void"/>
14397
<parameter name="allowed" transfer-ownership="none">
14398
<type name="gboolean" c:type="gboolean"/>
14402
<function name="rate_check_indicator_rate_limit"
14403
c:identifier="unity_webapps_rate_check_indicator_rate_limit">
14404
<return-value transfer-ownership="none">
14405
<type name="gboolean" c:type="gboolean"/>
14408
<parameter name="context" transfer-ownership="none">
14409
<type name="Context" c:type="UnityWebappsContext*"/>
14413
<function name="rate_check_launcher_rate_limit"
14414
c:identifier="unity_webapps_rate_check_launcher_rate_limit">
14415
<return-value transfer-ownership="none">
14416
<type name="gboolean" c:type="gboolean"/>
14419
<parameter name="context" transfer-ownership="none">
14420
<type name="Context" c:type="UnityWebappsContext*"/>
14424
<function name="rate_check_music_player_rate_limit"
14425
c:identifier="unity_webapps_rate_check_music_player_rate_limit">
14426
<return-value transfer-ownership="none">
14427
<type name="gboolean" c:type="gboolean"/>
14430
<parameter name="context" transfer-ownership="none">
14431
<type name="Context" c:type="UnityWebappsContext*"/>
14435
<function name="rate_check_notification_rate_limit"
14436
c:identifier="unity_webapps_rate_check_notification_rate_limit">
14437
<return-value transfer-ownership="none">
14438
<type name="gboolean" c:type="gboolean"/>
14441
<parameter name="context" transfer-ownership="none">
14442
<type name="Context" c:type="UnityWebappsContext*"/>
14446
<function name="sanitizer_limit_string_argument"
14447
c:identifier="unity_webapps_sanitizer_limit_string_argument">
14448
<return-value transfer-ownership="full">
14449
<type name="utf8" c:type="gchar*"/>
14452
<parameter name="string" transfer-ownership="none">
14453
<type name="utf8" c:type="const gchar*"/>
14455
<parameter name="length" transfer-ownership="none">
14456
<type name="gsize" c:type="gsize"/>
14460
<function name="sanitizer_limit_strv_argument"
14461
c:identifier="unity_webapps_sanitizer_limit_strv_argument"
14462
introspectable="0">
14464
<array c:type="gchar**">
14465
<type name="utf8"/>
14469
<parameter name="strv" transfer-ownership="none">
14470
<type name="utf8" c:type="const gchar* const*"/>
14472
<parameter name="length" transfer-ownership="none">
14473
<type name="gsize" c:type="gsize"/>
14475
<parameter name="element_length" transfer-ownership="none">
14476
<type name="gsize" c:type="gsize"/>
14480
<function name="script_get_scripts_for_uri"
14481
c:identifier="unity_webapps_script_get_scripts_for_uri"
14482
introspectable="0">
14484
<type name="GLib.List" c:type="GList*">
14485
<type name="gpointer" c:type="gpointer"/>
14489
<parameter name="uri" transfer-ownership="none">
14490
<type name="utf8" c:type="const gchar*"/>
14494
<function name="script_get_scripts_for_uri_json"
14495
c:identifier="unity_webapps_script_get_scripts_for_uri_json">
14496
<return-value transfer-ownership="full">
14497
<type name="utf8" c:type="gchar*"/>
14500
<parameter name="uri" transfer-ownership="none">
14501
<type name="utf8" c:type="const gchar*"/>
14505
<function name="script_repo_free_all"
14506
c:identifier="unity_webapps_script_repo_free_all">
14507
<return-value transfer-ownership="none">
14508
<type name="none" c:type="void"/>
14511
<parameter name="ppDescriptions" transfer-ownership="none">
14512
<type name="IntegrationScriptDescription"
14513
c:type="UnityWebappsIntegrationScriptDescription**"/>
14517
<function name="script_repo_get_descriptions"
14518
c:identifier="unity_webapps_script_repo_get_descriptions"
14519
introspectable="0">
14521
<type name="IntegrationScriptDescription"
14522
c:type="UnityWebappsIntegrationScriptDescription**"/>
14525
<function name="script_repo_get_path"
14526
c:identifier="unity_webapps_script_repo_get_path">
14527
<return-value transfer-ownership="none">
14528
<type name="gint" c:type="gint"/>
14531
<parameter name="path" transfer-ownership="none">
14532
<type name="utf8" c:type="gchar*"/>
14534
<parameter name="size" transfer-ownership="none">
14535
<type name="guint" c:type="guint"/>
14539
<function name="script_repo_get_script_count"
14540
c:identifier="unity_webapps_script_repo_get_script_count">
14541
<return-value transfer-ownership="none">
14542
<type name="guint" c:type="guint"/>