15 lines
330 B
Python
15 lines
330 B
Python
#
|
|
# Python GUI - Views - Generic
|
|
#
|
|
|
|
from GUI.Properties import overridable_property
|
|
from GUI.Geometry import add_pt, sub_pt, rect_sized
|
|
from GUI import DrawableContainer
|
|
|
|
class View(DrawableContainer):
|
|
"""A View is a 2D drawing area having its own coordinate
|
|
system and clipping area."""
|
|
|
|
_default_size = (100, 100)
|
|
|