How to get the position of a button on the screen in electron

Viewed 74

JS can get the x, y of button in document

BrowserWindow.getPosition () can get the position of the window

But the windows have titlebars and menu can't know their height

0 Answers
Related