Changeset 4010
- Timestamp:
- 05/30/07 12:12:13 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
experimental/components/image_display/trunk/image_display/image_display.py
r4008 r4010 161 161 162 162 163 self.StartBtn = wx.Button(id= -1, label= " Start", name= "StartBtn",164 parent= self, pos= wx.Point(1,1), size= wx.Size( 165, 50))163 self.StartBtn = wx.Button(id= -1, label= "Make Error", name= "StartBtn", 164 parent= self, pos= wx.Point(1,1), size= wx.Size(200, 50)) 165 165 self.StartBtn.Bind(wx.EVT_BUTTON, self.OnStartBtnButton, id = -1) 166 166 … … 200 200 201 201 202 202 class AppThread(threading.Thread): 203 def run(self): 204 app = App() 205 app.MainLoop() 206 207 208 class ORBThread(threading.Thread): 209 def run(self): 210 orb = ORB_Init(uuid, label) 211 212 203 213 #------------------------------------------------------------------- 204 214 # Code run when this file is executed … … 213 223 print "Identifier - " + uuid + " Label - " + label 214 224 215 # initialize the display 216 app = App() 217 app.MainLoop() 218 219 220 225 print "starting the App thread\n" 226 AppThread.start() 227 228 print "starting the ORB thread\n" 229 ORBThread.start() 230 231