mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Updated getters and setters names for toplevel
This commit is contained in:
parent
9b1c9cef17
commit
4834e14493
@ -669,7 +669,7 @@
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Invalidates the size cache in this node and in parent nodes up to toplevel. Intended to be used with [method get_minimum_size] when the return value is changed. Setting [member rect_min_size] directly calls this method automatically.
|
||||
Invalidates the size cache in this node and in parent nodes up to top_level. Intended to be used with [method get_minimum_size] when the return value is changed. Setting [member rect_min_size] directly calls this method automatically.
|
||||
</description>
|
||||
</method>
|
||||
<method name="release_focus">
|
||||
|
@ -11069,7 +11069,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14163,7 +14163,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32615,7 +32615,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11100,7 +11100,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14194,7 +14194,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32646,7 +32646,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11070,7 +11070,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14164,7 +14164,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32616,7 +32616,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11562,7 +11562,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14656,7 +14656,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -33115,7 +33115,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11385,7 +11385,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14492,7 +14492,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -33032,7 +33032,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -14573,10 +14573,10 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
"Devuelve [code]true[/code] si el nodo está configurado como de nivel "
|
||||
"superior. Ver [method set_as_toplevel]."
|
||||
"superior. Ver [method set_as_top_level]."
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
msgid ""
|
||||
@ -18642,7 +18642,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -44207,10 +44207,10 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
"Devuelve si este nodo se establece como Toplevel, es decir, si ignora las "
|
||||
"Devuelve si este nodo se establece como top_level, es decir, si ignora las "
|
||||
"transformaciones de sus nodos padres."
|
||||
|
||||
#: doc/classes/Node3D.xml:97
|
||||
|
@ -11075,7 +11075,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14169,7 +14169,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32621,7 +32621,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11088,7 +11088,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14182,7 +14182,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32634,7 +32634,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11406,7 +11406,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14500,7 +14500,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32982,7 +32982,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11101,7 +11101,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14195,7 +14195,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32647,7 +32647,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11359,7 +11359,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14453,7 +14453,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32913,7 +32913,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -12289,7 +12289,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -15383,7 +15383,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -33885,7 +33885,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11077,7 +11077,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14171,7 +14171,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32623,7 +32623,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11103,7 +11103,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14197,7 +14197,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32649,7 +32649,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11121,7 +11121,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14215,7 +14215,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32668,7 +32668,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11116,7 +11116,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14210,7 +14210,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32662,7 +32662,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11077,7 +11077,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14171,7 +14171,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32623,7 +32623,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11582,7 +11582,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14676,7 +14676,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -33160,7 +33160,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11087,7 +11087,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14181,7 +14181,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32633,7 +32633,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11093,7 +11093,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14187,7 +14187,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32639,7 +32639,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11069,7 +11069,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14163,7 +14163,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32615,7 +32615,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11155,7 +11155,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14249,7 +14249,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32701,7 +32701,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11302,7 +11302,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14396,7 +14396,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32851,7 +32851,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -11106,7 +11106,7 @@ msgstr ""
|
||||
#: doc/classes/CanvasItem.xml:523
|
||||
msgid ""
|
||||
"Returns [code]true[/code] if the node is set as top-level. See [method "
|
||||
"set_as_toplevel]."
|
||||
"set_as_top_level]."
|
||||
msgstr ""
|
||||
|
||||
#: doc/classes/CanvasItem.xml:530
|
||||
@ -14200,7 +14200,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Control.xml:545
|
||||
msgid ""
|
||||
"Invalidates the size cache in this node and in parent nodes up to toplevel. "
|
||||
"Invalidates the size cache in this node and in parent nodes up to top_level. "
|
||||
"Intended to be used with [method get_minimum_size] when the return value is "
|
||||
"changed. Setting [member rect_min_size] directly calls this method "
|
||||
"automatically."
|
||||
@ -32652,7 +32652,7 @@ msgstr ""
|
||||
|
||||
#: doc/classes/Node3D.xml:90
|
||||
msgid ""
|
||||
"Returns whether this node is set as Toplevel, that is whether it ignores its "
|
||||
"Returns whether this node is set as top_level, that is whether it ignores its "
|
||||
"parent nodes transformations."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1646,7 +1646,7 @@ EditorFileDialog::EditorFileDialog() {
|
||||
filter->connect("item_selected", callable_mp(this, &EditorFileDialog::_filter_selected));
|
||||
|
||||
confirm_save = memnew(ConfirmationDialog);
|
||||
//confirm_save->set_as_toplevel(true);
|
||||
//confirm_save->set_as_top_level(true);
|
||||
add_child(confirm_save);
|
||||
confirm_save->connect("confirmed", callable_mp(this, &EditorFileDialog::_save_confirm_pressed));
|
||||
|
||||
|
@ -3566,7 +3566,7 @@ Vector3 Node3DEditorViewport::_get_instance_position(const Point2 &p_pos) const
|
||||
return point + offset;
|
||||
}
|
||||
|
||||
AABB Node3DEditorViewport::_calculate_spatial_bounds(const Node3D *p_parent, bool p_exclude_toplevel_transform) {
|
||||
AABB Node3DEditorViewport::_calculate_spatial_bounds(const Node3D *p_parent, bool p_exclude_top_level_transform) {
|
||||
AABB bounds;
|
||||
|
||||
const MeshInstance3D *mesh_instance = Object::cast_to<MeshInstance3D>(p_parent);
|
||||
@ -3591,7 +3591,7 @@ AABB Node3DEditorViewport::_calculate_spatial_bounds(const Node3D *p_parent, boo
|
||||
bounds = AABB(Vector3(-0.2, -0.2, -0.2), Vector3(0.4, 0.4, 0.4));
|
||||
}
|
||||
|
||||
if (!p_exclude_toplevel_transform) {
|
||||
if (!p_exclude_top_level_transform) {
|
||||
bounds = p_parent->get_transform().xform(bounds);
|
||||
}
|
||||
|
||||
|
@ -450,7 +450,7 @@ private:
|
||||
Point2i _get_warped_mouse_motion(const Ref<InputEventMouseMotion> &p_ev_mouse_motion) const;
|
||||
|
||||
Vector3 _get_instance_position(const Point2 &p_pos) const;
|
||||
static AABB _calculate_spatial_bounds(const Node3D *p_parent, bool p_exclude_toplevel_transform = true);
|
||||
static AABB _calculate_spatial_bounds(const Node3D *p_parent, bool p_exclude_top_level_transform = true);
|
||||
void _create_preview(const Vector<String> &files) const;
|
||||
void _remove_preview();
|
||||
bool _cyclical_dependency_exists(const String &p_target_scene_path, Node *p_desired_node);
|
||||
|
@ -959,8 +959,8 @@ bool SpaceBullet::test_body_motion(RigidBodyBullet *p_body, const Transform &p_f
|
||||
SceneTree::get_singleton()->get_current_scene()->add_child(motionVec);
|
||||
SceneTree::get_singleton()->get_current_scene()->add_child(normalLine);
|
||||
|
||||
motionVec->set_as_toplevel(true);
|
||||
normalLine->set_as_toplevel(true);
|
||||
motionVec->set_as_top_level(true);
|
||||
normalLine->set_as_top_level(true);
|
||||
|
||||
red_mat = Ref<StandardMaterial3D>(memnew(StandardMaterial3D));
|
||||
red_mat->set_shading_mode(StandardMaterial3D::SHADING_MODE_UNSHADED);
|
||||
|
@ -104,7 +104,7 @@ void Node3D::_propagate_transform_changed(Node3D *p_origin) {
|
||||
|
||||
for (List<Node3D *>::Element *E = data.children.front(); E; E = E->next()) {
|
||||
if (E->get()->data.top_level_active) {
|
||||
continue; //don't propagate to a toplevel
|
||||
continue; //don't propagate to a top_level
|
||||
}
|
||||
E->get()->_propagate_transform_changed(p_origin);
|
||||
}
|
||||
@ -715,8 +715,8 @@ void Node3D::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_global_transform"), &Node3D::get_global_transform);
|
||||
ClassDB::bind_method(D_METHOD("get_parent_spatial"), &Node3D::get_parent_spatial);
|
||||
ClassDB::bind_method(D_METHOD("set_ignore_transform_notification", "enabled"), &Node3D::set_ignore_transform_notification);
|
||||
ClassDB::bind_method(D_METHOD("set_as_toplevel", "enable"), &Node3D::set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("is_set_as_toplevel"), &Node3D::is_set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("set_as_top_level", "enable"), &Node3D::set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("is_set_as_top_level"), &Node3D::is_set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("set_disable_scale", "disable"), &Node3D::set_disable_scale);
|
||||
ClassDB::bind_method(D_METHOD("is_scale_disabled"), &Node3D::is_scale_disabled);
|
||||
ClassDB::bind_method(D_METHOD("get_world_3d"), &Node3D::get_world_3d);
|
||||
@ -773,7 +773,7 @@ void Node3D::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "rotation_degrees", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_EDITOR), "set_rotation_degrees", "get_rotation_degrees");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "rotation", PROPERTY_HINT_NONE, "", 0), "set_rotation", "get_rotation");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "scale", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_EDITOR), "set_scale", "get_scale");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "toplevel"), "set_as_toplevel", "is_set_as_toplevel");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "top_level"), "set_as_top_level", "is_set_as_top_level");
|
||||
ADD_GROUP("Matrix", "");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "transform", PROPERTY_HINT_NONE, ""), "set_transform", "get_transform");
|
||||
ADD_GROUP("Visibility", "");
|
||||
|
@ -425,7 +425,7 @@ void SoftBody3D::_draw_soft_mesh() {
|
||||
|
||||
/// Necessary in order to render the mesh correctly (Soft body nodes are in global space)
|
||||
simulation_started = true;
|
||||
call_deferred("set_as_toplevel", true);
|
||||
call_deferred("set_as_top_level", true);
|
||||
call_deferred("set_transform", Transform());
|
||||
}
|
||||
|
||||
|
@ -509,13 +509,13 @@ void Control::_notification(int p_notification) {
|
||||
}
|
||||
|
||||
if (parent_control && !subwindow) {
|
||||
//do nothing, has a parent control and not toplevel
|
||||
//do nothing, has a parent control and not top_level
|
||||
if (data.theme.is_null() && parent_control->data.theme_owner) {
|
||||
data.theme_owner = parent_control->data.theme_owner;
|
||||
notification(NOTIFICATION_THEME_CHANGED);
|
||||
}
|
||||
} else {
|
||||
//is a regular root control or toplevel
|
||||
//is a regular root control or top_level
|
||||
data.RI = get_viewport()->_gui_add_root_control(this);
|
||||
}
|
||||
|
||||
@ -2023,7 +2023,7 @@ void Control::release_focus() {
|
||||
update();
|
||||
}
|
||||
|
||||
bool Control::is_toplevel_control() const {
|
||||
bool Control::is_top_level_control() const {
|
||||
return is_inside_tree() && (!data.parent_canvas_item && !data.RI && is_set_as_top_level());
|
||||
}
|
||||
|
||||
@ -2499,7 +2499,7 @@ Control *Control::get_root_parent_control() const {
|
||||
if (c) {
|
||||
root = c;
|
||||
|
||||
if (c->data.RI || c->is_toplevel_control()) {
|
||||
if (c->data.RI || c->is_top_level_control()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -464,7 +464,7 @@ public:
|
||||
|
||||
virtual Transform2D get_transform() const override;
|
||||
|
||||
bool is_toplevel_control() const;
|
||||
bool is_top_level_control() const;
|
||||
|
||||
Size2 get_parent_area_size() const;
|
||||
Rect2 get_parent_anchorable_rect() const;
|
||||
|
@ -936,7 +936,7 @@ FileDialog::FileDialog() {
|
||||
filter->connect("item_selected", callable_mp(this, &FileDialog::_filter_selected));
|
||||
|
||||
confirm_save = memnew(ConfirmationDialog);
|
||||
// confirm_save->set_as_toplevel(true);
|
||||
// confirm_save->set_as_top_level(true);
|
||||
add_child(confirm_save);
|
||||
|
||||
confirm_save->connect("confirmed", callable_mp(this, &FileDialog::_save_confirm_pressed));
|
||||
|
@ -517,7 +517,7 @@ Vector<Control *> TabContainer::_get_tabs() const {
|
||||
Vector<Control *> controls;
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
Control *control = Object::cast_to<Control>(get_child(i));
|
||||
if (!control || control->is_toplevel_control()) {
|
||||
if (!control || control->is_top_level_control()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -3892,7 +3892,7 @@ Tree::Tree() {
|
||||
popup_menu = memnew(PopupMenu);
|
||||
popup_menu->hide();
|
||||
add_child(popup_menu);
|
||||
// popup_menu->set_as_toplevel(true);
|
||||
// popup_menu->set_as_top_level(true);
|
||||
|
||||
popup_editor = memnew(Popup);
|
||||
popup_editor->set_wrap_controls(true);
|
||||
|
@ -371,7 +371,7 @@ void CanvasItem::_propagate_visibility_changed(bool p_visible) {
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
CanvasItem *c = Object::cast_to<CanvasItem>(get_child(i));
|
||||
|
||||
if (c && c->visible) { //should the toplevels stop propagation? i think so but..
|
||||
if (c && c->visible) { //should the top_levels stop propagation? i think so but..
|
||||
c->_propagate_visibility_changed(p_visible);
|
||||
}
|
||||
}
|
||||
@ -486,7 +486,7 @@ Transform2D CanvasItem::get_global_transform() const {
|
||||
return global_transform;
|
||||
}
|
||||
|
||||
void CanvasItem::_toplevel_raise_self() {
|
||||
void CanvasItem::_top_level_raise_self() {
|
||||
if (!is_inside_tree()) {
|
||||
return;
|
||||
}
|
||||
@ -533,7 +533,7 @@ void CanvasItem::_enter_canvas() {
|
||||
get_viewport()->gui_reset_canvas_sort_index();
|
||||
}
|
||||
|
||||
get_tree()->call_group_flags(SceneTree::GROUP_CALL_UNIQUE, group, "_toplevel_raise_self");
|
||||
get_tree()->call_group_flags(SceneTree::GROUP_CALL_UNIQUE, group, "_top_level_raise_self");
|
||||
|
||||
} else {
|
||||
CanvasItem *parent = get_parent_item();
|
||||
@ -599,7 +599,7 @@ void CanvasItem::_notification(int p_what) {
|
||||
}
|
||||
|
||||
if (group != "") {
|
||||
get_tree()->call_group_flags(SceneTree::GROUP_CALL_UNIQUE, group, "_toplevel_raise_self");
|
||||
get_tree()->call_group_flags(SceneTree::GROUP_CALL_UNIQUE, group, "_top_level_raise_self");
|
||||
} else {
|
||||
CanvasItem *p = get_parent_item();
|
||||
ERR_FAIL_COND(!p);
|
||||
@ -674,18 +674,18 @@ Color CanvasItem::get_modulate() const {
|
||||
return modulate;
|
||||
}
|
||||
|
||||
void CanvasItem::set_as_top_level(bool p_toplevel) {
|
||||
if (top_level == p_toplevel) {
|
||||
void CanvasItem::set_as_top_level(bool p_top_level) {
|
||||
if (top_level == p_top_level) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!is_inside_tree()) {
|
||||
top_level = p_toplevel;
|
||||
top_level = p_top_level;
|
||||
return;
|
||||
}
|
||||
|
||||
_exit_canvas();
|
||||
top_level = p_toplevel;
|
||||
top_level = p_top_level;
|
||||
_enter_canvas();
|
||||
}
|
||||
|
||||
@ -1104,7 +1104,7 @@ void CanvasItem::force_update_transform() {
|
||||
}
|
||||
|
||||
void CanvasItem::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_toplevel_raise_self"), &CanvasItem::_toplevel_raise_self);
|
||||
ClassDB::bind_method(D_METHOD("_top_level_raise_self"), &CanvasItem::_top_level_raise_self);
|
||||
ClassDB::bind_method(D_METHOD("_update_callback"), &CanvasItem::_update_callback);
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
@ -1136,8 +1136,8 @@ void CanvasItem::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("update"), &CanvasItem::update);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_as_toplevel", "enable"), &CanvasItem::set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("is_set_as_toplevel"), &CanvasItem::is_set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("set_as_top_level", "enable"), &CanvasItem::set_as_top_level);
|
||||
ClassDB::bind_method(D_METHOD("is_set_as_top_level"), &CanvasItem::is_set_as_top_level);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_light_mask", "light_mask"), &CanvasItem::set_light_mask);
|
||||
ClassDB::bind_method(D_METHOD("get_light_mask"), &CanvasItem::get_light_mask);
|
||||
|
@ -220,7 +220,7 @@ private:
|
||||
mutable Transform2D global_transform;
|
||||
mutable bool global_invalid;
|
||||
|
||||
void _toplevel_raise_self();
|
||||
void _top_level_raise_self();
|
||||
|
||||
void _propagate_visibility_changed(bool p_visible);
|
||||
|
||||
@ -355,7 +355,7 @@ public:
|
||||
|
||||
/* RECT / TRANSFORM */
|
||||
|
||||
void set_as_top_level(bool p_toplevel);
|
||||
void set_as_top_level(bool p_top_level);
|
||||
bool is_set_as_top_level() const;
|
||||
|
||||
void set_draw_behind_parent(bool p_enable);
|
||||
|
Loading…
Reference in New Issue
Block a user