gio.dbus_interface_skeleton
Module for [DBusInterfaceSkeleton] class
Types 3
Abstract base class for D-Bus interfaces on the service side.
Methods
DBusInterfaceSkeleton self()Returns `this`, for use in `with` statements.DBusInterfaceSkeletonGidBuilder builder()Get builder for [gio.dbusinterfaceskeleton.DBusInterfaceSkeleton] Returns: New builder objectgio.types.DBusInterfaceSkeletonFlags gFlags() @propertyGet `gFlags` property. Returns: Flags from the #GDBusInterfaceSkeletonFlags enumeration.void gFlags(gio.types.DBusInterfaceSkeletonFlags propval) @propertySet `gFlags` property. Params: propval = Flags from the #GDBusInterfaceSkeletonFlags enumeration.bool export_(gio.dbus_connection.DBusConnection connection, string objectPath)Exports interface at objectpath on connection.void flush()If interface_ has outstanding changes, request for these changes to be emitted immediately.gio.dbus_connection.DBusConnection getConnection()Gets the first connection that interface is exported on, if any. Returns: A #GDBusConnection or null if interface is not exported anywhere. Do not free, the object belongs to interface_.gio.dbus_connection.DBusConnection[] getConnections()Gets a list of the connections that interface is exported on. Returns: A list of all the connections that interface is exported on. The returned list should be freed with [glib.list.List.free] afte...gio.types.DBusInterfaceSkeletonFlags getFlags()Gets the #GDBusInterfaceSkeletonFlags that describes what the behavior of interface_ Returns: One or more flags from the #GDBusInterfaceSkeletonFlags enumeration.gio.dbus_interface_info.DBusInterfaceInfo getInfo()Gets D-Bus introspection information for the D-Bus interface implemented by interface_. Returns: A #GDBusInterfaceInfo (never null). Do not free.string getObjectPath()Gets the object path that interface is exported on, if any. Returns: A string owned by interface or null if interface is not exported anywhere. Do not free, the string belongs to interface.glib.variant.Variant getProperties()Gets all D-Bus properties for interface_. Returns: A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with [glib.variant.Variant.unref].gio.types.DBusInterfaceVTable getVtable()Gets the interface vtable for the D-Bus interface implemented by interface. The returned function pointers should expect interface itself to be passed as user_data. Returns: the vtable of the D-Bus...bool hasConnection(gio.dbus_connection.DBusConnection connection)Checks if interface_ is exported on connection.void setFlags(gio.types.DBusInterfaceSkeletonFlags flags)Sets flags describing what the behavior of skeleton should be.void unexport()Stops exporting interface_ on all connections it is exported on.void unexportFromConnection(gio.dbus_connection.DBusConnection connection)Stops exporting interface_ on connection.gulong connectGAuthorizeMethod(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_method_invocation.DBusMethodInvocation)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gio.dbus_interface_skeleton.DBusInterfaceSkeleton)))
&& Parameters!T.length < 3)Connect to `GAuthorizeMethod` signal.classDBusInterfaceSkeletonGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.dbus_interface.DBusInterfaceGidBuilderImpl!T
Methods
T gFlags(gio.types.DBusInterfaceSkeletonFlags propval)Set `gFlags` property. Params: propval = Flags from the #GDBusInterfaceSkeletonFlags enumeration. Returns: Builder instance for fluent chainingclassDBusInterfaceSkeletonGidBuilder : DBusInterfaceSkeletonGidBuilderImpl!DBusInterfaceSkeletonGidBuilder
Fluent builder for [gio.dbus_interface_skeleton.DBusInterfaceSkeleton]
Methods