Skip to main content

Crate sip

Crate sip 

Source
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§

ChoiceBox
Color
ParseColorError
Rect
SelectOptions
Selection

Functions§

select_from_boxes
Prompt for a selection with predefined choice boxes available.
select_region
Prompt for a free-form region selection.

Type Aliases§

Error