summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/stk-api.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/stk-api.txt b/doc/stk-api.txt
index d0dd740e..3b478199 100644
--- a/doc/stk-api.txt
+++ b/doc/stk-api.txt
@@ -86,11 +86,14 @@ Object path freely definable
Methods byte RequestSelection(string title, byte icon_id,
array{struct(string, byte)} items,
- byte default)
+ int16 default)
Tells the agent to ask the user to select an item
- from the menu. This function should return the index
- of the item or an error given below:
+ from the menu. The default is set the the default
+ item index or -1 if no default is provided.
+
+ This function should return the index of the item or
+ an error given below.
Possible Errors: [service].Error.SimToolkit.GoBack