GridContainer, CheckBox documentation, descriptions for Vector2 and CenterContainer.set_use_top_left
(cherry picked from commit a5b4c1d64f
)
This commit is contained in:
parent
d3ee8de754
commit
946ef8d478
|
@ -7001,6 +7001,7 @@
|
||||||
<argument index="0" name="enable" type="bool">
|
<argument index="0" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_using_top_left" qualifiers="const">
|
<method name="is_using_top_left" qualifiers="const">
|
||||||
|
@ -7015,8 +7016,10 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="CheckBox" inherits="Button" category="Core">
|
<class name="CheckBox" inherits="Button" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Binary choice user interface widget
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
A checkbox allows the user to make a binary choice (choosing only one of two posible options), for example Answer 'yes' or 'no'.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -12590,20 +12593,24 @@ Returns an empty String "" at the end of the list.
|
||||||
</class>
|
</class>
|
||||||
<class name="GridContainer" inherits="Container" category="Core">
|
<class name="GridContainer" inherits="Container" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Grid container used to arrange elements in a grid like layout
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_columns">
|
<method name="set_columns">
|
||||||
<argument index="0" name="columns" type="int">
|
<argument index="0" name="columns" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Sets the numbers of columns in the container, then reorder its children to accommodate the new layout
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_columns" qualifiers="const">
|
<method name="get_columns" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Returns the number of columns in this container
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -38850,6 +38857,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
Vector used for 2D Math.
|
Vector used for 2D Math.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
2-element structure that can be used to represent positions in 2d-space, or any other pair of numeric values.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="angle">
|
<method name="angle">
|
||||||
|
|
Loading…
Reference in New Issue