Package mglutil :: Package gui :: Package BasicWidgets :: Package Tk :: Package trees :: Module tree
[hide private]
[frames] | no frames]

Module tree

source code

Efficient TreeWidget based on Tkinter and Pmw

The speed comes from only drawing visibles parts of the tree.

Classes [hide private]
  IconsManager
The IconsManager object simplifies creating PhotoImage icons from images in the directory.
  KeySelectable
Adds the ability to use keystrokes to quickly select items in a list.
  Tree
Tree widget for Tk and Pmw
  Node
Base class for Nodes in a Tree
  ObjectTree
Each node in the tree has an object associated in the node's .object attribute.
  ObjectNode

Variables [hide private]
  syst = MolecularSystem('world')
  mols = Read('../dev23/1crn.pdb')
  root = Tk()
  rootnode = ObjectNode(syst, None)
  tree = ObjectTree(root, rootnode, selectionMode= 'multiple')

Variables Details [hide private]

syst

None
Value:
MolecularSystem('world')                                               
      

mols

None
Value:
Read('../dev23/1crn.pdb')                                              
      

root

None
Value:
Tk()                                                                   
      

rootnode

None
Value:
ObjectNode(syst, None)                                                 
      

tree

None
Value:
ObjectTree(root, rootnode, selectionMode= 'multiple')