Tree data structure to be used with TreeNavigator widget.
Imported modules
|
|
import AnimatedFileIcon
import AnimatedFolder
import Canvas
import Pmw
import Tkinter
import math
import os
import string
import sys
|
Functions
|
|
create_from_directory
create_from_tuples
node_seq_to_filename
old_create_from_directory
|
|
create_from_directory
|
create_from_directory (
directory,
data=None,
parent=None,
directory_node_type=NavigableFileTree,
file_node_type=NavigableTree,
)
Given a root directory, create a NavigableTree reflecting the
contents of the filesystem.
|
|
create_from_tuples
|
create_from_tuples ( data, parent=None )
Given a nested set of tuples, create a NavigableTree.
|
|
node_seq_to_filename
|
node_seq_to_filename ( node_seq )
Given a sequence of NavigableTrees (as returned by NavigableTree.getpath()),
combine the node names into a filename.
|
|
old_create_from_directory
|
old_create_from_directory (
directory,
data=None,
parent=None,
directory_node_type=NavigableTree,
file_node_type=NavigableTree,
)
Given a root directory, create a NavigableTree reflecting the
contents of the filesystem.
|
Classes
|
|
|
|