summaryrefslogtreecommitdiff
path: root/doc/classes/TreeItem.xml
diff options
context:
space:
mode:
authorKevin Fischer <46539626+Phischermen@users.noreply.github.com>2021-09-17 08:50:24 -0700
committerKevin Fischer <46539626+Phischermen@users.noreply.github.com>2022-01-18 19:21:59 -0800
commita4bac268c9cfedd6faba83a85ec52884a07e72d5 (patch)
treec587c8d913b024a764498f903868e05e64b366e0 /doc/classes/TreeItem.xml
parentdeefce7bb53afcf77c79732af74f1856210a8cc6 (diff)
Addded methods to propagate checks & refactored classes to use new methods.
Diffstat (limited to 'doc/classes/TreeItem.xml')
-rw-r--r--doc/classes/TreeItem.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml
index 7da98788bb..0090fb555f 100644
--- a/doc/classes/TreeItem.xml
+++ b/doc/classes/TreeItem.xml
@@ -385,6 +385,14 @@
[b]Note:[/b] You can't move to the root or move the root.
</description>
</method>
+ <method name="propagate_check">
+ <return type="void" />
+ <argument index="0" name="column" type="int" />
+ <argument index="1" name="emit_signal" type="bool" default="true" />
+ <description>
+ Propagates this item's checked status to its children and parents for the given [code]column[/code]. It is possible to process the items affected by this method call by connecting to [signal Tree.check_propagated_to_item]. The order that the items affected will be processed is as follows: the item invoking this method, children of that item, and finally parents of that item. If [code]emit_signal[/code] is set to false, then [signal Tree.check_propagated_to_item] will not be emitted.
+ </description>
+ </method>
<method name="remove_child">
<return type="void" />
<argument index="0" name="child" type="Object" />