gdk.seat
Module for [Seat] class
Types 3
classSeat : gobject.object.ObjectWrap
The #GdkSeat object represents a collection of input devices that belong to a user.
Methods
gdk.display.Display display() @property nothrowGet `display` property. Returns: #GdkDisplay of this seat.gdk.types.SeatCapabilities getCapabilities() nothrowReturns the capabilities this #GdkSeat currently has. Returns: the seat capabilitiesgdk.display.Display getDisplay() nothrowReturns the #GdkDisplay this seat belongs to. Returns: a #GdkDisplay. This object is owned by GTK+ and must not be freed.gdk.device.Device getKeyboard() nothrowReturns the master device that routes keyboard events. Returns: a master #GdkDevice with keyboard capabilities. This object is owned by GTK+ and must not be freed.gdk.device.Device getPointer() nothrowReturns the master device that routes pointer events. Returns: a master #GdkDevice with pointer capabilities. This object is owned by GTK+ and must not be freed.gdk.device.Device[] getSlaves(gdk.types.SeatCapabilities capabilities) nothrowReturns the slave devices that match the given capabilities.gdk.types.GrabStatus grab(gdk.window.Window window, gdk.types.SeatCapabilities capabilities, bool ownerEvents, gdk.cursor.Cursor cursor = null, gdk.event.Event event = null, gdk.types.SeatGrabPrepareFunc prepareFunc = null) nothrowGrabs the seat so that all events corresponding to the given capabilities are passed to this application until the seat is ungrabbed with [gdk.seat.Seat.ungrab], or the window becomes hidden. This ...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 = #GdkDisplay of this seat. Returns: Builder instance for fluent chainingFluent builder for gdk.seat.Seat