screen resolution?

Hello Keith,

  you can use wx.Display(), like that:

wx.Display(0).GetGeometry()

wx.Rect(0, 0, 1600, 1200)

Where the argument of wx.Display() (0, 1, 2, etc...) are your monitors. It's a very useful class when you have multiple monitors, but I hope you are not going to use wxPython mixed with VTK with multiple monitors :slight_smile:

Andrea.

···

_________________________________________
Andrea Gavana (gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London

Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web: http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

-----Original Message-----
From: Keith [mailto:python@cgcreator.com]
Sent: 10 May 2006 13:54
To: wxPython-users@lists.wxwidgets.org
Subject: RE: [wxPython-users] screen resolution?

I have two monitors... when set to horizontal span... these
function works fine... but when I have it set to dual view...
it only gives me the size of one monitor... is there a way to
check which setting is set

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org