getEvent

fun getEvent(): <Error class: unknown class>

Gets the #GdkEvent that triggered the dropdown menu. If @menu was not triggered by a user interaction, like a mouse click, null is returned.

Return

the menu event or null.

Since

2.40