PopoverMenu.addChild
bool addChild(gtk.widget.Widget child, string id)Adds a custom widget to a generated menu.
For this to work, the menu model of popover must have an item with a custom attribute that matches id.
Parameters
child | the [gtk.widget.Widget] to add |
id | the ID to insert child at |
Returns
true if id was found and the widget added