``register_setting`` registers a new setting with this :class:`Settings` instance :param str key: a unique setting identifier in the form **' . '** :param str properties: a JSON string describes the setting schema :return: True on success, False on failure. :rtype: bool :Exa
(self, key: str, properties: str)
| 217 | return core.BNSettingsRegisterGroup(self.handle, group, title) |
| 218 | |
| 219 | def register_setting(self, key: str, properties: str) -> bool: |
| 220 | """ |
| 221 | ``register_setting`` registers a new setting with this :class:`Settings` instance |
| 222 | |
| 223 | :param str key: a unique setting identifier in the form **'<group>.<name>'** |
| 224 | :param str properties: a JSON string describes the setting schema |
| 225 | :return: True on success, False on failure. |
| 226 | :rtype: bool |
| 227 | :Example: |
| 228 | |
| 229 | >>> Settings().register_group("solver", "Solver") |
| 230 | True |
| 231 | >>> Settings().register_setting("solver.basicBlockSlicing", '{"description" : "Enable the basic block slicing in the solver.", "title" : "Basic Block Slicing", "default" : true, "type" : "boolean"}') |
| 232 | True |
| 233 | """ |
| 234 | return core.BNSettingsRegisterSetting(self.handle, key, properties) |
| 235 | |
| 236 | def contains(self, key: str) -> bool: |
| 237 | """ |
no outgoing calls
no test coverage detected