summaryrefslogtreecommitdiffstats
path: root/doc/classes/Tree.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-04-03 16:03:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-04-03 16:03:10 +0200
commit9c492204ca02f683a2c349c6bfa313eda46c072c (patch)
treefe1ef7bbfcbe110d8f78c17995ce46c216078e0e /doc/classes/Tree.xml
parent41ed64ae1c10deeca223343a6116b43e52680fa3 (diff)
parentc56ff437aec0f0f49c0c956ee298ec28f8b6a596 (diff)
downloadredot-engine-9c492204ca02f683a2c349c6bfa313eda46c072c.tar.gz
Merge pull request #75340 from Barugon/tree_colunm_title_alignment
Implement column title alignment for `Tree`
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r--doc/classes/Tree.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index d09f61b8c8..9c60ba1b37 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -100,6 +100,13 @@
Returns the column's title.
</description>
</method>
+ <method name="get_column_title_alignment" qualifiers="const">
+ <return type="int" enum="HorizontalAlignment" />
+ <param index="0" name="column" type="int" />
+ <description>
+ Returns the column title alignment.
+ </description>
+ </method>
<method name="get_column_title_direction" qualifiers="const">
<return type="int" enum="Control.TextDirection" />
<param index="0" name="column" type="int" />
@@ -288,6 +295,14 @@
Sets the title of a column.
</description>
</method>
+ <method name="set_column_title_alignment">
+ <return type="void" />
+ <param index="0" name="column" type="int" />
+ <param index="1" name="title_alignment" type="int" enum="HorizontalAlignment" />
+ <description>
+ Sets the column title alignment. Note that [constant @GlobalScope.HORIZONTAL_ALIGNMENT_FILL] is not supported for column titles.
+ </description>
+ </method>
<method name="set_column_title_direction">
<return type="void" />
<param index="0" name="column" type="int" />