tauri_plugin_positioner

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 positions are relative to the current screen.

Implementations on Foreign Types§

source§

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

source§

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

Implementors§