Show/hide modified indicator on the label.
(self, modified: bool)
| 320 | return self._key |
| 321 | |
| 322 | def set_modified_indicator(self, modified: bool) -> None: |
| 323 | """Show/hide modified indicator on the label.""" |
| 324 | base_label = self._label.cget("text").replace(" *", "") |
| 325 | if modified: |
| 326 | self._label.configure(text=f"{base_label} *", text_color=COLORS["warning"]) |
| 327 | else: |
| 328 | self._label.configure(text=base_label, text_color=COLORS["text_primary"]) |
| 329 | |
| 330 | |
| 331 | class CTkEnvSettingsPanel(ctk.CTkScrollableFrame): |
no outgoing calls
no test coverage detected