diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2016-06-05 14:47:12 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2016-06-05 14:47:12 +0300 |
commit | 9e0921e038fc2c8f88f837e234a0b1b7cec32117 (patch) | |
tree | 34890809d22fde8ba767eb7a0944e78263634eae /doc | |
parent | 673105feb9224a469eb629afe7ee5fa7ac0e8023 (diff) |
Sync with -doctool
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 0bea71c2bb..368876d3cd 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -5770,6 +5770,18 @@ Returns focus access mode used when switching between enabled/disabled (see [method Control.set_focus_mode] and [method set_disabled]). </description> </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> <signals> <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. </description> </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"> <argument index="0" name="idx" type="int"> </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. </description> </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"> <argument index="0" name="idx" type="int"> </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. </description> </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"> <return type="String"> </return> @@ -34127,6 +34191,48 @@ This method controls whether the position between two cached points is interpola <constants> </constants> </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"> <brief_description> Skeleton for characters and animated objects. |