Menu.attachToWidget

Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls gtk_menu_detach() during its destruction.

class Menu
void
attachToWidget

Parameters

attachWidget Widget

the GtkWidget that the menu will be attached to.

detacher GtkMenuDetachFunc

the user supplied callback function that will be called when the menu calls gtk_menu_detach().

Meta