Websites Navigation:
Airbit
|
Shop
|
m-shell.net
Languages:
EN
|
DE
Home
Downloads
Products
Make SIS
Documentation
Forum
Blog
Contact
Index
Module abfilegui
Class abfilegui.FileChooser
is
abguibase.Box
is
abguibase.Widget
A file browser widget allowing to choose one or multiple files.
Constructor
function init(path=cd(), multiple=false, patterns=[*])
Overrides
abguibase.Box.init()
Create a new file browser.
Parameters:
path
– the path to show initially.
multiple
– true to allow selection of multiple files.
patterns
– the patterns of files to show.
Fields
multiple
Whether multiple files can be selected.
path:
abgui.Label
The current path.
patterns
The list of file patterns shown.
table:
abgui.Table
The file table.
Functions
getSelected
()
Get the selected file(s).
setPath
(path)
Set the path of the contents being shown.
function setPath(path)
Set the path of the contents being shown.
Parameters:
path
– the path.
function getSelected()
Get the selected file(s).
Returns:
the currently selected files; empty if none are selected.
mShell Home
>
Documentation
> mdoc