action, or null.
Action.createMenu
gtk.widget.Widget createMenu()If action provides a #GtkMenu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.
Returns
the menu item provided by the
Deprecated
Use #GAction and #GMenuModel instead, and create a
#GtkMenu with [gtk.menu.Menu.newFromModel]