Struct libxdo::XDo [] [src]

pub struct XDo { /* fields omitted */ }

The main handle type which provides access to the various operations.

Methods

impl XDo
[src]

Creates a new XDo instance.

Parameters

display - An optional string display name, such as ":0". If None, uses $DISPLAY.

Returns

Returns a new XDo instance, or a CreationError on error.

Moves the mouse to the specified position.

Moves the mouse relative to the current position.

Does a mouse click.

Holds a mouse button down.

Releases a mouse button.

Types the specified text.

Does the specified key sequence.

Releases the specified key sequence.

Presses the specified key sequence down.

Trait Implementations

impl Drop for XDo
[src]

A method called when the value goes out of scope. Read more