]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/aui.py
fixed deadlock when calling wxPostEvent() from worker thread
[wxWidgets.git] / wxPython / src / msw / aui.py
index 2b7f3ed4c9026c8ca36b35eb1e52bbbf34258628..5f77e5755ec021a535bcd66d1b2b573887848eed 100644 (file)
@@ -866,6 +866,7 @@ class AuiDockInfo(object):
     resizable = property(_aui.AuiDockInfo_resizable_get, _aui.AuiDockInfo_resizable_set)
     toolbar = property(_aui.AuiDockInfo_toolbar_get, _aui.AuiDockInfo_toolbar_set)
     fixed = property(_aui.AuiDockInfo_fixed_get, _aui.AuiDockInfo_fixed_set)
+    reserved1 = property(_aui.AuiDockInfo_reserved1_get, _aui.AuiDockInfo_reserved1_set)
     __swig_destroy__ = _aui.delete_AuiDockInfo
     __del__ = lambda self : None;
 _aui.AuiDockInfo_swigregister(AuiDockInfo)
@@ -947,7 +948,7 @@ class AuiDockArt(object):
         return _aui.AuiDockArt_GetColour(*args, **kwargs)
 
     def SetColour(*args, **kwargs):
-        """SetColour(self, int id, wxColor colour)"""
+        """SetColour(self, int id, Colour colour)"""
         return _aui.AuiDockArt_SetColour(*args, **kwargs)
 
     def GetColor(*args, **kwargs):
@@ -1137,25 +1138,19 @@ class AuiTabArt(object):
 
     def DrawTab(*args, **kwargs):
         """
-        DrawTab(self, DC dc, Window wnd, Rect in_rect, String caption, Bitmap bitmap, 
-            bool active, int close_button_state, 
-            Rect out_tab_rect, Rect out_button_rect, 
-            int x_extent)
+        DrawTab(self, DC dc, Window wnd, AuiNotebookPage pane, Rect in_rect, 
+            int close_button_state, Rect out_tab_rect, 
+            Rect out_button_rect, int x_extent)
         """
         return _aui.AuiTabArt_DrawTab(*args, **kwargs)
 
     def DrawButton(*args, **kwargs):
         """
         DrawButton(self, DC dc, Window wnd, Rect in_rect, int bitmap_id, int button_state, 
-            int orientation, Bitmap bitmap_override, 
-            Rect out_rect)
+            int orientation, Rect out_rect)
         """
         return _aui.AuiTabArt_DrawButton(*args, **kwargs)
 
-    def GetIndentSize(*args, **kwargs):
-        """GetIndentSize(self) -> int"""
-        return _aui.AuiTabArt_GetIndentSize(*args, **kwargs)
-
     def GetTabSize(*args, **kwargs):
         """
         GetTabSize(self, DC dc, Window wnd, String caption, Bitmap bitmap, bool active, 
@@ -1163,9 +1158,13 @@ class AuiTabArt(object):
         """
         return _aui.AuiTabArt_GetTabSize(*args, **kwargs)
 
-    def ShowWindowList(*args, **kwargs):
-        """ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int"""
-        return _aui.AuiTabArt_ShowWindowList(*args, **kwargs)
+    def ShowDropDown(*args, **kwargs):
+        """ShowDropDown(self, Window wnd, wxAuiNotebookPageArray items, int active_idx) -> int"""
+        return _aui.AuiTabArt_ShowDropDown(*args, **kwargs)
+
+    def GetIndentSize(*args, **kwargs):
+        """GetIndentSize(self) -> int"""
+        return _aui.AuiTabArt_GetIndentSize(*args, **kwargs)
 
     def GetBestTabCtrlSize(*args, **kwargs):
         """GetBestTabCtrlSize(self, Window wnd, wxAuiNotebookPageArray pages, Size required_bmp_size) -> int"""
