class_menubutton - dragonsoulz/godot GitHub Wiki

MenuButton

####Inherits: Button ####Category: Core

Brief Description

Special button that brings up a PopupMenu when clicked.

Member Functions

Signals

  • about_to_show ( )

Description

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

Member Function Description

get_popup

Return the PopupMenu contained in this button.