Skip to main content

WindowExt

Trait WindowExt 

Source
pub trait WindowExt {
    // Required method
    fn move_window(&self, position: Position) -> Result<()>;
}
Expand description

A Window extension that provides extra methods related to positioning.

Required Methods§

Source

fn move_window(&self, position: Position) -> Result<()>

Moves the Window to the given Position

All (non-tray) positions are relative to the current screen.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<R: Runtime> WindowExt for WebviewWindow<R>

Source§

impl<R: Runtime> WindowExt for Window<R>

Implementors§