Adds a custom widget to a generated menubar.
For this to work, the menu model of this must have an item with a `custom` attribute that matches
id
.
this |
a `GtkPopoverMenuBar` |
child |
the `GtkWidget` to add |
id |
the ID to insert |
true if |