Table of Contents

Class: TreeExplorer PmwContribD-r2_0_1/TreeExplorer.py

A Pmw style widget for exploring the contents of a tree data structure.

Base Classes   
Pmw.LabeledWidget
Methods   
__init__
createInterior
enter_node
interior
leave_node
select_node
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

Create a TreeExplorer widget.

Create a new instance with specified parent widget and the treedata to be displayed.

Options

ipadx

Internal X padding.

ipady

Internal Y padding.

indent=20

How much to indent each child node of the tree.

activebackground

Color to use when displaying a node as active.

height

Height of the widget.

  createInterior 
createInterior ( self )

Create widgets in our interior.

  enter_node 
enter_node ( self,  node )

Called when the mouse enters the node area.

  interior 
interior ( self )

  leave_node 
leave_node ( self,  node )

Called when the mouse leaves the node area.

  select_node 
select_node ( self,  node )

Called when a node is selected by clicking on the text.


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0