get_event


Description:

[ Version ( since = "2.40" ) ]
public unowned Event get_event ()

Gets the Event that triggered the dropdown menu.

If this was not triggered by a user interaction, like a mouse click, null is returned.

Parameters:

this

a OptionMenu

Returns:

the menu event or null.