From 052919fe444d5c2ba5f2ad5855b794dbfe06262f Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Tue, 7 Aug 2018 04:54:32 +0700 Subject: [PATCH] [DOCS] complete Tree.get_drop_section_at_position and Tree.drop_mode_flags (cherry picked from commit 6536834d428e3321cf1694c605208dc5aedfc73c) --- doc/classes/Tree.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 8dc094d3f6a..8cb5ae2d4e4 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -94,6 +94,8 @@ + If [member drop_mode_flags] includes [code]DROP_MODE_INBETWEEN[/code], returns -1 if [code]position[/code] is the upper part of a tree item at that position, 1 for the lower part, and additionally 0 for the middle part if [member drop_mode_flags] includes [code]DROP_MODE_ON_ITEM[/code]. + Otherwise, returns 0. If there are no tree item at [code]position[/code], returns -100. @@ -228,7 +230,7 @@ The amount of columns. - The drop mode as an OR combination of flags. See [code]DROP_MODE_*[/code] constants. + The drop mode as an OR combination of flags. See [code]DROP_MODE_*[/code] constants. Once dropping is done, reverts to [code]DROP_MODE_DISABLED[/code]. Setting this during [method can_drop_data] is recommended. If [code]true[/code] the folding arrow is hidden.