MenuBar.this

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

model MenuModel

a #GMenuModel

Return: a new #GtkMenuBar

Throws

ConstructionException GTK+ fails to create the object.

Meta