Gtk.MenuToolButton.prototype.set_menu
function set_menu(menu:Gtk.Widget):void { // Gjs wrapper for gtk_menu_tool_button_set_menu() }
Sets the Gtk.Menu that is popped up when the user clicks on the arrow. If menu is NULL, the arrow button becomes insensitive.
Since 2.6
- menu
the Gtk.Menu associated with Gtk.MenuToolButton