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
DBusObjectSkeleton self()Returns `this`, for use in `with` statements.DBusObjectSkeletonGidBuilder builder()Get builder for [gio.dbusobjectskeleton.DBusObjectSkeleton] Returns: New builder objectstring gObjectPath() @propertyGet `gObjectPath` property. Returns: The object path where the object is exported.void gObjectPath(string propval) @propertySet `gObjectPath` property. Params: propval = The object path where the object is exported.void addInterface(gio.dbus_interface_skeleton.DBusInterfaceSkeleton interface_)Adds interface_ to object.void flush()This method simply calls [gio.dbusinterfaceskeleton.DBusInterfaceSkeleton.flush] on all interfaces belonging to object. See that method for when flushing is useful.void removeInterface(gio.dbus_interface_skeleton.DBusInterfaceSkeleton interface_)Removes interface_ from object.void removeInterfaceByName(string interfaceName)Removes the #GDBusInterface with interface_name from object.void setObjectPath(string objectPath)Sets the object path for 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)Connect to `AuthorizeMethod` signal.classDBusObjectSkeletonGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.dbus_object.DBusObjectGidBuilderImpl!T
Methods
T gObjectPath(string propval)Set `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