summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/export_variable.out
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2024-09-26 20:34:29 +0300
committerMack <86566939+Macksaur@users.noreply.github.com>2024-09-27 22:24:15 +0100
commit85dfd896536ff04dba4afd7d461a28e0ac4b9aee (patch)
tree26583e929ae35235c783fcd9b6de43805ce5434d /modules/gdscript/tests/scripts/parser/features/export_variable.out
parent76a135926aef1f02f27e4e09093787f2c670956d (diff)
downloadredot-engine-85dfd896536ff04dba4afd7d461a28e0ac4b9aee.tar.gz
Add `@export_tool_button` annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/export_variable.out')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/export_variable.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/export_variable.out b/modules/gdscript/tests/scripts/parser/features/export_variable.out
index d10462bb8d..0d915e00e6 100644
--- a/modules/gdscript/tests/scripts/parser/features/export_variable.out
+++ b/modules/gdscript/tests/scripts/parser/features/export_variable.out
@@ -55,3 +55,7 @@ var test_export_custom_weak_int: int = 5
hint=ENUM hint_string="A,B,C" usage=DEFAULT|SCRIPT_VARIABLE class_name=&""
var test_export_custom_hard_int: int = 6
hint=ENUM hint_string="A,B,C" usage=DEFAULT|SCRIPT_VARIABLE class_name=&""
+var test_tool_button_1: Callable = Callable()
+ hint=TOOL_BUTTON hint_string="Click me!" usage=EDITOR|SCRIPT_VARIABLE class_name=&""
+var test_tool_button_2: Callable = Callable()
+ hint=TOOL_BUTTON hint_string="Click me!,ColorRect" usage=EDITOR|SCRIPT_VARIABLE class_name=&""