gio.dbus_object_skeleton
Module for [DBusObjectSkeleton] class
Types 3
A gio.dbus_object_skeleton.DBusObjectSkeleton instance is essentially a group of D-Bus interfaces. The set of exported interfaces on the object may be dynamic and change at runtime.
This type is intended to be used with gio.dbus_object_manager.DBusObjectManager.
Methods
DBusObjectSkeletonGidBuilder builder() static nothrowGet builder for [gio.dbus_object_skeleton.DBusObjectSkeleton] Returns: New builder objectstring gObjectPath() @property nothrowGet `gObjectPath` property. Returns: The object path where the object is exported.void gObjectPath(string propval) @property nothrowSet `gObjectPath` property. Params: propval = The object path where the object is exported.void addInterface(gio.dbus_interface_skeleton.DBusInterfaceSkeleton interface_) nothrowAdds interface_ to object.void flush() nothrowThis method simply calls [gio.dbus_interface_skeleton.DBusInterfaceSkeleton.flush] on all interfaces belonging to object. See that method for when flushing is useful.void removeInterface(gio.dbus_interface_skeleton.DBusInterfaceSkeleton interface_) nothrowRemoves interface_ from object.void removeInterfaceByName(string interfaceName) nothrowRemoves the #GDBusInterface with interface_name from object.gulong connectAuthorizeMethod(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gio.dbus_interface_skeleton.DBusInterfaceSkeleton)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gio.dbus_method_invocation.DBusMethodInvocation)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gio.dbus_object_skeleton.DBusObjectSkeleton)))
&& Parameters!T.length < 4) nothrowConnect to `AuthorizeMethod` signal.classDBusObjectSkeletonGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.dbus_object.DBusObjectGidBuilderImpl!T
Fluent builder implementation template for gio.dbus_object_skeleton.DBusObjectSkeleton
Methods
T gObjectPath(string propval) nothrowSet `gObjectPath` property. Params: propval = The object path where the object is exported. Returns: Builder instance for fluent chainingFluent builder for gio.dbus_object_skeleton.DBusObjectSkeleton
Methods