It would be really helpful to have a pan_getpos to go along with pan_setpos to read the x and y positions of panel elements like buttons. (Also, remove functions for each of the panel elements.)