Struct jwilm_xdo::Window
[−]
[src]
pub struct Window<'a> { /* fields omitted */ }
Methods
impl<'a> Window<'a>
[src]
fn get_name(&self) -> Result<String>
[src]
fn get_id(&self) -> usize
[src]
Get the Window ID as a usize
fn send_keysequence(
&self,
sequence: &str,
delay: Option<Duration>
) -> Result<()>
[src]
&self,
sequence: &str,
delay: Option<Duration>
) -> Result<()>
Send a keysequence to the specified window
The delay is convereted to microseconds internally before forwarding to libxdo. If the delay in useconds exceeds useconds_t capacity, it will be truncated.