class flexx.ui.FileBrowserWidget(*args, **kwargs)

Inherits from: PyWidget

A PyWidget to browse the file system. Experimental. This could be the basis for a file open/save dialog.

properties: path

methods: selected, set_path


StringProp – The currectly shown directory (settable). Defaults to the user directory.


emitter – Emitter that fires when the user selects a file. The emitted event has a “filename” attribute.


action – Set the current path. If an invalid directory is given, the path is not changed. The given path can be absolute, or relative to the current path.