summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-03-21 11:54:05 -0400
committerBrian Potchik <brian@vector35.com>2024-03-21 11:54:05 -0400
commit2ded29f1b32842611b7e7751d14ab5533cc7cb19 (patch)
tree87bdb3cf152271280240ec79f0f4e72b9674319f
parentb0252988314ab24015a932782c08494ec2552fac (diff)
Add uiSelectionControl documentation (skip-ci).
-rw-r--r--binaryninjaapi.h2
-rw-r--r--python/settings.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 042a4df9..14f38395 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -15602,6 +15602,8 @@ namespace BinaryNinja {
"optional" bool None Yes Indicates setting can be null
"hidden" bool "type" is "string" Yes Indicates the UI should conceal the content
"requiresRestart bool None Yes Enable restart notification in the UI upon change
+ "uiSelectionAction" string "type" is "string" Yes {"file", "directory", <Registered UIAction Name>} Informs the UI to add
+ a button to open a selection dialog or run a registered UIAction
================== ====================================== ================== ======== =======================================================================
\note In order to facilitate deterministic analysis results, settings from the <em><tt>default</tt></em> schema that impact analysis are serialized
diff --git a/python/settings.py b/python/settings.py
index 486d3d2f..776ed07b 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -79,6 +79,8 @@ class Settings:
"optional" boolean None Yes Indicates setting can be null
"hidden" bool "type" is "string" Yes Indicates the UI should conceal the content
"requiresRestart boolean None Yes Enable restart notification in the UI upon change
+ "uiSelectionAction" string "type" is "string" Yes {"file", "directory", <Registered UIAction Name>} Informs the UI to add
+ a button to open a selection dialog or run a registered UIAction
================== ====================================== ================== ======== =======================================================================
.. note:: In order to facilitate deterministic analysis results, settings from the *'default'* schema that impact analysis are serialized \