I have go through the manual, search by the keyword "mouse" and
"panel", still can't found any functions that you're described.

I'm just found these 2 functions that are closer to what you
are looking for :

mouse_valid - Indicate whether the mouse pointer is within the engine window.
panel.on_click - left clicking inside the panel bmap.

or is it on the forecast page?

Good luck!