Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GBusType |
Enum : | BusType |
Properties | |
---|---|
gint32 Gio.BusType.NONE : 0
|
|
gint32 Gio.BusType.SESSION : 2
|
|
gint32 Gio.BusType.STARTER : -1
|
|
gint32 Gio.BusType.SYSTEM : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio
Method |
Asynchronously connects to the message bus specified by bus_type.
|
Gio
Method |
Synchronously connects to the message bus specified by bus_type.
|
Gio
Method |
Gio.bus_own_name
(BusType bus_type, String name, BusNameOwnerFlags flags, Closure bus_acquired_closure, Closure name_acquired_closure, Closure name_lost_closure)
:
guint32
Starts acquiring name on the bus specified by bus_type and calls
acquired respectively lost. |
Gio
Method |
Gio.bus_watch_name
(BusType bus_type, String name, BusNameWatcherFlags flags, Closure name_appeared_closure, Closure name_vanished_closure)
:
guint32
Starts watching name on the bus specified by bus_type and calls
known to have a owner respectively known to lose its owner. |
Gio
Method |
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by bus_type. |
Gio.DBusProxy
Property |
g_bus_type : Gio.BusType
If this property is not G_BUS_TYPE_NONE, then
GDBusProxy:g-connection must be NULL and will be set to the GDBusConnection obtained by calling g_bus_get() with the value of this property. |
Gio.DBusProxy
Method |
new Gio.DBusProxy.for_bus_sync
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable)
:
Gio.DBusProxy
Create a new Gio.DBusProxy
|
Gio.DBusProxy
Method |
Gio.DBusProxy.new_for_bus
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data)
:
none
Like g_dbus_proxy_new() but takes a GBusType instead of a GDBusConnection.
|