diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:56 +0200 |
commit | 97fa7187e1be2f2cf7cb2e6dc6b038eb587a44e4 (patch) | |
tree | fe24a6eaeb61d1fb54b7c0a253fa0bb0dc0a8219 /doc/classes | |
parent | 7d4e06e3a1e917523b47dad533f7b0a63b952238 (diff) | |
parent | 3c365a7fa5de8778488adefcb296ab42fe29ac15 (diff) | |
download | redot-engine-97fa7187e1be2f2cf7cb2e6dc6b038eb587a44e4.tar.gz |
Merge pull request #97353 from timothyqiu/tree-at
Add auto translate mode for cells in `Tree`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TreeItem.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 861a53aaad..132ecc3f92 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -73,6 +73,13 @@ Removes the button at index [param button_index] in column [param column]. </description> </method> + <method name="get_auto_translate_mode" qualifiers="const"> + <return type="int" enum="Node.AutoTranslateMode" /> + <param index="0" name="column" type="int" /> + <description> + Returns the column's auto translate mode. + </description> + </method> <method name="get_autowrap_mode" qualifiers="const"> <return type="int" enum="TextServer.AutowrapMode" /> <param index="0" name="column" type="int" /> @@ -493,6 +500,15 @@ Selects the given [param column]. </description> </method> + <method name="set_auto_translate_mode"> + <return type="void" /> + <param index="0" name="column" type="int" /> + <param index="1" name="mode" type="int" enum="Node.AutoTranslateMode" /> + <description> + Sets the given column's auto translate mode to [param mode]. + All columns use [constant Node.AUTO_TRANSLATE_MODE_INHERIT] by default, which uses the same auto translate mode as the [Tree] itself. + </description> + </method> <method name="set_autowrap_mode"> <return type="void" /> <param index="0" name="column" type="int" /> |