native-ui/native_ui/abstract/window.py

12 lines
290 B
Python
Raw Normal View History

2022-07-30 21:03:15 +00:00
from . import Abstract, abstract_property
class Window(Abstract):
def __init__(self, child: Abstract = None, platform: str = None):
super().__init__(platform=platform)
self._child = child
@abstract_property
def child(self, value):
self._child = value