Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
idlelib.PathBrowser.PathBrowser Class Reference
Inheritance diagram for idlelib.PathBrowser.PathBrowser:
Inheritance graph
[legend]
Collaboration diagram for idlelib.PathBrowser.PathBrowser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def settitle
def rootnode
def close
def init

Public Attributes

 name
 file
 flist
 top
 node

Detailed Description

Definition at line 8 of file PathBrowser.py.


Constructor & Destructor Documentation

def idlelib.PathBrowser.PathBrowser.__init__ (   self,
  flist 
)

Definition at line 10 of file PathBrowser.py.

00010 
00011     def __init__(self, flist):
00012         self.init(flist)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

def idlelib.ClassBrowser.ClassBrowser.close (   self,
  event = None 
) [inherited]

Definition at line 31 of file ClassBrowser.py.

00031 
00032     def close(self, event=None):
00033         self.top.destroy()
00034         self.node.destroy()

Here is the caller graph for this function:

def idlelib.ClassBrowser.ClassBrowser.init (   self,
  flist 
) [inherited]

Definition at line 35 of file ClassBrowser.py.

00035 
00036     def init(self, flist):
00037         self.flist = flist
00038         # reset pyclbr
00039         pyclbr._modules.clear()
00040         # create top
00041         self.top = top = ListedToplevel(flist.root)
00042         top.protocol("WM_DELETE_WINDOW", self.close)
00043         top.bind("<Escape>", self.close)
00044         self.settitle()
00045         top.focus_set()
00046         # create scrolled canvas
00047         theme = idleConf.GetOption('main','Theme','name')
00048         background = idleConf.GetHighlight(theme, 'normal')['background']
00049         sc = ScrolledCanvas(top, bg=background, highlightthickness=0, takefocus=1)
00050         sc.frame.pack(expand=1, fill="both")
00051         item = self.rootnode()
00052         self.node = node = TreeNode(sc.canvas, None, item)
00053         node.update()
00054         node.expand()

Here is the caller graph for this function:

Reimplemented from idlelib.ClassBrowser.ClassBrowser.

Definition at line 17 of file PathBrowser.py.

00017 
00018     def rootnode(self):
00019         return PathBrowserTreeItem()

Reimplemented from idlelib.ClassBrowser.ClassBrowser.

Definition at line 13 of file PathBrowser.py.

00013 
00014     def settitle(self):
00015         self.top.wm_title("Path Browser")
00016         self.top.wm_iconname("Path Browser")


Member Data Documentation

Definition at line 28 of file ClassBrowser.py.

Definition at line 36 of file ClassBrowser.py.

Definition at line 27 of file ClassBrowser.py.

Definition at line 51 of file ClassBrowser.py.

Definition at line 40 of file ClassBrowser.py.


The documentation for this class was generated from the following file: