12345678910111213141516171819202122232425262728293031 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the ToolButton.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_ToolButton:
- ToolButton
- ==========
- **Inherits:** :ref:`Button<class_button>` **<** :ref:`BaseButton<class_basebutton>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Flat button helper class.
- Description
- -----------
- This is a helper class to generate a flat :ref:`Button<class_button>` (see :ref:`Button.set_flat<class_Button_set_flat>`), creating a ToolButton is equivalent to:
- ::
- var btn = Button.new()
- btn.set_flat(true)
|