Jeremy Gray
2014-09-19 15:42:26 UTC
Hi all,
I posted a query on stackoverflow
(https://stackoverflow.com/questions/25559139/how-to-detect-mac-retina-display-in-python/25933273)
and Werner suggested I inquire here.
I read that wx python 2.9.5+ supports wx.Window.GetContentScaleFactor (see
http://wxpython.org/Phoenix/docs/html/Window.html#Window.GetContentScaleFactor),
and will return 2.0 for a retina display.
I have a class that inherits from wx.Frame, which inherits from wx.Window.
But GetContentScaleFactor is not there.
3.0.2.dev77483 , so maybe just did not make it into classic?
Thanks for advice / help getting this feature.
--Jeremy
I posted a query on stackoverflow
(https://stackoverflow.com/questions/25559139/how-to-detect-mac-retina-display-in-python/25933273)
and Werner suggested I inquire here.
I read that wx python 2.9.5+ supports wx.Window.GetContentScaleFactor (see
http://wxpython.org/Phoenix/docs/html/Window.html#Window.GetContentScaleFactor),
and will return 2.0 for a retina display.
I have a class that inherits from wx.Frame, which inherits from wx.Window.
But GetContentScaleFactor is not there.
wx.version()'3.0.0.0 osx-cocoa (classic)'>>> isinstance(wx.Frame(None), wx.Window)True>>> 'GetContentScaleFactor' in dir(wx.Frame(None))False
Werner said the GetContentScaleFactor is in wxPython Phoenix:3.0.2.dev77483 , so maybe just did not make it into classic?
Thanks for advice / help getting this feature.
--Jeremy
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.