Add a settable parameter to ``self.settables``. :param settable: Settable object being added
(self, settable: Settable)
| 1272 | return all_settables |
| 1273 | |
| 1274 | def add_settable(self, settable: Settable) -> None: |
| 1275 | """Add a settable parameter to ``self.settables``. |
| 1276 | |
| 1277 | :param settable: Settable object being added |
| 1278 | """ |
| 1279 | if not self.always_prefix_settables and settable.name in self.settables and settable.name not in self._settables: |
| 1280 | raise KeyError(f"Duplicate settable: {settable.name}") |
| 1281 | self._settables[settable.name] = settable |
| 1282 | |
| 1283 | def remove_settable(self, name: str) -> None: |
| 1284 | """Remove a settable parameter from ``self.settables``. |
no outgoing calls