MenuBar.newFromModel

Creates a new #GtkMenuBar and populates it with menu items and submenus according to model.

The created menu items are connected to actions found in the #GtkApplicationWindow to which the menu bar belongs - typically by means of being contained within the #GtkApplicationWindows widget hierarchy.

Parameters

modela #GMenuModel

Returns

a new #GtkMenuBar