+ <autodoc>__nonzero__(self) -> bool</autodoc>
+ <docstring>A ClipboardLocker instance evaluates to True if the clipboard was
+successfully opened.</docstring>
+ </method>
+ </class>
+ <pythoncode>
+#---------------------------------------------------------------------------
+</pythoncode>
+ <class name="VideoMode" oldname="wxVideoMode" module="_misc">
+ <docstring>A simple struct containing video mode parameters for a display</docstring>
+ <constructor name="VideoMode" overloaded="no">
+ <autodoc>__init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode</autodoc>
+ <docstring>A simple struct containing video mode parameters for a display</docstring>
+ <paramlist>
+ <param name="width" type="int" default="0"/>
+ <param name="height" type="int" default="0"/>
+ <param name="depth" type="int" default="0"/>
+ <param name="freq" type="int" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxVideoMode" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <method name="Matches" type="bool" overloaded="no">
+ <autodoc>Matches(self, VideoMode other) -> bool</autodoc>
+ <docstring>Returns true if this mode matches the other one in the sense that all
+non zero fields of the other mode have the same value in this
+one (except for refresh which is allowed to have a greater value)</docstring>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="GetWidth" type="int" overloaded="no">
+ <autodoc>GetWidth(self) -> int</autodoc>
+ <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means unspecified</docstring>
+ </method>
+ <method name="GetHeight" type="int" overloaded="no">
+ <autodoc>GetHeight(self) -> int</autodoc>
+ <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
+unspecified</docstring>
+ </method>
+ <method name="GetDepth" type="int" overloaded="no">
+ <autodoc>GetDepth(self) -> int</autodoc>
+ <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0
+means unspecified/known</docstring>
+ </method>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ <docstring>returns true if the object has been initialized</docstring>
+ </method>
+ <method name="__eq__" type="bool" overloaded="no">
+ <autodoc>__eq__(self, VideoMode other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <method name="__ne__" type="bool" overloaded="no">
+ <autodoc>__ne__(self, VideoMode other) -> bool</autodoc>
+ <paramlist>
+ <param name="other" type="VideoMode" default=""/>
+ </paramlist>
+ </method>
+ <property name="w" type="int" readonly="no"/>
+ <property name="h" type="int" readonly="no"/>
+ <property name="bpp" type="int" readonly="no"/>
+ <property name="refresh" type="int" readonly="no"/>
+ </class>
+ <class name="Display" oldname="wxDisplay" module="_misc">
+ <docstring>Represents a display/monitor attached to the system</docstring>
+ <constructor name="Display" overloaded="no">
+ <autodoc>__init__(self, size_t index=0) -> Display</autodoc>
+ <docstring>Set up a Display instance with the specified display. The displays
+are numbered from 0 to GetCount() - 1, 0 is always the primary display
+and the only one which is always supported</docstring>
+ <paramlist>
+ <param name="index" type="size_t" default="0"/>
+ </paramlist>
+ </constructor>
+ <destructor name="~wxDisplay" overloaded="no">
+ <autodoc>__del__(self)</autodoc>
+ </destructor>
+ <staticmethod name="GetCount" type="size_t" overloaded="no">
+ <autodoc>GetCount() -> size_t</autodoc>
+ <docstring>Return the number of available displays.</docstring>
+ </staticmethod>
+ <staticmethod name="GetFromPoint" type="int" overloaded="no">
+ <autodoc>GetFromPoint(Point pt) -> int</autodoc>
+ <docstring>Find the display where the given point lies, return wx.NOT_FOUND if it
+doesn't belong to any display</docstring>
+ <paramlist>
+ <param name="pt" type="Point" default=""/>
+ </paramlist>
+ </staticmethod>
+ <staticmethod name="GetFromWindow" type="int" overloaded="no">
+ <autodoc>GetFromWindow(Window window) -> int</autodoc>
+ <docstring>Find the display where the given window lies, return wx.NOT_FOUND if
+it is not shown at all.</docstring>
+ <paramlist>
+ <param name="window" type="Window" default=""/>
+ </paramlist>
+ </staticmethod>
+ <method name="IsOk" type="bool" overloaded="no">
+ <autodoc>IsOk(self) -> bool</autodoc>
+ <docstring>Return true if the object was initialized successfully</docstring>
+ </method>
+ <method name="GetGeometry" type="Rect" overloaded="no">
+ <autodoc>GetGeometry(self) -> Rect</autodoc>
+ <docstring>Returns the bounding rectangle of the display whose index was passed
+to the constructor.</docstring>
+ </method>
+ <method name="GetName" type="String" overloaded="no">
+ <autodoc>GetName(self) -> String</autodoc>
+ <docstring>Returns the display's name. A name is not available on all platforms.</docstring>
+ </method>
+ <method name="IsPrimary" type="bool" overloaded="no">
+ <autodoc>IsPrimary(self) -> bool</autodoc>
+ <docstring>Returns true if the display is the primary display. The primary
+display is the one whose index is 0.</docstring>
+ </method>
+ <method name="GetModes" type="PyObject" overloaded="no">
+ <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]</autodoc>
+ <docstring>Enumerate all video modes supported by this display matching the given
+one (in the sense of VideoMode.Match()).
+
+As any mode matches the default value of the argument and there is
+always at least one video mode supported by display, the returned
+array is only empty for the default value of the argument if this
+function is not supported at all on this platform.</docstring>
+ <paramlist>
+ <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
+ </paramlist>
+ </method>
+ <method name="GetCurrentMode" type="VideoMode" overloaded="no">
+ <autodoc>GetCurrentMode(self) -> VideoMode</autodoc>
+ <docstring>Get the current video mode.</docstring>
+ </method>
+ <method name="ChangeMode" type="bool" overloaded="no">
+ <autodoc>ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool</autodoc>
+ <docstring>Changes the video mode of this display to the mode specified in the
+mode parameter.
+
+If wx.DefaultVideoMode is passed in as the mode parameter, the defined
+behaviour is that wx.Display will reset the video mode to the default
+mode used by the display. On Windows, the behavior is normal.
+However, there are differences on other platforms. On Unix variations
+using X11 extensions it should behave as defined, but some
+irregularities may occur.
+
+On wxMac passing in wx.DefaultVideoMode as the mode parameter does
+nothing. This happens because Carbon no longer has access to
+DMUseScreenPrefs, an undocumented function that changed the video mode
+to the system default by using the system's 'scrn' resource.
+
+Returns True if succeeded, False otherwise</docstring>
+ <paramlist>
+ <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
+ </paramlist>
+ </method>
+ <method name="ResetMode" type="" overloaded="no">
+ <autodoc>ResetMode(self)</autodoc>
+ <docstring>Restore the default video mode (just a more readable synonym)</docstring>