@@ -1362,6 +1361,22 @@ class AuiNotebook(_core.Control):
         """
         return _aui.AuiNotebook_Create(*args, **kwargs)
 
+    def SetArtProvider(*args, **kwargs):
+        """SetArtProvider(self, AuiTabArt art)"""
+        return _aui.AuiNotebook_SetArtProvider(*args, **kwargs)
+
+    def GetArtProvider(*args, **kwargs):
+        """GetArtProvider(self) -> AuiTabArt"""
+        return _aui.AuiNotebook_GetArtProvider(*args, **kwargs)
+
+    def SetUniformBitmapSize(*args, **kwargs):
+        """SetUniformBitmapSize(self, Size size)"""
+        return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs)
+
+    def SetTabCtrlHeight(*args, **kwargs):
+        """SetTabCtrlHeight(self, int height)"""
+        return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs)
+
     def AddPage(*args, **kwargs):
         """AddPage(self, Window page, String caption, bool select=False, Bitmap bitmap=wxNullBitmap) -> bool"""
         return _aui.AuiNotebook_AddPage(*args, **kwargs)
@@ -1381,14 +1396,34 @@ class AuiNotebook(_core.Control):
         """RemovePage(self, size_t page) -> bool"""
         return _aui.AuiNotebook_RemovePage(*args, **kwargs)
 
+    def GetPageCount(*args, **kwargs):
+        """GetPageCount(self) -> size_t"""
+        return _aui.AuiNotebook_GetPageCount(*args, **kwargs)
+
+    def GetPage(*args, **kwargs):
+        """GetPage(self, size_t page_idx) -> Window"""
+        return _aui.AuiNotebook_GetPage(*args, **kwargs)
+
+    def GetPageIndex(*args, **kwargs):
+        """GetPageIndex(self, Window page_wnd) -> int"""
+        return _aui.AuiNotebook_GetPageIndex(*args, **kwargs)
+
     def SetPageText(*args, **kwargs):
         """SetPageText(self, size_t page, String text) -> bool"""
         return _aui.AuiNotebook_SetPageText(*args, **kwargs)
 
+    def GetPageText(*args, **kwargs):
+        """GetPageText(self, size_t page_idx) -> String"""
+        return _aui.AuiNotebook_GetPageText(*args, **kwargs)
+
     def SetPageBitmap(*args, **kwargs):
         """SetPageBitmap(self, size_t page, Bitmap bitmap) -> bool"""
         return _aui.AuiNotebook_SetPageBitmap(*args, **kwargs)
 
+    def GetPageBitmap(*args, **kwargs):
+        """GetPageBitmap(self, size_t page_idx) -> Bitmap"""
+        return _aui.AuiNotebook_GetPageBitmap(*args, **kwargs)
+
     def SetSelection(*args, **kwargs):
         """SetSelection(self, size_t new_page) -> size_t"""
         return _aui.AuiNotebook_SetSelection(*args, **kwargs)
@@ -1397,33 +1432,9 @@ class AuiNotebook(_core.Control):
         """GetSelection(self) -> int"""
         return _aui.AuiNotebook_GetSelection(*args, **kwargs)
 
-    def GetPageCount(*args, **kwargs):
-        """GetPageCount(self) -> size_t"""
-        return _aui.AuiNotebook_GetPageCount(*args, **kwargs)
-
-    def GetPage(*args, **kwargs):
-        """GetPage(self, size_t page_idx) -> Window"""
-        return _aui.AuiNotebook_GetPage(*args, **kwargs)
-
-    def GetPageIndex(*args, **kwargs):
-        """GetPageIndex(self, Window page_wnd) -> int"""
-        return _aui.AuiNotebook_GetPageIndex(*args, **kwargs)
-
-    def SetArtProvider(*args, **kwargs):
-        """SetArtProvider(self, AuiTabArt art)"""
-        return _aui.AuiNotebook_SetArtProvider(*args, **kwargs)
-
-    def GetArtProvider(*args, **kwargs):
-        """GetArtProvider(self) -> AuiTabArt"""
-        return _aui.AuiNotebook_GetArtProvider(*args, **kwargs)
-
-    def SetUniformBitmapSize(*args, **kwargs):
-        """SetUniformBitmapSize(self, Size size)"""
-        return _aui.AuiNotebook_SetUniformBitmapSize(*args, **kwargs)
-
-    def SetTabCtrlHeight(*args, **kwargs):
-        """SetTabCtrlHeight(self, int height)"""
-        return _aui.AuiNotebook_SetTabCtrlHeight(*args, **kwargs)
+    def Split(*args, **kwargs):
+        """Split(self, size_t page, int direction)"""
+        return _aui.AuiNotebook_Split(*args, **kwargs)
 
     PageCount = property(GetPageCount,doc="See `GetPageCount`") 
     Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")