triggers_context_menu


Description:

public bool triggers_context_menu ()

Returns whether a `GdkEvent` should trigger a context menu, according to platform conventions.

The right mouse button typically triggers context menus. On macOS, Control+left mouse button also triggers.

This function should always be used instead of simply checking for

```c event->button == GDK_BUTTON_SECONDARY ```

Parameters:

this

a `GdkEvent`, currently only button events are meaningful values

Returns:

true if the event should trigger a context menu.