Plank.Items.PopupButton.from_event_button – plank Reference Manual
from_event_button
Description:
public
static
PopupButton
from_event_button
(
EventButton
event)
Convenience method to map
Gdk.EventButton
to this enum.
Parameters:
event
the event to map
Returns:
the PopupButton representation of the event