Event.triggersContextMenu
bool triggersContextMenu()Returns whether a [gdk.event.Event] should trigger a context menu, according to platform conventions.
The right mouse button typically triggers context menus.
This function should always be used instead of simply checking for event->button == [gdk.types.BUTTON_SECONDARY].
Returns
true if the event should trigger a context menu.