summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorNicolas Schodet2008-04-04 20:29:30 +0200
committerNicolas Schodet2008-04-04 20:29:30 +0200
commit030ad8305f5a623f26adb124e893de8134364a51 (patch)
tree6253d23eb3fc74aca72d36044f89a3470ee4b9b2 /host
parentaf59a3daa1335fa5e7d48be783f0225230fcd03e (diff)
* host/inter:
- added buttons for jack and color selection.
Diffstat (limited to 'host')
-rw-r--r--host/inter/inter.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/inter/inter.py b/host/inter/inter.py
index 60215b62..0f5ecdcb 100644
--- a/host/inter/inter.py
+++ b/host/inter/inter.py
@@ -228,6 +228,18 @@ class Inter (Frame):
self.actuatorview = ActuatorView (self.rightFrame)
self.actuatorview.pack (side = 'bottom', fill = 'x')
+ self.sensorFrame = Frame (self.rightFrame, borderwidth = 1, relief =
+ 'sunken')
+ self.sensorFrame.pack (side = 'bottom', fill = 'x')
+ self.jackVar = IntVar ()
+ self.jackButton = Checkbutton (self.sensorFrame, text = 'Jack',
+ indicatoron = False, variable = self.jackVar)
+ self.jackButton.pack (side = 'top')
+ self.colorVar = IntVar ()
+ self.colorButton = Checkbutton (self.sensorFrame, text = 'Color',
+ indicatoron = False, variable = self.colorVar)
+ self.colorButton.pack (side = 'top')
+
self.tableview = TableView (self)
self.tableview.pack (expand = True, fill = 'both')