Struct fltk::window::AndroidWindow [−][src]
pub struct AndroidWindow { /* fields omitted */ }Expand description
An Android window
Implementations
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()
Set the window’s opacity, Ranges from 0.0 to 1.0, where 1.0 is fully opaque and 0.0 is fully transparent. This should be called on a shown window. On X11, opacity support depends on the window manager and can be queried:
ⓘ
$ xprop -root _NET_SUPPORTED | grep -o _NET_WM_WINDOW_OPACITY
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AndroidWindowimpl Send for AndroidWindowimpl Sync for AndroidWindowimpl Unpin for AndroidWindowimpl UnwindSafe for AndroidWindow