INNER CODE UNIT · Rust
set_visible
versotile-org/verso · verso/src/lib.rs:295
pub fn set_visible(&self, visible: bool) -> Result<(), Box<ipc_channel::ErrorKind>> {
self.sender.send(ToVersoMessage::SetVisible(visible))?;
Ok(())
}
/// Moves the window with the left mouse button until the button is released
pub fn start_dragging(&self) -> Result<(), Box<ipc_channel::ErrorKind>> {
self.sender.send(ToVersoMessage::StartDragging)?;
Ok(())
}
/// Bring the window to the front, and capture input focus
pub fn focus(&self) -> Result<(), Box<ipc_channel::ErrorKind>> {
self.sender.send(ToVersoMessage::Focus)?;
Ok(())
}
/// Get the window's size