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.
the gtk.widget.Widget to add
the ID to insert child at
true if id was found and the widget added
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.