MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / set_sensitive

Method set_sensitive

bleachbit/GuiWindow.py:619–624  ·  view source on GitHub ↗

Disable commands while an operation is running

(self, is_sensitive)

Source from the content-addressed store, hash-verified

617 return None
618
619 def set_sensitive(self, is_sensitive):
620 """Disable commands while an operation is running"""
621 self.view.set_sensitive(is_sensitive)
622 self.preview_button.set_sensitive(is_sensitive)
623 self.run_button.set_sensitive(is_sensitive)
624 self.stop_button.set_sensitive(not is_sensitive)
625
626 def run_operations(self, __widget):
627 """Event when the 'delete' toolbar button is clicked."""

Callers 15

worker_doneMethod · 0.95
update_button_stateMethod · 0.95
_make_dialogMethod · 0.80
_finish_downloadMethod · 0.80
download_models_guiMethod · 0.80
_on_progressMethod · 0.80
warning_confirm_dialogFunction · 0.80
create_headerbarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected