Mouse
Object Hierarchy:
Description:
[
CCode ( type_id =
"mks_mouse_get_type ()" ) ]
public sealed class Mouse :
Device
A virtualized QEMU mouse.
Content:
Properties:
Creation methods:
Methods:
- public bool get_is_absolute ()
Whether the mouse is using absolute movements.
- public async bool move_by (int delta_x, int delta_y, Cancellable? cancellable) throws Error
Moves the mouse by delta_x and delta_y.
- public bool move_by_sync (int delta_x, int delta_y, Cancellable? cancellable = null) throws Error
Synchronously moves the mouse by delta_x and delta_y.
- public async bool move_to (uint x, uint y, Cancellable? cancellable) throws Error
Moves to the absolute position at coordinates (x,y).
- public bool move_to_sync (uint x, uint y, Cancellable? cancellable = null) throws Error
Synchronously moves to the absolute position at coordinates (x,y).
- public async bool press (MouseButton button, Cancellable? cancellable) throws Error
Presses a mouse button.
- public bool press_sync (MouseButton button, Cancellable? cancellable = null) throws Error
Synchronously press a mouse button.
- public async bool release (MouseButton button, Cancellable? cancellable) throws Error
Releases a mouse button.
- public bool release_sync (MouseButton button, Cancellable? cancellable = null) throws Error
Synchronously releases a mouse button.
Inherited Members:
All known members inherited from class Mks.Device
All known members inherited from class GLib.Object