From 75866c81e7163a264bbbf1684a4564fae37fc50f Mon Sep 17 00:00:00 2001 From: Kevin Fischer <46539626+Phischermen@users.noreply.github.com> Date: Thu, 22 Jul 2021 13:34:54 -0700 Subject: Added icons and API for indeterminate checkmarks for the Tree class. --- doc/classes/Tree.xml | 3 +++ doc/classes/TreeItem.xml | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 50a573d30f..ed24905254 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -552,6 +552,9 @@ The horizontal space between item cells. This is also used as the margin at the start of an item when folding is disabled. + + The check icon to display when the [constant TreeItem.CELL_MODE_CHECK] mode cell is indeterminate. + The horizontal margin at the start of an item. This is used when folding is enabled for the item. diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 944b9fdc06..406c074758 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -340,6 +340,13 @@ Returns [code]true[/code] if column [code]column[/code] is editable. + + + + + Returns [code]true[/code] if the given column is indeterminate. + + @@ -415,7 +422,7 @@ - If [code]true[/code], the column [code]column[/code] is checked. + If [code]true[/code], the column [code]column[/code] is checked. Clears column's indeterminate status. @@ -507,6 +514,15 @@ Sets the given column's icon's texture region. + + + + + + If [code]true[/code], the column [code]column[/code] is marked indeterminate. + [b]Note:[/b] If set [code]true[/code] from [code]false[/code], then column is cleared of checked status. + + -- cgit v1.2.3