summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/settings.py b/python/settings.py
index 8737e652..afa9983a 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -268,6 +268,9 @@ class Settings:
core.BNFreeStringList(result, length)
return out_list
+ def query_property_string(self, key: str, property_name: str) -> str:
+ return core.BNSettingsQueryPropertyString(self.handle, key, property_name)
+
def query_property_string_list(self, key: str, property_name: str) -> List[str]:
length = ctypes.c_ulonglong()
result = core.BNSettingsQueryPropertyStringList(self.handle, key, property_name, ctypes.byref(length))