Python

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • screen resolution?

    0 answers - 1368 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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 :-)
    Andrea.
    Andrea Gavana (gavana (AT) kpo (DOT) 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:
    Message
    From: Keith [mailto:python (AT) cgcreator (DOT) com]
    Sent: 10 May 2006 13:54
    To: wxPython-users (AT) lists (DOT) 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 (AT) lists (DOT) wxwidgets.org
    For additional commands, e-mail:
    wxPython-users-help (AT) lists (DOT) wxwidgets.org
    To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org
    For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org

Re: screen resolution?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Python"

EMSDN.COM