File: Locals.py

package info (click to toggle)
spe 0.8.2a%2Brepack-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,812 kB
  • ctags: 6,555
  • sloc: python: 45,491; makefile: 146; sh: 2
file content (24 lines) | stat: -rwxr-xr-x 683 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
####(c)www.stani.be-------------------------------------------------------------

import _spe.info
INFO=_spe.info.copy()

INFO['description']=\
"""Locals as tab."""

__doc__=INFO['doc']%INFO

####Panel class-----------------------------------------------------------------

import sm.wxp
import _spe.help
import sys

class Panel(sm.wxp.SmFilling):
    def __init__(self,panel,*args,**options):
        sm.wxp.SmFilling.__init__(self,parent=panel,
            rootObject=panel.shell.interp.locals, 
            rootLabel='locals()', 
            rootIsNamespace=1)
        self.tree.setStatusText=panel.SetStatusText
        self.SetHelpText(_spe.help.LOCALS)