Menu.this

Creates a GtkMenu 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 belongs - typically by means of being attached to a widget (see gtk_menu_attach_to_widget()) that is contained within the GtkApplicationWindows widget hierarchy.

  1. this(GtkMenu* gtkMenu)
  2. this()
  3. this(MenuModel model)
    class Menu

Parameters

model MenuModel

a GMenuModel

Throws

ConstructionException GTK+ fails to create the object.

Meta