Expand description
Wayland region selection for Rust applications.
let selection = sip::select_region(sip::SelectOptions::default())?;
println!("{},{} {}x{}", selection.rect.x, selection.rect.y,
selection.rect.width, selection.rect.height);Structs§
Functions§
- select_
from_ boxes - Prompt for a selection with predefined choice boxes available.
- select_
region - Prompt for a free-form region selection.