You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add missing OptionButton method descriptions
This commit is contained in:
@@ -94,6 +94,8 @@
|
|||||||
<return type="int" />
|
<return type="int" />
|
||||||
<param index="0" name="from_last" type="bool" default="false" />
|
<param index="0" name="from_last" type="bool" default="false" />
|
||||||
<description>
|
<description>
|
||||||
|
Returns the index of the first item which is not disabled, or marked as a separator. If [param from_last] is [code]true[/code], the items will be searched in reverse order.
|
||||||
|
Returns [code]-1[/code] if no item is found.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_selected_id" qualifiers="const">
|
<method name="get_selected_id" qualifiers="const">
|
||||||
@@ -111,6 +113,7 @@
|
|||||||
<method name="has_selectable_items" qualifiers="const">
|
<method name="has_selectable_items" qualifiers="const">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<description>
|
<description>
|
||||||
|
Returns [code]true[/code] if this button contains at least one item which is not disabled, or marked as a separator.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_item_disabled" qualifiers="const">
|
<method name="is_item_disabled" qualifiers="const">
|
||||||
@@ -124,6 +127,7 @@
|
|||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="idx" type="int" />
|
<param index="0" name="idx" type="int" />
|
||||||
<description>
|
<description>
|
||||||
|
Returns [code]true[/code] if the item at index [param idx] is marked as a separator.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="remove_item">
|
<method name="remove_item">
|
||||||
|
|||||||
Reference in New Issue
Block a user