[−][src]Trait fltk::prelude::WindowExt
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
fn set_cursor(&mut self, cursor: CursorStyle)
Sets the cursor style within the window
fn shown(&self) -> bool
Returns whether a window is shown
unsafe fn raw_handle(&self) -> *const c_void
Get the raw system handle of the window void pointer to: (Windows: HWND, X11: Xid, MacOS: NSWindow)