Button's absolute position?

How to get a button’s absolute position at one time? I need when the login window opens to get the absolute position of the login button link and open somewhere below it, say +50px below. A window has setPositionX and setPositionY but a button has not.

Isn’t it there another solution but this