EZwgl provides a user convenience routine which allows programmers to create a directory tree with a single function call.
typedef void *(*EZ_DirTreeNodeCreator) (char *path, void *data);
EZ_TreeNode *EZ_CreateDirTree(EZ_DirTreeNodeCreator nctr,
char *patterns, void *client_data, int open_mode)
This function does a globbing on each pattern in patterns
and creates a minimal list tree for the matching files.
void EZ_UpdateDirTreeWidget(EZ_Widget *ltree)
If a directory tree is currently displayed in ltree
,
this function automatically updates the directory tree. I.e.,
creates nodes for newly created files and deletes nodes for
which the correspond files has been deleted.