Sync with -doctool

This commit is contained in:
Bojidar Marinov 2016-06-05 14:47:12 +03:00
parent 673105feb9
commit 9e0921e038

View file

@ -5770,6 +5770,18 @@
Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]).
</description> </description>
</method> </method>
<method name="set_shortcut">
<argument index="0" name="shortcut" type="Object">
</argument>
<description>
</description>
</method>
<method name="get_shortcut" qualifiers="const">
<return type="Object">
</return>
<description>
</description>
</method>
</methods> </methods>
<signals> <signals>
<signal name="released"> <signal name="released">
@ -28472,6 +28484,42 @@ This method controls whether the position between two cached points is interpola
Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index. Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index.
</description> </description>
</method> </method>
<method name="add_icon_shortcut">
<argument index="0" name="texture" type="Object">
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
<argument index="2" name="id" type="int" default="-1">
</argument>
<description>
</description>
</method>
<method name="add_shortcut">
<argument index="0" name="shortcut" type="ShortCut">
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
<description>
</description>
</method>
<method name="add_icon_check_shortcut">
<argument index="0" name="texture" type="Object">
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
<argument index="2" name="id" type="int" default="-1">
</argument>
<description>
</description>
</method>
<method name="add_check_shortcut">
<argument index="0" name="shortcut" type="ShortCut">
</argument>
<argument index="1" name="id" type="int" default="-1">
</argument>
<description>
</description>
</method>
<method name="set_item_text"> <method name="set_item_text">
<argument index="0" name="idx" type="int"> <argument index="0" name="idx" type="int">
</argument> </argument>
@ -28526,6 +28574,14 @@ This method controls whether the position between two cached points is interpola
Sets whether the item at index "idx" is disabled or not. When it is disabled it can't be selected, or its action invoked. Sets whether the item at index "idx" is disabled or not. When it is disabled it can't be selected, or its action invoked.
</description> </description>
</method> </method>
<method name="set_item_shortcut">
<argument index="0" name="idx" type="int">
</argument>
<argument index="1" name="shortcut" type="ShortCut">
</argument>
<description>
</description>
</method>
<method name="set_item_submenu"> <method name="set_item_submenu">
<argument index="0" name="idx" type="int"> <argument index="0" name="idx" type="int">
</argument> </argument>
@ -28596,6 +28652,14 @@ This method controls whether the position between two cached points is interpola
Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused.
</description> </description>
</method> </method>
<method name="get_item_shortcut" qualifiers="const">
<return type="ShortCut">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_item_submenu" qualifiers="const"> <method name="get_item_submenu" qualifiers="const">
<return type="String"> <return type="String">
</return> </return>
@ -34127,6 +34191,48 @@ This method controls whether the position between two cached points is interpola
<constants> <constants>
</constants> </constants>
</class> </class>
<class name="ShortCut" inherits="Resource" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
<method name="set_shortcut">
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
</description>
</method>
<method name="get_shortcut" qualifiers="const">
<return type="InputEvent">
</return>
<description>
</description>
</method>
<method name="is_valid" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="is_shortcut" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
</description>
</method>
<method name="get_as_text" qualifiers="const">
<return type="String">
</return>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>
<class name="Skeleton" inherits="Spatial" category="Core"> <class name="Skeleton" inherits="Spatial" category="Core">
<brief_description> <brief_description>
Skeleton for characters and animated objects. Skeleton for characters and animated objects.