Guide API
Skip to main content

CD_NO_LOAD_DIR

Constant CD_NO_LOAD_DIR 

Source
pub const CD_NO_LOAD_DIR: u16 = 0x0001;
Expand description

Suppress the initial directory-tree read when the dialog opens.

Pass this flag in opts to ChDirDialog::new when the dialog is constructed before its owner is visible, or when you want to populate the tree yourself before showing the dialog. Without it, reset_current populates the tree from the process current directory on first show.