Add more documentations for this classes:
* BoxContainer * CenterContainer * ScrollContainer * SplitContainer * Vector2 * StringArray * FileDiloags
This commit is contained in:
parent
6962fd91c6
commit
a518792d89
|
@ -5633,27 +5633,34 @@
|
||||||
<argument index="0" name="begin" type="bool">
|
<argument index="0" name="begin" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Add a control to the box as a spacer.
|
||||||
|
If [i]begin[/i] is true the spacer control will be inserted in front of other children.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_alignment" qualifiers="const">
|
<method name="get_alignment" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return the alignment of children in the container.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_alignment">
|
<method name="set_alignment">
|
||||||
<argument index="0" name="alignment" type="int">
|
<argument index="0" name="alignment" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set the alignment of children in the container(Must be one of ALIGN_BEGIN, ALIGN_CENTER or ALIGN_END).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="ALIGN_BEGIN" value="0">
|
<constant name="ALIGN_BEGIN" value="0">
|
||||||
|
Align children with beginning of the container.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ALIGN_CENTER" value="1">
|
<constant name="ALIGN_CENTER" value="1">
|
||||||
|
Align children with center of the container.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ALIGN_END" value="2">
|
<constant name="ALIGN_END" value="2">
|
||||||
|
Align children with end of the container.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -11879,24 +11886,28 @@ Returns an empty String "" at the end of the list.
|
||||||
<argument index="0" name="access" type="int">
|
<argument index="0" name="access" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_access" qualifiers="const">
|
<method name="get_access" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return the file access permission of the dialog.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_show_hidden_files">
|
<method name="set_show_hidden_files">
|
||||||
<argument index="0" name="show" type="bool">
|
<argument index="0" name="show" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set the dialog should show hidden files.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_showing_hidden_files" qualifiers="const">
|
<method name="is_showing_hidden_files" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return true if the diaog allows show hidden files.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="invalidate">
|
<method name="invalidate">
|
||||||
|
@ -11909,12 +11920,14 @@ Returns an empty String "" at the end of the list.
|
||||||
<argument index="0" name="paths" type="StringArray">
|
<argument index="0" name="paths" type="StringArray">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Event emitted when the user selects multiple files.
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="dir_selected">
|
<signal name="dir_selected">
|
||||||
<argument index="0" name="dir" type="String">
|
<argument index="0" name="dir" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Event emitted when the user selects a directory.
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="file_selected">
|
<signal name="file_selected">
|
||||||
|
@ -11941,10 +11954,13 @@ Returns an empty String "" at the end of the list.
|
||||||
The dialog will warn when a file exists.
|
The dialog will warn when a file exists.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACCESS_RESOURCES" value="0">
|
<constant name="ACCESS_RESOURCES" value="0">
|
||||||
|
The dialog allows the selection of file and directory.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACCESS_USERDATA" value="1">
|
<constant name="ACCESS_USERDATA" value="1">
|
||||||
|
The dialog allows ascess files under [Resource] path(res://) .
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACCESS_FILESYSTEM" value="2">
|
<constant name="ACCESS_FILESYSTEM" value="2">
|
||||||
|
The dialog allows ascess files in whole file system.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
<theme_items>
|
<theme_items>
|
||||||
|
@ -31951,48 +31967,56 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="enable" type="bool">
|
<argument index="0" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set allows horizontal scrool.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_h_scroll_enabled" qualifiers="const">
|
<method name="is_h_scroll_enabled" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return true if horizontal scrool is allowed.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_enable_v_scroll">
|
<method name="set_enable_v_scroll">
|
||||||
<argument index="0" name="enable" type="bool">
|
<argument index="0" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set allows vertical scrool.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_v_scroll_enabled" qualifiers="const">
|
<method name="is_v_scroll_enabled" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return true if vertical scrool is allowed.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_h_scroll">
|
<method name="set_h_scroll">
|
||||||
<argument index="0" name="val" type="int">
|
<argument index="0" name="val" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set horizontal scroll value.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_h_scroll" qualifiers="const">
|
<method name="get_h_scroll" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return current horizontal scroll value.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_v_scroll">
|
<method name="set_v_scroll">
|
||||||
<argument index="0" name="val" type="int">
|
<argument index="0" name="val" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set vertical scroll value.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_v_scroll" qualifiers="const">
|
<method name="get_v_scroll" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return current vertical scroll value.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -34252,19 +34276,21 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Return if the split is collapsed.
|
Return true if the split is collapsed.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_dragger_visibility">
|
<method name="set_dragger_visibility">
|
||||||
<argument index="0" name="mode" type="int">
|
<argument index="0" name="mode" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_dragger_visibility" qualifiers="const">
|
<method name="get_dragger_visibility" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return visibility of the split dragger(One of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -34273,15 +34299,19 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="offset" type="int">
|
<argument index="0" name="offset" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Emmited when the dragger is gragged by user.
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
</signals>
|
</signals>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="DRAGGER_VISIBLE" value="0">
|
<constant name="DRAGGER_VISIBLE" value="0">
|
||||||
|
The split dragger is visible.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAGGER_HIDDEN" value="1">
|
<constant name="DRAGGER_HIDDEN" value="1">
|
||||||
|
The split dragger is invisible.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAGGER_HIDDEN_COLLAPSED" value="2">
|
<constant name="DRAGGER_HIDDEN_COLLAPSED" value="2">
|
||||||
|
The split dragger is invisible and collapsed.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -35871,12 +35901,14 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="string" type="String">
|
<argument index="0" name="string" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Append a string element at end of the array.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="resize">
|
<method name="resize">
|
||||||
<argument index="0" name="idx" type="int">
|
<argument index="0" name="idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Reset the size of the array.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set">
|
<method name="set">
|
||||||
|
@ -35891,6 +35923,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return the size of the array.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="StringArray">
|
<method name="StringArray">
|
||||||
|
@ -40432,6 +40465,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Remove the fractional part of x and y.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_aspect">
|
<method name="get_aspect">
|
||||||
|
@ -40530,12 +40564,16 @@ This method controls whether the position between two cached points is interpola
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="x" type="float">
|
<member name="x" type="float">
|
||||||
|
The X axis value when treated as point(The first value in the pair).
|
||||||
</member>
|
</member>
|
||||||
<member name="y" type="float">
|
<member name="y" type="float">
|
||||||
|
The Y axis value when treated as point(The second value in the pair).
|
||||||
</member>
|
</member>
|
||||||
<member name="width" type="float">
|
<member name="width" type="float">
|
||||||
|
The width value when treated as size(The first value in the pair).
|
||||||
</member>
|
</member>
|
||||||
<member name="height" type="float">
|
<member name="height" type="float">
|
||||||
|
The height value when treated as size(The second value in the pair).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
Loading…
Reference in New Issue