Struct fltk::window::SingleWindow[][src]

pub struct SingleWindow { /* fields omitted */ }

Creates a single (buffered) window widget

Implementations

impl SingleWindow[src]

pub fn default() -> SingleWindow[src]

Creates a default initialized single window

pub unsafe fn find_by_handle(handle: RawHandle) -> Option<impl WindowExt>[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 here. 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 here. 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 SingleWindow[src]

impl Debug for SingleWindow[src]

impl Default for SingleWindow[src]

impl GroupExt for SingleWindow[src]

impl HasRawWindowHandle for SingleWindow[src]

impl IntoIterator for SingleWindow[src]

type Item = Box<dyn WidgetExt>

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

impl Send for SingleWindow[src]

impl Sync for SingleWindow[src]

impl WidgetBase for SingleWindow[src]

impl WidgetExt for SingleWindow[src]

impl WindowExt for SingleWindow[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.