diff options
Diffstat (limited to 'loader.py')
| -rwxr-xr-x | loader.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/loader.py b/loader.py new file mode 100755 index 0000000..6a43a84 --- /dev/null +++ b/loader.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + +from dialog import Dialog + +d = Dialog(dialog="dialog") +d.set_background_title("Select file to load.....") +code, selection = d.fselect('/mnt/images/',10,70) +if code == d.OK : + d.set_background_title("loading:" +selection) + d.pause("Something should happen here",15,70,15) + |
