gdk.seat
Module for [Seat] class
Types 3
classSeat : gobject.object.ObjectWrap
The gdk.seat.Seat object represents a collection of input devices that belong to a user.
Methods
gdk.display.Display display() @property nothrowGet `display` property. Returns: [gdk.display.Display] of this seat.gdk.types.SeatCapabilities getCapabilities() nothrowReturns the capabilities this [gdk.seat.Seat] currently has. Returns: the seat capabilitiesgdk.device.Device[] getDevices(gdk.types.SeatCapabilities capabilities) nothrowReturns the devices that match the given capabilities.gdk.display.Display getDisplay() nothrowReturns the [gdk.display.Display] this seat belongs to. Returns: a [gdk.display.Display]. This object is owned by GTK and must not be freed.gdk.device.Device getKeyboard() nothrowReturns the device that routes keyboard events. Returns: a [gdk.device.Device] with keyboard capabilities. This object is owned by GTK and must not be freed.gdk.device.Device getPointer() nothrowReturns the device that routes pointer events. Returns: a [gdk.device.Device] with pointer capabilities. This object is owned by GTK and must not be freed.gdk.device_tool.DeviceTool[] getTools() nothrowReturns all `GdkDeviceTools` that are known to the application. Returns: A list of tools. Free with [glib.list.List.free].gulong connectDeviceAdded(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gdk.device.Device)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.seat.Seat)))
&& Parameters!T.length < 3) nothrowConnect to `DeviceAdded` signal.gulong connectDeviceRemoved(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gdk.device.Device)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.seat.Seat)))
&& Parameters!T.length < 3) nothrowConnect to `DeviceRemoved` signal.gulong connectToolAdded(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gdk.device_tool.DeviceTool)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.seat.Seat)))
&& Parameters!T.length < 3) nothrowConnect to `ToolAdded` signal.gulong connectToolRemoved(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gdk.device_tool.DeviceTool)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gdk.seat.Seat)))
&& Parameters!T.length < 3) nothrowConnect to `ToolRemoved` signal.Fluent builder implementation template for gdk.seat.Seat
Methods
T display(gdk.display.Display propval) nothrowSet `display` property. Params: propval = [gdk.display.Display] of this seat. Returns: Builder instance for fluent chainingFluent builder for gdk.seat.Seat