Seat.connectDeviceAdded

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)

Connect to DeviceAdded signal.

Emitted when a new input device is related to this seat.

Parameters

callbacksignal callback delegate or function to connect void callback(gdk.device.Device device, gdk.seat.Seat seat) device the newly added gdk.device.Device. (optional) seat the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID