``keys`` retrieve the list of setting identifiers in the active settings schema :return: list of setting identifiers :rtype: list(str)
(self)
| 253 | return core.BNSettingsIsEmpty(self.handle) |
| 254 | |
| 255 | def keys(self) -> List[str]: |
| 256 | """ |
| 257 | ``keys`` retrieve the list of setting identifiers in the active settings schema |
| 258 | |
| 259 | :return: list of setting identifiers |
| 260 | :rtype: list(str) |
| 261 | """ |
| 262 | length = ctypes.c_ulonglong() |
| 263 | result = core.BNSettingsKeysList(self.handle, ctypes.byref(length)) |
| 264 | assert result is not None, "core.BNSettingsKeysList returned None" |
| 265 | out_list = [] |
| 266 | for i in range(length.value): |
| 267 | out_list.append(result[i].decode('utf8')) |
| 268 | core.BNFreeStringList(result, length) |
| 269 | return out_list |
| 270 | |
| 271 | def query_property_string(self, key: str, property_name: str) -> str: |
| 272 | return core.BNSettingsQueryPropertyString(self.handle, key, property_name) |
no test coverage detected