1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
""" A view containing a yellow panel! """
from color_view import ColorView
class YellowView(ColorView):
""" A view containing a yellow panel! """
# 'IView' interface ----------------------------------------------------
# The view's name.
name = "Yellow"
# The default position of the view relative to the item specified in the
# 'relative_to' trait.
position = "with"
# The Id of the view to position this view relative to. If this is not
# specified (or if no view exists with this Id) then the view will be
# placed relative to the editor area.
relative_to = "Green"
|