.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_MenuButton: MenuButton ========== **Inherits:** :ref:`Button` **<** :ref:`BaseButton` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Special button that brings up a :ref:`PopupMenu` when clicked. Member Functions ---------------- +------------------------------------+-----------------------------------------------------------+ | :ref:`PopupMenu` | :ref:`get_popup` **(** **)** | +------------------------------------+-----------------------------------------------------------+ Signals ------- - **about_to_show** **(** **)** Member Variables ---------------- - :ref:`Array` **items** Description ----------- Special button that brings up a :ref:`PopupMenu` when clicked. That's pretty much all it does, as it's just a helper class when building GUIs. Member Function Description --------------------------- .. _class_MenuButton_get_popup: - :ref:`PopupMenu` **get_popup** **(** **)** Return the :ref:`PopupMenu` contained in this button.