File: yellow_view.py

package info (click to toggle)
python-pyface 8.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,944 kB
  • sloc: python: 54,107; makefile: 82
file content (22 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
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"