I’m having trouble with wx.Display, I know that wx.Display(Index).IsPrimary() gives us if the Index screen is the main screen or not, but i can’t get a way of getting the variable Index.
With wx.Display(0).IsPrimary() and wx.Display(0).GetGeometry() I can get the geometry of the main screen and with wx.Display(1).GetGeometry() the geometry of the second one, but I don’t know if my program is being run on the main screen or not.
Is there a way to obtain on wich screen is the program being run?
Thanks.
r.py (519 Bytes)