[][src]Struct fltk::window::Window

pub struct Window { /* fields omitted */ }

Creates a window widget

Implementations

impl Window[src]

pub unsafe fn find_by_handle(handle: RawHandle) -> Option<Window>[src]

Find an Fl_Window through a raw handle. The window must have been instatiated by the app void pointer to: (Windows: HWND, X11: Xid (u64), MacOS: NSWindow)

Safety

The data must be valid and is OS-dependent.

pub fn show_with_env_args(&mut self)[src]

Use FLTK specific arguments for the application: More info: https://www.fltk.org/doc-1.3/classFl.html#a1576b8c9ca3e900daaa5c36ca0e7ae48 The options are: -bg2 color -bg color -di[splay] host:n.n -dn[d] -fg color -g[eometry] WxH+X+Y -i[conic] -k[bd] -na[me] classname -nod[nd] -nok[bd] -not[ooltips] -s[cheme] scheme -ti[tle] windowtitle -to[oltips]

pub fn show_with_args(&mut self, args: &[&str])[src]

Use FLTK specific arguments for the application: More info: https://www.fltk.org/doc-1.3/classFl.html#a1576b8c9ca3e900daaa5c36ca0e7ae48 The options are: -bg2 color -bg color -di[splay] host:n.n -dn[d] -fg color -g[eometry] WxH+X+Y -i[conic] -k[bd] -na[me] classname -nod[nd] -nok[bd] -not[ooltips] -s[cheme] scheme -ti[tle] windowtitle -to[oltips]

Trait Implementations

impl Clone for Window[src]

impl Debug for Window[src]

impl GroupExt for Window[src]

impl Send for Window[src]

impl Sync for Window[src]

impl WidgetExt for Window[src]

impl WindowExt for Window[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.