Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
A GDBusObjectSkeleton 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 [iface@Gio.DBusObjectManager].
DBusObjectSkeleton (object_path = null)
Creates a new #GDBusObjectSkeleton.
object_path is An object path..toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asDBusObject ()
Wraps this handle as
DBusObject.
A DBusObject object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnAuthorizemethod (callback Fn, UserData = null)
Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized. This signal is like #GDBusInterfaceSkeleton's #GDBusInterfaceSkeleton::g-authorize-method signal, except that it is for the enclosing object. The default class handler just returns %TRUE.
Fn is the Aussom callback.Fn is called with (DBusObjectSkeleton Self, DBusInterfaceSkeleton Interface, DBusMethodInvocation Invocation).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setGobjectpath (string Value)
The object path where the object is exported.
Value is the new property value.None.add_interface (object interface_)
Adds @interface_ to @object. If @object already contains a #GDBusInterfaceSkeleton with the same interface name, it is removed before @interface_ is added. Note that @object takes its own reference on
and holds it until removed.interface_ is A #GDBusInterfaceSkeleton..None.flush ()
This method simply calls g_dbus_interface_skeleton_flush() on all interfaces belonging to @object. See that method for when flushing is useful.
None.remove_interface (object interface_)
Removes @interface_ from @object.
interface_ is A #GDBusInterfaceSkeleton..None.remove_interface_by_name (string interface_name)
Removes the #GDBusInterface with @interface_name from @object. If no D-Bus interface of the given interface exists, this function does nothing.
interface_name is A D-Bus interface name..None.set_object_path (string object_path)
Sets the object path for @object.
object_path is A valid D-Bus object path..None.[258:7] extends: object
Generated low-level callback wrapper for GIR callback authorize-method.
DBusObjectSkeletonAuthorizemethodCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, interface, invocation, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[330:14] static extends: object
Generated metadata helpers for DBusObjectSkeleton class surfaces.
properties ()
Returns property metadata for
DBusObjectSkeleton.
A list.signals ()
Returns signal metadata for
DBusObjectSkeleton.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.