Method
GtkPopoverMenuadd_child
Declaration [src]
gboolean
gtk_popover_menu_add_child (
GtkPopoverMenu* popover,
GtkWidget* child,
const char* id
)
Description [src]
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 |
GtkWidget |
The |
|
The data is owned by the caller of the function. | |
id |
const char* |
The ID to insert |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |