Configurator
Public Member Functions | Public Attributes | List of all members
TreeWidget.TreeNode Class Reference

One node of the TreeNode tree. More...

Public Member Functions

def __init__
 
def show
 
def node_find
 
def parent_index_find
 
def child_append
 
def item_delete
 
def item_insert
 
def destroy
 
def geticonimage
 
def select
 
def deselect
 
def deselectall
 
def deselecttree
 
def flip
 
def expand
 
def collapse
 
def view
 
def lastvisiblechild
 
def update
 
def draw
 
def drawicon
 
def drawtext
 
def select_or_edit
 
def edit
 
def edit_finish
 
def edit_cancel
 

Public Attributes

 canvas
 
 parent
 
 item
 
 state
 
 selected
 
 x
 
 y
 
 iconimages
 
 image_id
 
 label
 
 text_id
 
 entry
 

Detailed Description

One node of the TreeNode tree.

TreeNode corresponds to nodes in the tree that have been visited by the tree node widget.

Member Data Documentation

TreeWidget.TreeNode.children self.children
static
TreeNode: Recursively print out *self* indented by *level*. 
TreeNode: Delete *TreeItem* from *index*'th slot of *self*. 
tuple TreeWidget.TreeNode.new_node self.__class__(self.canvas, self, new_item)
static
TreeNode: Append *new_item* to the children of *self*. 
TreeNode: Insert *item* into the children of *self* at *index*. 
TreeWidget.TreeNode.result None
static
TreeNode: Recursively search for the *TreeNode* associated
with *item*.  *None* is returned if not nothing is found. 
TreeWidget.TreeNode.result_node None
static
TreeNode: Recursively search for the parent *TreeNode*
object of *item* and return both its associated *TreeNode*
object and the index of its children list for *item*.
(*None*, -1) is returned if nothing is found. 

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