If @nil, the
popup shows immediately on the down event and may be selected by
dragging to an item. If an integer the gesture behaves like a click_gesture
object. If the user drags more than the specified distance the gesture
is popup_gesture->cancel’ed
otherwise the menu is displayed on the up event.