Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: object
Represents a collection of input devices that belong to a user.
Seat (Handle = null)
Creates a new
Seatby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.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.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.setOnDeviceadded (callback Fn, UserData = null)
Emitted when a new input device is related to this seat.
Fn is the Aussom callback.Fn is called with (Seat Self, Device Device).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnDeviceremoved (callback Fn, UserData = null)
Emitted when an input device is removed (e.g. unplugged).
Fn is the Aussom callback.Fn is called with (Seat Self, Device Device).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnTooladded (callback Fn, UserData = null)
Emitted whenever a new tool is made known to the seat. The tool may later be assigned to a device (i.e. on proximity with a tablet). The device will emit the [signal@Gdk.Device::tool-changed] signal accordingly. A same tool may be used by several devices.
Fn is the Aussom callback.Fn is called with (Seat Self, DeviceTool Tool).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnToolremoved (callback Fn, UserData = null)
Emitted whenever a tool is no longer known to this @seat.
Fn is the Aussom callback.Fn is called with (Seat Self, DeviceTool Tool).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.get_capabilities ()
Returns the capabilities this
GdkSeatcurrently has.
get_devices (string capabilities)
Returns the devices that match the given capabilities.
capabilities is capabilities to get devices for.get_display ()
Returns the
GdkDisplaythis seat belongs to.
get_keyboard ()
Returns the device that routes keyboard events.
get_pointer ()
Returns the device that routes pointer events.
get_tools ()
Returns all
GdkDeviceToolsthat are known to the application.
devices ()
Returns
get_devicesas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_devices()when lazy or change-notify access is required.
An Aussom list of elements.tools ()
Returns
get_toolsas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_tools()when lazy or change-notify access is required.
An Aussom list of elements.[596:14] static extends: object
Generated metadata helpers for Seat class surfaces.
properties ()
Returns property metadata for
Seat.
A list.signals ()
Returns signal metadata for
Seat.
A list.[454:7] extends: object
Generated low-level callback wrapper for GIR callback tool-added.
SeatTooladdedCallback (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, tool, 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.
[312:7] extends: object
Generated low-level callback wrapper for GIR callback device-added.
SeatDeviceaddedCallback (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, device, 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.
[383:7] extends: object
Generated low-level callback wrapper for GIR callback device-removed.
SeatDeviceremovedCallback (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, device, 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.
[525:7] extends: object
Generated low-level callback wrapper for GIR callback tool-removed.
SeatToolremovedCallback (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, tool, 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.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.