def createWidgets (self): Inter.createWidgets (self) self.nowLabel = Label (self.rightFrame, text = 'Now: 0 s') self.nowLabel.pack () self.stepButton = Button (self.rightFrame, text = 'Step', command = self.step) self.stepButton.pack () self.stepSizeScale = Scale (self.rightFrame, orient = HORIZONTAL, from_ = 0.05, to = 1.0, resolution = 0.05) self.stepSizeScale.pack () self.playVar = IntVar () self.playButton = Checkbutton (self.rightFrame, variable = self.playVar, text = 'Play', command = self.play) self.playButton.pack () self.tableview.bind ('<2>', self.place_obstacle) self.showSensorsVar = IntVar () self.showSensorsButton = Checkbutton (self.sensorFrame, variable = self.showSensorsVar, text = 'Show sensors', command = self.show_sensors) self.showSensorsButton.pack ()