FSelect

FSelect displays a text-entry window in which you can type a filename (or directory), and above that two windows with directory names and filenames (description taken from man dialog, the --fselect section). Mixins: Uses mixin-template $(DIALOG_REF2 FileSystemBox)!"fselect".

Members

Mixins

__anonymous
mixin FileSystemBox!"fselect"

FS functions.

Mixed In Members

From mixin FileSystemBox!"fselect"

__anonymous
mixin FileBox!(boxName, 10, 60)
Undocumented in source.
getPath
string getPath()

Gets a user-selected file path. Note: call after run() only.

Inherited Members

From Dialog

setBackTitle
void setBackTitle(string btitle)

Sets the background title for dialog widgets.

getBackTitle
string getBackTitle()

Returns current background title.

baseCmd
auto baseCmd;
Undocumented in source.
callbacks
fn_t[Action] callbacks;
Undocumented in source.
title
string title;
Undocumented in source.
dialogType
string dialogType;
Undocumented in source.
text
string text;
Undocumented in source.
height
uint height;
width
uint width;
Undocumented in source.
setButtonHandler
void setButtonHandler(Action act, fn_t fn)

It is possible to assign callbacks to events such as pressing OK (or YES), NO (or CANCEL), ESC. ESC is always available.

setText
void setText(string text)

Changes a box text.

prepareCmd
string[] prepareCmd()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()

Execution launch.

entry
string entry;
Undocumented in source.

Meta