public class OpenFolderLightBox extends FileDialogLightBox:
Modal lightbox that selects one existing folder.
chooser = OpenFolderLightBox("Select workspace")
chooser.accepted += lambda(event: ActionEvent): print(chooser.selectedFolder)
window.centralWidget.add(chooser)
chooser.open()| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | selectedFolderselectedFolder as FolderPath: |
Folder selected by the last accepted interaction, or null. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | OpenFolderLightBoxOpenFolderLightBox(title as String = "Select folder"): |
Creates an inactive folder-selection lightbox. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | openopen() as Void: |
Opens the lightbox over its containing window. |