SurfaceView¶
Declaration¶
- class enamlnative.widgets.surface_view.SurfaceView(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.view.View
SurfaceView provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface and, if you like, its size; the SurfaceView takes care of placing the surface at the correct location on the screen
- secure¶
Control whether the surface view’s content should be treated as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.
- proxy¶
A reference to the ProxyViewGroup object.
Android Implementation¶
- class enamlnative.android.android_surface_view.AndroidSurfaceView[source]¶
Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.surface_view.ProxySurfaceView
An Android implementation of an Enaml ProxySurfaceView
- widget¶
A reference to the widget created by the proxy.
- default_layout¶
Default layout params
No iOS implementation found.