Gtk.MenuToolButton.new
function new(icon_widget:Gtk.Widget, label:String):Gtk.ToolItem { // Gjs wrapper for gtk_menu_tool_button_new() }
Creates a new Gtk.MenuToolButton using icon_widget as icon and label as label.
Since 2.6
- icon_widget
a widget that will be used as icon widget, or null
- label
a string that will be used as label, or null
- Returns
the new Gtk.MenuToolButton