.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/ItemList.xml. .. _class_ItemList: ItemList ======== **Inherits:** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | :ref:`allow_reselect` | ``false`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | :ref:`allow_rmb_select` | ``false`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | :ref:`allow_search` | ``true`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | :ref:`auto_height` | ``false`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | clip_contents | ``true`` (overrides :ref:`Control`) | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`int` | :ref:`fixed_column_width` | ``0`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`Vector2i` | :ref:`fixed_icon_size` | ``Vector2i(0, 0)`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`FocusMode` | focus_mode | ``2`` (overrides :ref:`Control`) | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`IconMode` | :ref:`icon_mode` | ``1`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`float` | :ref:`icon_scale` | ``1.0`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`int` | :ref:`item_count` | ``0`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`int` | :ref:`max_columns` | ``1`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`int` | :ref:`max_text_lines` | ``1`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`bool` | :ref:`same_column_width` | ``false`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`SelectMode` | :ref:`select_mode` | ``0`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`OverrunBehavior` | :ref:`text_overrun_behavior` | ``3`` | +---------------------------------------------------------+-----------------------------------------------------------------------------+---------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`add_icon_item` **(** :ref:`Texture2D` icon, :ref:`bool` selectable=true **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`add_item` **(** :ref:`String` text, :ref:`Texture2D` icon=null, :ref:`bool` selectable=true **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`deselect` **(** :ref:`int` idx **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`deselect_all` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`ensure_current_is_visible` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`force_update_list_size` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_item_at_position` **(** :ref:`Vector2` position, :ref:`bool` exact=false **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_item_custom_bg_color` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_item_custom_fg_color` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Texture2D` | :ref:`get_item_icon` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_item_icon_modulate` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_item_icon_region` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_item_language` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`get_item_metadata` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_item_rect` **(** :ref:`int` idx, :ref:`bool` expand=true **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_item_text` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`TextDirection` | :ref:`get_item_text_direction` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_item_tooltip` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedInt32Array` | :ref:`get_selected_items` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`VScrollBar` | :ref:`get_v_scroll_bar` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_anything_selected` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_item_disabled` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_item_icon_transposed` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_item_selectable` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_item_tooltip_enabled` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_selected` **(** :ref:`int` idx **)** |const| | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`move_item` **(** :ref:`int` from_idx, :ref:`int` to_idx **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_item` **(** :ref:`int` idx **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`select` **(** :ref:`int` idx, :ref:`bool` single=true **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_custom_bg_color` **(** :ref:`int` idx, :ref:`Color` custom_bg_color **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_custom_fg_color` **(** :ref:`int` idx, :ref:`Color` custom_fg_color **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_disabled` **(** :ref:`int` idx, :ref:`bool` disabled **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_icon` **(** :ref:`int` idx, :ref:`Texture2D` icon **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_icon_modulate` **(** :ref:`int` idx, :ref:`Color` modulate **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_icon_region` **(** :ref:`int` idx, :ref:`Rect2` rect **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_icon_transposed` **(** :ref:`int` idx, :ref:`bool` transposed **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_language` **(** :ref:`int` idx, :ref:`String` language **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_metadata` **(** :ref:`int` idx, :ref:`Variant` metadata **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_selectable` **(** :ref:`int` idx, :ref:`bool` selectable **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_text` **(** :ref:`int` idx, :ref:`String` text **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_text_direction` **(** :ref:`int` idx, :ref:`TextDirection` direction **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_tooltip` **(** :ref:`int` idx, :ref:`String` tooltip **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_item_tooltip_enabled` **(** :ref:`int` idx, :ref:`bool` enable **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`sort_items_by_text` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Theme Properties ---------------- .. table:: :widths: auto +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Color` | :ref:`font_color` | ``Color(0.65, 0.65, 0.65, 1)`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Color` | :ref:`font_hovered_color` | ``Color(0.95, 0.95, 0.95, 1)`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Color` | :ref:`font_outline_color` | ``Color(0, 0, 0, 1)`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Color` | :ref:`font_selected_color` | ``Color(1, 1, 1, 1)`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Color` | :ref:`guide_color` | ``Color(0.7, 0.7, 0.7, 0.25)`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`h_separation` | ``4`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`icon_margin` | ``4`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`line_separation` | ``2`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`outline_size` | ``0`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`v_separation` | ``4`` | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`Font` | :ref:`font` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`int` | :ref:`font_size` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`cursor` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`cursor_unfocused` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`focus` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`hovered` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`panel` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`selected` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ | :ref:`StyleBox` | :ref:`selected_focus` | | +---------------------------------+----------------------------------------------------------------------------+--------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_ItemList_signal_empty_clicked: .. rst-class:: classref-signal **empty_clicked** **(** :ref:`Vector2` at_position, :ref:`int` mouse_button_index **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_signal_item_activated: .. rst-class:: classref-signal **item_activated** **(** :ref:`int` index **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_signal_item_clicked: .. rst-class:: classref-signal **item_clicked** **(** :ref:`int` index, :ref:`Vector2` at_position, :ref:`int` mouse_button_index **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_signal_item_selected: .. rst-class:: classref-signal **item_selected** **(** :ref:`int` index **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_signal_multi_selected: .. rst-class:: classref-signal **multi_selected** **(** :ref:`int` index, :ref:`bool` selected **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_ItemList_IconMode: .. rst-class:: classref-enumeration enum **IconMode**: .. _class_ItemList_constant_ICON_MODE_TOP: .. rst-class:: classref-enumeration-constant :ref:`IconMode` **ICON_MODE_TOP** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_ItemList_constant_ICON_MODE_LEFT: .. rst-class:: classref-enumeration-constant :ref:`IconMode` **ICON_MODE_LEFT** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_ItemList_SelectMode: .. rst-class:: classref-enumeration enum **SelectMode**: .. _class_ItemList_constant_SELECT_SINGLE: .. rst-class:: classref-enumeration-constant :ref:`SelectMode` **SELECT_SINGLE** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_ItemList_constant_SELECT_MULTI: .. rst-class:: classref-enumeration-constant :ref:`SelectMode` **SELECT_MULTI** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_ItemList_property_allow_reselect: .. rst-class:: classref-property :ref:`bool` **allow_reselect** = ``false`` .. rst-class:: classref-property-setget - void **set_allow_reselect** **(** :ref:`bool` value **)** - :ref:`bool` **get_allow_reselect** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_allow_rmb_select: .. rst-class:: classref-property :ref:`bool` **allow_rmb_select** = ``false`` .. rst-class:: classref-property-setget - void **set_allow_rmb_select** **(** :ref:`bool` value **)** - :ref:`bool` **get_allow_rmb_select** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_allow_search: .. rst-class:: classref-property :ref:`bool` **allow_search** = ``true`` .. rst-class:: classref-property-setget - void **set_allow_search** **(** :ref:`bool` value **)** - :ref:`bool` **get_allow_search** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_auto_height: .. rst-class:: classref-property :ref:`bool` **auto_height** = ``false`` .. rst-class:: classref-property-setget - void **set_auto_height** **(** :ref:`bool` value **)** - :ref:`bool` **has_auto_height** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_fixed_column_width: .. rst-class:: classref-property :ref:`int` **fixed_column_width** = ``0`` .. rst-class:: classref-property-setget - void **set_fixed_column_width** **(** :ref:`int` value **)** - :ref:`int` **get_fixed_column_width** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_fixed_icon_size: .. rst-class:: classref-property :ref:`Vector2i` **fixed_icon_size** = ``Vector2i(0, 0)`` .. rst-class:: classref-property-setget - void **set_fixed_icon_size** **(** :ref:`Vector2i` value **)** - :ref:`Vector2i` **get_fixed_icon_size** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_icon_mode: .. rst-class:: classref-property :ref:`IconMode` **icon_mode** = ``1`` .. rst-class:: classref-property-setget - void **set_icon_mode** **(** :ref:`IconMode` value **)** - :ref:`IconMode` **get_icon_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_icon_scale: .. rst-class:: classref-property :ref:`float` **icon_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_icon_scale** **(** :ref:`float` value **)** - :ref:`float` **get_icon_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_item_count: .. rst-class:: classref-property :ref:`int` **item_count** = ``0`` .. rst-class:: classref-property-setget - void **set_item_count** **(** :ref:`int` value **)** - :ref:`int` **get_item_count** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_max_columns: .. rst-class:: classref-property :ref:`int` **max_columns** = ``1`` .. rst-class:: classref-property-setget - void **set_max_columns** **(** :ref:`int` value **)** - :ref:`int` **get_max_columns** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_max_text_lines: .. rst-class:: classref-property :ref:`int` **max_text_lines** = ``1`` .. rst-class:: classref-property-setget - void **set_max_text_lines** **(** :ref:`int` value **)** - :ref:`int` **get_max_text_lines** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_same_column_width: .. rst-class:: classref-property :ref:`bool` **same_column_width** = ``false`` .. rst-class:: classref-property-setget - void **set_same_column_width** **(** :ref:`bool` value **)** - :ref:`bool` **is_same_column_width** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_select_mode: .. rst-class:: classref-property :ref:`SelectMode` **select_mode** = ``0`` .. rst-class:: classref-property-setget - void **set_select_mode** **(** :ref:`SelectMode` value **)** - :ref:`SelectMode` **get_select_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_property_text_overrun_behavior: .. rst-class:: classref-property :ref:`OverrunBehavior` **text_overrun_behavior** = ``3`` .. rst-class:: classref-property-setget - void **set_text_overrun_behavior** **(** :ref:`OverrunBehavior` value **)** - :ref:`OverrunBehavior` **get_text_overrun_behavior** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_ItemList_method_add_icon_item: .. rst-class:: classref-method :ref:`int` **add_icon_item** **(** :ref:`Texture2D` icon, :ref:`bool` selectable=true **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_add_item: .. rst-class:: classref-method :ref:`int` **add_item** **(** :ref:`String` text, :ref:`Texture2D` icon=null, :ref:`bool` selectable=true **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_clear: .. rst-class:: classref-method void **clear** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_deselect: .. rst-class:: classref-method void **deselect** **(** :ref:`int` idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_deselect_all: .. rst-class:: classref-method void **deselect_all** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_ensure_current_is_visible: .. rst-class:: classref-method void **ensure_current_is_visible** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_force_update_list_size: .. rst-class:: classref-method void **force_update_list_size** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_at_position: .. rst-class:: classref-method :ref:`int` **get_item_at_position** **(** :ref:`Vector2` position, :ref:`bool` exact=false **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_custom_bg_color: .. rst-class:: classref-method :ref:`Color` **get_item_custom_bg_color** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_custom_fg_color: .. rst-class:: classref-method :ref:`Color` **get_item_custom_fg_color** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_icon: .. rst-class:: classref-method :ref:`Texture2D` **get_item_icon** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_icon_modulate: .. rst-class:: classref-method :ref:`Color` **get_item_icon_modulate** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_icon_region: .. rst-class:: classref-method :ref:`Rect2` **get_item_icon_region** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_language: .. rst-class:: classref-method :ref:`String` **get_item_language** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_metadata: .. rst-class:: classref-method :ref:`Variant` **get_item_metadata** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_rect: .. rst-class:: classref-method :ref:`Rect2` **get_item_rect** **(** :ref:`int` idx, :ref:`bool` expand=true **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_text: .. rst-class:: classref-method :ref:`String` **get_item_text** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_text_direction: .. rst-class:: classref-method :ref:`TextDirection` **get_item_text_direction** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_item_tooltip: .. rst-class:: classref-method :ref:`String` **get_item_tooltip** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_selected_items: .. rst-class:: classref-method :ref:`PackedInt32Array` **get_selected_items** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_get_v_scroll_bar: .. rst-class:: classref-method :ref:`VScrollBar` **get_v_scroll_bar** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_anything_selected: .. rst-class:: classref-method :ref:`bool` **is_anything_selected** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_item_disabled: .. rst-class:: classref-method :ref:`bool` **is_item_disabled** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_item_icon_transposed: .. rst-class:: classref-method :ref:`bool` **is_item_icon_transposed** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_item_selectable: .. rst-class:: classref-method :ref:`bool` **is_item_selectable** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_item_tooltip_enabled: .. rst-class:: classref-method :ref:`bool` **is_item_tooltip_enabled** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_is_selected: .. rst-class:: classref-method :ref:`bool` **is_selected** **(** :ref:`int` idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_move_item: .. rst-class:: classref-method void **move_item** **(** :ref:`int` from_idx, :ref:`int` to_idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_remove_item: .. rst-class:: classref-method void **remove_item** **(** :ref:`int` idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_select: .. rst-class:: classref-method void **select** **(** :ref:`int` idx, :ref:`bool` single=true **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_custom_bg_color: .. rst-class:: classref-method void **set_item_custom_bg_color** **(** :ref:`int` idx, :ref:`Color` custom_bg_color **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_custom_fg_color: .. rst-class:: classref-method void **set_item_custom_fg_color** **(** :ref:`int` idx, :ref:`Color` custom_fg_color **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_disabled: .. rst-class:: classref-method void **set_item_disabled** **(** :ref:`int` idx, :ref:`bool` disabled **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_icon: .. rst-class:: classref-method void **set_item_icon** **(** :ref:`int` idx, :ref:`Texture2D` icon **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_icon_modulate: .. rst-class:: classref-method void **set_item_icon_modulate** **(** :ref:`int` idx, :ref:`Color` modulate **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_icon_region: .. rst-class:: classref-method void **set_item_icon_region** **(** :ref:`int` idx, :ref:`Rect2` rect **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_icon_transposed: .. rst-class:: classref-method void **set_item_icon_transposed** **(** :ref:`int` idx, :ref:`bool` transposed **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_language: .. rst-class:: classref-method void **set_item_language** **(** :ref:`int` idx, :ref:`String` language **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_metadata: .. rst-class:: classref-method void **set_item_metadata** **(** :ref:`int` idx, :ref:`Variant` metadata **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_selectable: .. rst-class:: classref-method void **set_item_selectable** **(** :ref:`int` idx, :ref:`bool` selectable **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_text: .. rst-class:: classref-method void **set_item_text** **(** :ref:`int` idx, :ref:`String` text **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_text_direction: .. rst-class:: classref-method void **set_item_text_direction** **(** :ref:`int` idx, :ref:`TextDirection` direction **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_tooltip: .. rst-class:: classref-method void **set_item_tooltip** **(** :ref:`int` idx, :ref:`String` tooltip **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_set_item_tooltip_enabled: .. rst-class:: classref-method void **set_item_tooltip_enabled** **(** :ref:`int` idx, :ref:`bool` enable **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_method_sort_items_by_text: .. rst-class:: classref-method void **sort_items_by_text** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Theme Property Descriptions --------------------------- .. _class_ItemList_theme_color_font_color: .. rst-class:: classref-themeproperty :ref:`Color` **font_color** = ``Color(0.65, 0.65, 0.65, 1)`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_color_font_hovered_color: .. rst-class:: classref-themeproperty :ref:`Color` **font_hovered_color** = ``Color(0.95, 0.95, 0.95, 1)`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_color_font_outline_color: .. rst-class:: classref-themeproperty :ref:`Color` **font_outline_color** = ``Color(0, 0, 0, 1)`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_color_font_selected_color: .. rst-class:: classref-themeproperty :ref:`Color` **font_selected_color** = ``Color(1, 1, 1, 1)`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_color_guide_color: .. rst-class:: classref-themeproperty :ref:`Color` **guide_color** = ``Color(0.7, 0.7, 0.7, 0.25)`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_constant_h_separation: .. rst-class:: classref-themeproperty :ref:`int` **h_separation** = ``4`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_constant_icon_margin: .. rst-class:: classref-themeproperty :ref:`int` **icon_margin** = ``4`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_constant_line_separation: .. rst-class:: classref-themeproperty :ref:`int` **line_separation** = ``2`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_constant_outline_size: .. rst-class:: classref-themeproperty :ref:`int` **outline_size** = ``0`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_constant_v_separation: .. rst-class:: classref-themeproperty :ref:`int` **v_separation** = ``4`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_font_font: .. rst-class:: classref-themeproperty :ref:`Font` **font** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_font_size_font_size: .. rst-class:: classref-themeproperty :ref:`int` **font_size** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_cursor: .. rst-class:: classref-themeproperty :ref:`StyleBox` **cursor** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_cursor_unfocused: .. rst-class:: classref-themeproperty :ref:`StyleBox` **cursor_unfocused** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_focus: .. rst-class:: classref-themeproperty :ref:`StyleBox` **focus** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_hovered: .. rst-class:: classref-themeproperty :ref:`StyleBox` **hovered** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_panel: .. rst-class:: classref-themeproperty :ref:`StyleBox` **panel** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_selected: .. rst-class:: classref-themeproperty :ref:`StyleBox` **selected** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ItemList_theme_style_selected_focus: .. rst-class:: classref-themeproperty :ref:`StyleBox` **selected_focus** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`