PopoverMenuBar.addChild

bool addChild(gtk.widget.Widget child, string id)

Adds a custom widget to a generated menubar.

For this to work, the menu model of bar must have an item with a custom attribute that matches id.

Parameters

childthe [gtk.widget.Widget] to add
idthe ID to insert child at

Returns

true if id was found and the widget added