vendredi 11 septembre 2015

How can I get a component's position on screen (screen coordinates)

I want to show a window at a position relative to a given component.

Is there a way to determine a component's screen coordinates?

So I can then use those to set the window's position:

window.setPosition(x, y);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire