diff --git a/classes/class_treeitem.rst b/classes/class_treeitem.rst index 5f1194e08..4f7d0cd19 100644 --- a/classes/class_treeitem.rst +++ b/classes/class_treeitem.rst @@ -213,7 +213,7 @@ Method Descriptions - void **add_button** **(** :ref:`int` column, :ref:`Texture` button, :ref:`int` button_idx=-1, :ref:`bool` disabled=false, :ref:`String` tooltip="" **)** -Adds a button with :ref:`Texture` ``button`` at column ``column``. The ``button_idx`` index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling ``get_buton_count()`` immediately after this method. Optionally, the button can be ``disabled`` and have a ``tooltip``. +Adds a button with :ref:`Texture` ``button`` at column ``column``. The ``button_idx`` index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling ``get_button_count()`` immediately after this method. Optionally, the button can be ``disabled`` and have a ``tooltip``. .. _class_TreeItem_clear_custom_bg_color: