// PopupAtPointer() is a wrapper for gtk_menu_popup_at_pointer(), on older versions it uses PopupAtMouseCursor func (v *Menu) PopupAtPointer(_ *gdk.Event) { C.gtk_menu_popup(v.native(), nil, nil, nil, nil, C.guint(0), C.gtk_get_current_event_time()) }
func gtk_menu_popup(m GtkWidget, parent GtkWidget, parentitem GtkWidget, fn GPointer, data GPointer, button int, time int) { C.gtk_menu_popup(Arg(m), Arg(parent), Arg(parentitem), Arg(fn), Arg(data), C.int(button), C.int(time)) }