]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_core.py
Added typemap for wxIndex*
[wxWidgets.git] / wxPython / src / mac / _core.py
index 15b96cc1d8dc7b3bddc68a2434d31798bb0c9a8d..156482c38bc5d858ce50c8c4e4180c2d7fd39ba6 100644 (file)
@@ -8277,6 +8277,18 @@ def FindWindowByLabel(*args, **kwargs):
 def Window_FromHWND(*args, **kwargs):
     """Window_FromHWND(Window parent, unsigned long _hWnd) -> Window"""
     return _core_.Window_FromHWND(*args, **kwargs)
+
+def GetTopLevelWindows(*args, **kwargs):
+    """
+    GetTopLevelWindows() -> PyObject
+
+    Returns a list of the the application's top-level windows, (frames,
+    dialogs, etc.)  NOTE: Currently this is a copy of the list maintained
+    by wxWidgets, and so it is only valid as long as no top-level windows
+    are closed or new top-level windows are created.
+
+    """
+    return _core_.GetTopLevelWindows(*args, **kwargs)
 #---------------------------------------------------------------------------
 
 class Validator(EvtHandler):