set_mode


Description:

public bool set_mode (InputMode mode)

Sets a the mode of an input device.

The mode controls if the device is active and whether the device’s range is mapped to the entire screen or to a single window.

Note: This is only meaningful for floating devices, master devices (and slaves connected to these) drive the pointer cursor, which is not limited by the input mode.

Parameters:

this

a Device.

mode

the input mode.

Returns:

true if the mode was successfully changed.




2022 vala-language.org