diff options
Diffstat (limited to 'doc/classes/PopupMenu.xml')
-rw-r--r-- | doc/classes/PopupMenu.xml | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index f3cd7df796..13cf16d2ee 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="PopupMenu" inherits="Popup" category="Core" version="3.0-alpha"> +<class name="PopupMenu" inherits="Popup" category="Core" version="3.0-beta"> <brief_description> PopupMenu displays a list of options. </brief_description> @@ -233,18 +233,10 @@ <description> </description> </method> - <method name="is_hide_on_checkable_item_selection"> + <method name="is_hide_on_state_item_selection" qualifiers="const"> <return type="bool"> </return> <description> - Returns a boolean that indicates whether or not the PopupMenu will hide on checkable item selection. - </description> - </method> - <method name="is_hide_on_item_selection"> - <return type="bool"> - </return> - <description> - Returns a boolean that indicates whether or not the PopupMenu will hide on item selection. </description> </method> <method name="is_item_checkable" qualifiers="const"> @@ -292,22 +284,12 @@ Removes the item at index "idx" from the menu. Note that the indexes of items after the removed item are going to be shifted by one. </description> </method> - <method name="set_hide_on_checkable_item_selection"> - <return type="void"> - </return> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - Sets whether or not the PopupMenu will hide on checkable item selection. - </description> - </method> - <method name="set_hide_on_item_selection"> + <method name="set_hide_on_state_item_selection"> <return type="void"> </return> <argument index="0" name="enable" type="bool"> </argument> <description> - Sets whether or not the PopupMenu will hide on item selection. </description> </method> <method name="set_item_accelerator"> @@ -397,6 +379,16 @@ Sets the metadata of an item, which might be of any type. You can later get it with [method get_item_metadata], which provides a simple way of assigning context data to items. </description> </method> + <method name="set_item_multistate"> + <return type="void"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="state" type="int"> + </argument> + <description> + </description> + </method> <method name="set_item_shortcut"> <return type="void"> </return> @@ -449,14 +441,20 @@ <description> </description> </method> + <method name="toggle_item_multistate"> + <return type="void"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + </description> + </method> </methods> <members> <member name="hide_on_checkable_item_selection" type="bool" setter="set_hide_on_checkable_item_selection" getter="is_hide_on_checkable_item_selection"> </member> <member name="hide_on_item_selection" type="bool" setter="set_hide_on_item_selection" getter="is_hide_on_item_selection"> </member> - <member name="items" type="Array" setter="_set_items" getter="_get_items"> - </member> </members> <signals> <signal name="id_pressed"> |