def setup_status_bars(self): """ Constructs the AudioPanel and InfoPanel and adds them to the overlay. """ self.audio_panel = AudioPanel(self.screen) self.add_child_widget(self.audio_panel) self.info_panel = InfoPanel(self.screen) self.add_child_widget(self.info_panel)
def setup_status_bars(self): """ Constructs the AudioPanel and InfoPanel and adds them to the overlay. """ self.audio_panel = AudioPanel() self.add_child_widget(self.audio_panel) self.info_panel = InfoPanel() self.add_child_widget(self.info_panel) self.info_panel.update_visibility()
def setup_status_bars(self): """ Constructs the AudioPanel and InfoPanel and adds them to the overlay. """ self.audio_panel = AudioPanel(self.screen) self.add_child_widget(self.audio_panel) self.info_panel = InfoPanel(self.screen) self.add_child_widget(self.info_panel) trackers.con_tracker_get().connect(self.power_client, "power-state-changed", self.on_power_state_changed)