klyn.gui.windows.MenuBar.popupContainsPoint
method
public popupContainsPoint(x as Int, y as Int) as Boolean:
Description

Returns true when a point falls inside the currently open popup.

Native backends use this hook for hit-testing so popup routing stays in sync with the Klyn painting code, including runtime content zoom.

if bar.popupContainsPoint(mouseX, mouseY):
print("inside popup")