klyn.gui.windows.DatePicker.popupContainsPoint
method

    public popupContainsPoint(x as Int, y as Int) as Boolean:

Description

Returns true when a point falls inside the open popup.

Native backends use this method to route popup clicks and wheel events even though the popup is painted outside the regular widget bounds.

    if picker.popupContainsPoint(mouseX, mouseY):
    print("date popup")