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.

  1. this(GtkMenuBar* gtkMenuBar)
  2. this()
  3. this(MenuModel model)
    class MenuBar

Parameters

model MenuModel

a GMenuModel

Throws

ConstructionException GTK+ fails to create the object.

Meta