Struct fltk::window::AndroidWindow[][src]

pub struct AndroidWindow { /* fields omitted */ }
Expand description

An Android window

Implementations

Creates a default initialized Android Window

Methods from Deref<Target = Window>

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]

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]

Forces the window to be drawn, this window is also made current and calls draw()

Returns the pixels per unit. Assumes a factor of 2.0 (Retina) (Retina) on MacOS since [NSWindow backingScaleFactor] requires an info.plist with NSHighResolutionCapable set to true. If this is not desired, you need to bundle your app and set to false.

Gets the window’s width in pixels

Gets the window’s height in pixels

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.