TextureView

Declaration

class enamlnative.widgets.texture_view.TextureView(parent=None, **kwargs)[source]

Bases: enamlnative.widgets.view.View

A TextureView can be used to display a content stream. Such a content stream can for instance be a video or an OpenGL scene. The content stream can come from the application’s process as well as a remote process.

proxy

A reference to the ProxyViewGroup object.

Android Implementation

class enamlnative.android.android_texture_view.AndroidTextureView[source]

Bases: enamlnative.android.android_view.AndroidView, enamlnative.widgets.view.ProxyView

An Android implementation of an Enaml ProxyTextureView

widget

A reference to the widget created by the proxy.

texture

A reference to the texture

width

Texture size

default_layout

Default layout params

create_widget()[source]

Create the underlying widget.

init_widget()[source]

Initialize the underlying widget.

init_layout()[source]

Add all child widgets to the view

No iOS implementation found.