GluiFilePicker

A file picker node.

Note, this node is hidden by default, use show to show. Styles:

  • selectedStyle = Style for the currently selected suggestion.

Constructors

this
this(Theme theme, string name, void delegate() @(trusted) submitted, void delegate() @(trusted) cancelled)
Undocumented in source.
this
this(string name, void delegate() @(trusted) submitted, void delegate() @(trusted) cancelled)
Undocumented in source.

Members

Functions

cancel
void cancel()

Cancel picking files, triggering cancelled event.

drawImpl
void drawImpl(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
focus
void focus()
Undocumented in source. Be warned that the author may not have intended to support it.
isFocused
bool isFocused()
Undocumented in source. Be warned that the author may not have intended to support it.
keyboardImpl
bool keyboardImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseImpl
void mouseImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImpl
void resizeImpl(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
text
inout(string) text()
Undocumented in source. Be warned that the author may not have intended to support it.
updateSuggestions
void updateSuggestions()

Refresh the suggestion list.

value
inout(string) value()
Undocumented in source. Be warned that the author may not have intended to support it.
value
string value(string newValue)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DefineStyles!("selectedStyle", q{ Style.init })
Undocumented in source.

Variables

cancelled
void delegate() cancelled;

Callback to run when input was cancelled.

suggestionLimit
size_t suggestionLimit;

Max amount of suggestions that can be provided.

Meta