[][src]Trait fltk::prelude::WindowExt

pub trait WindowExt: GroupExt {
    fn center_screen(self) -> Self;
fn make_modal(&mut self, val: bool);
fn fullscreen(&mut self, val: bool);
fn make_current(&mut self);
fn set_icon<Image: ImageExt>(&mut self, image: &Image);
fn icon(&self) -> Option<Image>;
fn make_resizable(&mut self, val: bool); }

Defines the methods implemented by all window widgets

Required methods

fn center_screen(self) -> Self

Positions the window to the center of the screen

fn make_modal(&mut self, val: bool)

Makes a window modal

fn fullscreen(&mut self, val: bool)

Makes a window fullscreen

fn make_current(&mut self)

Makes the window current

fn set_icon<Image: ImageExt>(&mut self, image: &Image)

Sets the windows icon

fn icon(&self) -> Option<Image>

Returns the icon of the window

fn make_resizable(&mut self, val: bool)

Make the window resizable

Loading content...

Implementors

impl WindowExt for DoubleWindow[src]

impl WindowExt for MenuWindow[src]

impl WindowExt for Window[src]

Loading content...