EZ_SetDirTreeOpenDirectoryMode(3EZWGL FunctioEZ_SetDirTreeOpenDirectoryMode(3)NAMEEZ_SetDirTreeOpenDirectoryMode - select a mode for open subdirectories
on dir trees
SYNOPSIS
#include <EZ.h>
void EZ_SetDirTreeOpenDirectoryMode( int mode)
ARGUMENTS
mode Specifies a mode. Must be one of EZ_DIR_NODE_OPEN_DIRECTORY_NONE,
EZ_DIR_NODE_OPEN_DIRECTORY_DEFAULT and EZ_DIR_NODE_OPEN_DIRECTORY_COL‐
LAPSING.
DESCRIPTIONEZ_SetDirTreeOpenDirectoryMode dictates the way subdirectories are
treated when open a directory on a dir tree. If mode is
EZ_DIR_NODE_OPEN_DIRECTORY_NONE, subdirectories are ignored, i.e.,
nodes are created only for regular files. If mode is
EZ_DIR_NODE_OPEN_DIRECTORY_DEFAULT, subdirectories are treated the same
as regular files. If mode is EZ_DIR_NODE_OPEN_DIRECTORY_COLLAPSING,
then subdirecties are treated the same as regular files. In this case,
the siblings of the the directory to be opend will all be destroied.
SEE ALSOEZ_GetDirTreeNodeFullPath(3), EZ_SetDirTreeDirectoryNodeCreator(3),
EZ_SetDirTreeFileNodeCreator(3)EZWGLEZ_SetDirTreeOpenDirectoryMode(3)