aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@ddavis3-PC.ngi-dev>2014-12-10 23:57:29 +0000
committerroot <root@ddavis3-PC.ngi-dev>2014-12-10 23:57:29 +0000
commit05393a0051c3589385978c513a16650a0ceab02d (patch)
treea2a96dd0f06a06faff483221e326f78173e9c328
parenta2967aef100b142292e5d40d0d3f58485cd9f844 (diff)
stubb in loader
-rwxr-xr-xloader.py11
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)
+