Function tetra::window::set_position[][src]

pub fn set_position<X, Y>(ctx: &mut Context, x: X, y: Y) where
    X: Into<WindowPosition>,
    Y: Into<WindowPosition>, 
Expand description

Sets the position of the window.

You can either pass the co-ordinates to this function as i32s, or use the WindowPosition enum for more fine-grained control over where the window ends up.