def _update_switcher(self):
for button in self._switcher.get_children():
if not isinstance(button, Gtk.RadioButton): continue
for label in button.get_children():
if not isinstance(label, Gtk.Label): continue
processor = self._get_for_title(label.get_text())
if not processor: continue
button.set_sensitive(processor.get_sensitive())
评论列表
文章目录