File browser: a filebrowser view + a popup file browser
Bases: pymt.ui.widgets.composed.popup.MTPopup
This Widget provides a filebrowser interface to access the files in your system. You can select multiple files at a time and process them together.
| Parameters : |
|
|---|---|
| Events : |
|
Bases: pymt.ui.widgets.composed.kineticlist.MTKineticList
A base view of filebrowser. Can be plugged in any widget.
| Parameters : |
|
|---|---|
| Events : |
|
Change current path
Get selected filenames
Update the content of view. You must call this function after any change of a property. (except path.)
Bases: pymt.ui.widgets.composed.kineticlist.MTKineticItem
Base view class for every file entry
Return image for current filename
Strip a text to number characters, without space/tab
Bases: pymt.ui.widgets.composed.filebrowser.MTFileEntryView
A list-view for file entries
Bases: pymt.ui.widgets.composed.filebrowser.MTFileEntryView
An icon-view for file entries
File ui_widgets_composed_filebrowser.py
from pymt import *
# create the filebrowser
fb = MTFileBrowser()
# when selection will be done, it will print the selected files
@fb.event
def on_select(list):
print list
runTouchApp(fb)