class ImGui::FileExplorer
- ImGui::FileExplorer
- Reference
- Object
Defined in:
crab/common/frontend/widgets/file_explorer.crConstructors
Instance Method Summary
- #close : Nil
- #open? : Bool
-
#render(name : String, open_popup : Bool, extensions : Array(String) | Nil = nil, &handler : Path -> _) : Nil
Render a file selection dialog with title [name].
Constructor Detail
Instance Method Detail
def render(name : String, open_popup : Bool, extensions : Array(String) | Nil = nil, &handler : Path -> _) : Nil
#
Render a file selection dialog with title [name]. Files are filtered by [estensions]. [handler] is executed and the dialog is closed when a file is selected.