summaryrefslogtreecommitdiff
path: root/doc/classes/ItemList.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ItemList.xml')
-rw-r--r--doc/classes/ItemList.xml23
1 files changed, 8 insertions, 15 deletions
diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml
index f3d0c271ac..b94a06f170 100644
--- a/doc/classes/ItemList.xml
+++ b/doc/classes/ItemList.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="ItemList" inherits="Control" category="Core" version="3.0-beta">
+<class name="ItemList" inherits="Control" category="Core" version="3.0-stable">
<brief_description>
Control that provides a list of selectable items (and/or icons) in a single column, or optionally in multiple columns.
</brief_description>
@@ -53,12 +53,6 @@
Ensure selection is visible, adjusting the scroll position as necessary.
</description>
</method>
- <method name="get_fixed_icon_size" qualifiers="const">
- <return type="Vector2">
- </return>
- <description>
- </description>
- </method>
<method name="get_item_at_position" qualifiers="const">
<return type="int">
</return>
@@ -198,14 +192,6 @@
Note: This method does not trigger the item selection signal.
</description>
</method>
- <method name="set_fixed_icon_size">
- <return type="void">
- </return>
- <argument index="0" name="size" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
<method name="set_item_custom_bg_color">
<return type="void">
</return>
@@ -322,12 +308,18 @@
</method>
</methods>
<members>
+ <member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect">
+ If [code]true[/code] the currently selected item may be selected again.
+ </member>
<member name="allow_rmb_select" type="bool" setter="set_allow_rmb_select" getter="get_allow_rmb_select">
+ If [code]true[/code] a right mouse button click can select items.
</member>
<member name="auto_height" type="bool" setter="set_auto_height" getter="has_auto_height">
</member>
<member name="fixed_column_width" type="int" setter="set_fixed_column_width" getter="get_fixed_column_width">
</member>
+ <member name="fixed_icon_size" type="Vector2" setter="set_fixed_icon_size" getter="get_fixed_icon_size">
+ </member>
<member name="icon_mode" type="int" setter="set_icon_mode" getter="get_icon_mode" enum="ItemList.IconMode">
</member>
<member name="icon_scale" type="float" setter="set_icon_scale" getter="get_icon_scale">
@@ -339,6 +331,7 @@
<member name="same_column_width" type="bool" setter="set_same_column_width" getter="is_same_column_width">
</member>
<member name="select_mode" type="int" setter="set_select_mode" getter="get_select_mode" enum="ItemList.SelectMode">
+ Allow single or multiple selection. See the [code]SELECT_*[/code] constants.
</member>
</members>
<signals>