Document the FileDialog and partial OS methods

This commit is contained in:
Geequlim 2016-05-20 21:39:31 +08:00
parent dfc50c06d6
commit a92652d578
1 changed files with 14 additions and 0 deletions

View File

@ -7268,12 +7268,14 @@
<argument index="0" name="degrees" type="float"> <argument index="0" name="degrees" type="float">
</argument> </argument>
<description> <description>
Set rotation of the layer in degree.
</description> </description>
</method> </method>
<method name="get_rotationd" qualifiers="const"> <method name="get_rotationd" qualifiers="const">
<return type="float"> <return type="float">
</return> </return>
<description> <description>
Get rotation of the layer in degree.
</description> </description>
</method> </method>
<method name="set_scale"> <method name="set_scale">
@ -12250,18 +12252,21 @@ This approximation makes straight segments between each point, then subdivides t
<argument index="0" name="dir" type="String"> <argument index="0" name="dir" type="String">
</argument> </argument>
<description> <description>
Set the current working directory of the file dialog.
</description> </description>
</method> </method>
<method name="set_current_file"> <method name="set_current_file">
<argument index="0" name="file" type="String"> <argument index="0" name="file" type="String">
</argument> </argument>
<description> <description>
Set the current selected file name of the file dialog.
</description> </description>
</method> </method>
<method name="set_current_path"> <method name="set_current_path">
<argument index="0" name="path" type="String"> <argument index="0" name="path" type="String">
</argument> </argument>
<description> <description>
Set the current selected file path of the file dialog.
</description> </description>
</method> </method>
<method name="set_mode"> <method name="set_mode">
@ -12282,6 +12287,7 @@ This approximation makes straight segments between each point, then subdivides t
<return type="VBoxContainer"> <return type="VBoxContainer">
</return> </return>
<description> <description>
Return the vertical box container of the dialog, custom controls can be added to it.
</description> </description>
</method> </method>
<method name="set_access"> <method name="set_access">
@ -12314,6 +12320,7 @@ This approximation makes straight segments between each point, then subdivides t
</method> </method>
<method name="invalidate"> <method name="invalidate">
<description> <description>
Invalidate and update the current dialog content list.
</description> </description>
</method> </method>
</methods> </methods>
@ -12351,6 +12358,7 @@ This approximation makes straight segments between each point, then subdivides t
The dialog functions as a folder selector, disallowing the selection of any file. The dialog functions as a folder selector, disallowing the selection of any file.
</constant> </constant>
<constant name="MODE_OPEN_ANY" value="3"> <constant name="MODE_OPEN_ANY" value="3">
The dialog allows the selection of a file or a directory.
</constant> </constant>
<constant name="MODE_SAVE_FILE" value="4"> <constant name="MODE_SAVE_FILE" value="4">
The dialog will warn when a file exists. The dialog will warn when a file exists.
@ -21323,24 +21331,28 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
<argument index="0" name="enabled" type="bool"> <argument index="0" name="enabled" type="bool">
</argument> </argument>
<description> <description>
Set whether the window is minimized.
</description> </description>
</method> </method>
<method name="is_window_minimized" qualifiers="const"> <method name="is_window_minimized" qualifiers="const">
<return type="bool"> <return type="bool">
</return> </return>
<description> <description>
Return true if the window is minimized.
</description> </description>
</method> </method>
<method name="set_window_maximized"> <method name="set_window_maximized">
<argument index="0" name="enabled" type="bool"> <argument index="0" name="enabled" type="bool">
</argument> </argument>
<description> <description>
Set the window size to maximized.
</description> </description>
</method> </method>
<method name="is_window_maximized" qualifiers="const"> <method name="is_window_maximized" qualifiers="const">
<return type="bool"> <return type="bool">
</return> </return>
<description> <description>
Return true if the window is maximized.
</description> </description>
</method> </method>
<method name="set_borderless_window"> <method name="set_borderless_window">
@ -21578,6 +21590,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
<return type="int"> <return type="int">
</return> </return>
<description> <description>
Return the current unix timestamp.
</description> </description>
</method> </method>
<method name="get_datetime_from_unix_time" qualifiers="const"> <method name="get_datetime_from_unix_time" qualifiers="const">
@ -21740,6 +21753,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
<return type="String"> <return type="String">
</return> </return>
<description> <description>
Return the absolute directory path of user data path([user://]).
</description> </description>
</method> </method>
<method name="get_system_dir" qualifiers="const"> <method name="get_system_dir" qualifiers="const">