Gtk.ToolItem.prototype.set_proxy_menu_item
function set_proxy_menu_item(menu_item_id:String, menu_item:Gtk.Widget):void {
// Gjs wrapper for gtk_tool_item_set_proxy_menu_item()
}Sets the Gtk.MenuItem used in the toolbar overflow menu. The menu_item_id is used to identify the caller of this function and should also be used with Gtk.ToolItem.prototype.get_proxy_menu_item.
Since 2.4
- menu_item_id
a string used to identify menu_item
- menu_item
a Gtk.MenuItem to be used in the overflow menu