module

Egui::SystemPorts::PickFolderDialog

Class methods

show(title : String = "Choose folder", directory : String | Nil = nil, &on_done : String | Nil -> ) : Nil

Start a non-blocking pick-a-DIRECTORY dialog. Returns immediately; on_done receives the chosen folder path, or nil on cancel / when no dialog tool is available, on a later frame. Same async contract as OpenFileDialog.show.

  • title — dialog window title.
  • directory — where the dialog starts.
Source