Window

Declaration

class enamlnative.widgets.window.Window(parent=None, **kwargs)[source]

Bases: enaml.widgets.toolkit_object.ToolkitObject

proxy

Reference to the proxy

statusbar_color

Statusbar color

keep_screen_on

Keep screen on

Android Implementation

class enamlnative.android.android_window.AndroidWindow[source]

Bases: enamlnative.android.android_toolkit_object.AndroidToolkitObject, enamlnative.widgets.window.ProxyWindow

create_widget()[source]

Create the toolkit widget for the proxy object.

This method is called during the top-down pass, just before the ‘init_widget()’ method is called. This method should create the toolkit widget and assign it to the ‘widget’ attribute.

set_keep_screen_on(keep_on: bool)[source]

Set or clear the window flag to keep the screen on

set_statusbar_color(color: str)[source]

Set the color of the system statusbar.

No iOS implementation found.