dabo Commit
Revision 3646
Date: 2007-11-11 07:31:38 -0800 (Sun, 11 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3646
Changed:
U trunk/dabo/ui/uiwx/__init__.py
Log:
Added dabo.ui.getDisplaySize(), which will return the resolution in pixels of
the current display in (width, height) format.
Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py 2007-11-11 14:54:02 UTC (rev 3645)
+++ trunk/dabo/ui/uiwx/__init__.py 2007-11-11 15:31:38 UTC (rev 3646)
@@ -574,6 +574,11 @@
return wx.GetMouseState().middleDown
+def getDisplaySize():
+ """Returns the current display resolution in (width, height) format."""
+ return wx.DisplaySize()
+
+
#### This will have to wait until I can figure out how to simulate a
#### modal form for the calendar.
# def popupCalendar(dt=None, x=None, y=None, pos="topleft"):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]