summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-06 08:25:06 +0200
committerGitHub <noreply@github.com>2021-10-06 08:25:06 +0200
commit9962c59dc518ed62b9e471752e621bb73af97211 (patch)
tree92c1e8f4ea2bbb75cbd29b76afc25b0af813b364 /doc/classes
parentb04b3064ec3f28ac1bd87b97cf66e125a6d3843a (diff)
parent1c0ebc85dd8002e3763e858d71c10b8b72727fff (diff)
Merge pull request #53446 from nekomatata/container-pre-sort-children
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Container.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/classes/Container.xml b/doc/classes/Container.xml
index e78eb8d259..24e73534d3 100644
--- a/doc/classes/Container.xml
+++ b/doc/classes/Container.xml
@@ -29,6 +29,11 @@
<member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" override="true" enum="Control.MouseFilter" default="1" />
</members>
<signals>
+ <signal name="pre_sort_children">
+ <description>
+ Emitted when children are going to be sorted.
+ </description>
+ </signal>
<signal name="sort_children">
<description>
Emitted when sorting the children is needed.
@@ -36,7 +41,10 @@
</signal>
</signals>
<constants>
- <constant name="NOTIFICATION_SORT_CHILDREN" value="50">
+ <constant name="NOTIFICATION_PRE_SORT_CHILDREN" value="50">
+ Notification just before children are going to be sorted, in case there's something to process beforehand.
+ </constant>
+ <constant name="NOTIFICATION_SORT_CHILDREN" value="51">
Notification for when sorting the children, it must be obeyed immediately.
</constant>
</constants>