File: //proc/2/cwd/proc/2/cwd/usr/lib/python2.4/idlelib/ClassBrowser.pyc
mò
‚=5Dc @ s× d Z d k Z d k Z d k Z d k Z d k l Z d k l Z l Z l
Z
d k l Z d f d „ ƒ YZ
d e f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ d
„ Z e d j o e ƒ n d S( s„ Class browser.
XXX TO DO:
- reparse when source changed (maybe just a button would be OK?)
(or recheck on window popup)
- add popup menu with more options (e.g. doc strings, base classes, imports)
- show function argument list? (have to do pattern matching on source)
- should the classes and methods lists also be in the module's menu bar?
- add base classes to class browser tree
N( s ListedToplevel( s TreeNodes TreeItems ScrolledCanvas( s idleConft ClassBrowserc B s8 t Z d „ Z d d „ Z d „ Z d „ Z d „ Z RS( Nc C s= | | _ t i i | d | i d ƒ | _ | i | ƒ d S( Ni s .py( t namet selft ost patht joint filet initt flist( R R R R ( ( t* /usr/lib/python2.4/idlelib/ClassBrowser.pyt __init__ s #c C s | i i ƒ | i i ƒ d S( N( R t topt destroyt node( R t event( ( R t close s
c C s | | _ t i i ƒ t | i ƒ | _ } | i d | i ƒ | i
d | i ƒ | i ƒ | i ƒ t
i d d d ƒ } t
i | d ƒ d } t | d | d d
d d ƒ} | i i d
d d d ƒ | i ƒ } t | i d | ƒ | _ } | i ƒ | i ƒ d S( Nt WM_DELETE_WINDOWs <Escape>t maint ThemeR t normalt
backgroundt bgt highlightthicknessi t takefocusi t expandt fillt both( R R t pyclbrt _modulest cleart ListedToplevelt rootR t protocolR t bindt settitlet focus_sett idleConft GetOptiont themet GetHighlightR t ScrolledCanvast sct framet packt rootnodet itemt TreeNodet canvast NoneR
t updateR ( R R R
R- R&