File: yellow_view.py

package info (click to toggle)
python-pyface 4.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,512 kB
  • ctags: 6,310
  • sloc: python: 30,944; makefile: 82; sh: 5
file content (25 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
""" A view containing a yellow panel! """


# Local imports.
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'

#### EOF ######################################################################