Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

Enum Gio.BusType

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GBusType
Enum : BusType
An enumeration for well-known message buses.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio
Method
Gio.bus_get (BusType bus_type, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously connects to the message bus specified by bus_type.
Gio
Method
Gio.bus_get_sync (BusType bus_type, Cancellable cancellable) : Gio.DBusConnection
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
Gio.dbus_address_get_for_bus_sync (BusType bus_type, Cancellable cancellable) : String
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:32 GMT+0800 (HKT)