Special button that brings up a PopupMenu when clicked.
    public class MenuButton : Button

Special button that brings up a PopupMenu when clicked. That’s pretty much all it does, as it’s just a helper class when building GUIs.

Inheritance Chain

Constructors

    public MenuButton()

Signals

    "about_to_show" ()

Emitted when PopupMenu of this MenuButton is about to show.

Properties

    public Array Items { get; set; }

Methods

    public PopupMenu GetPopup()

Return the PopupMenu contained in this button.

    public void SetDisableShortcuts(bool disabled)
Tags: