Gtk.MenuButton.prototype.get_popup

function get_popup():Gtk.Menu {
    // Gjs wrapper for gtk_menu_button_get_popup()
}

Returns the Gtk.Menu that pops out of the button.

Since 3.6

Returns

a Gtk.Menu or null.