From 7ce17895972defe923ead7345b928fa03721f1b0 Mon Sep 17 00:00:00 2001 From: James Westman Date: Thu, 28 Jan 2021 22:34:29 -0600 Subject: [PATCH] docs: Add TreeItem method descriptions (cherry picked from commit 2f5164d78c8c4e2f28de14741716b5d7e24f3b71) --- doc/classes/TreeItem.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index adcbc84dbf5..30bad67cb5a 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -190,6 +190,7 @@ + Returns the metadata value that was set for the given column using [method set_metadata]. @@ -239,6 +240,7 @@ + Returns the value of a [constant CELL_MODE_RANGE] column. @@ -247,6 +249,7 @@ + Returns a dictionary containing the range parameters for a given column. The keys are "min", "max", "step", and "expr". @@ -255,6 +258,7 @@ + Gets the suffix string shown after the column value. @@ -541,6 +545,7 @@ + Sets the metadata value for the given column, which can be retrieved later using [method get_metadata]. This can be used, for example, to store a reference to the original data. @@ -551,6 +556,7 @@ + Sets the value of a [constant CELL_MODE_RANGE] column. @@ -567,6 +573,8 @@ + Sets the range of accepted values for a column. The column must be in the [constant CELL_MODE_RANGE] mode. + If [code]expr[/code] is [code]true[/code], the edit mode slider will use an exponential scale as with [member Range.exp_edit]. @@ -588,6 +596,7 @@ + Sets a string to be shown after a column's value (for example, a unit abbreviation). @@ -598,6 +607,7 @@ + Sets the given column's text value. @@ -639,7 +649,7 @@ Cell contains a string. - Cell can be checked. + Cell contains a checkbox. Cell contains a range.