PopoverMenuBar.addChild

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.

class PopoverMenuBar
bool
addChild
(,
string id
)

Parameters

child Widget

the GtkWidget to add

id string

the ID to insert @child at

Return Value

Type: bool

%TRUE if @id was found and the widget added

Meta