#: # text: 'Current Temperature: n/a' #: # allow_stretch: True #: #: : label_wid: "Temperature Monitor" current_temperature: current_temperature serial_chooser_button: serial_chooser_button on_dataSources: serial_chooser_dropdown.on_dataSources(self.dataSources) on_lastTemperature: current_temperature.on_temperature_change(self.lastTemperature) on_lastTemperature: mainplot.on_lastTemperature(self.lastTemperature) on_lastTime: mainplot.on_lastTime(self.lastTime) BoxLayout: id: 'top_menu' size_hint_y: 0.1 pos_hint: {'top':1} orientation: 'horizontal' MyLabel: id: current_temperature Button: text: 'Start/Stop' Label: text: 'No File Chosen' SerialPortButton: id: serial_chooser_button dropdown: serial_chooser_dropdown.__self__ on_release: serial_chooser_dropdown.open(self) SerialPortDropdown: id: serial_chooser_dropdown data: on_serial_port_changed: serial_chooser_button.serial_port_selected(self.data) on_serial_port_changed: root.serial_port_changed(self.data) PlotWidget: size_hint_y: 0.9 id: mainplot MainWindow: