]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/aui.py
Move setting of mac.listctrl.always_use_generic to wx.PyApp.__init__
[wxWidgets.git] / wxPython / src / mac / aui.py
index 7e489cc7f6bc1b07caba533b3c1b7503abe5f08a..28b11774cb2aa549f88af75f1d122071e113dfad 100644 (file)
@@ -201,6 +201,7 @@ AUI_BUTTON_MAXIMIZE_RESTORE = _aui.AUI_BUTTON_MAXIMIZE_RESTORE
 AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE
 AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN
 AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS
 AUI_BUTTON_MINIMIZE = _aui.AUI_BUTTON_MINIMIZE
 AUI_BUTTON_PIN = _aui.AUI_BUTTON_PIN
 AUI_BUTTON_OPTIONS = _aui.AUI_BUTTON_OPTIONS
+AUI_BUTTON_WINDOWLIST = _aui.AUI_BUTTON_WINDOWLIST
 AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT
 AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT
 AUI_BUTTON_UP = _aui.AUI_BUTTON_UP
 AUI_BUTTON_LEFT = _aui.AUI_BUTTON_LEFT
 AUI_BUTTON_RIGHT = _aui.AUI_BUTTON_RIGHT
 AUI_BUTTON_UP = _aui.AUI_BUTTON_UP
@@ -990,8 +991,9 @@ AUI_NB_RIGHT = _aui.AUI_NB_RIGHT
 AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM
 AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT
 AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE
 AUI_NB_BOTTOM = _aui.AUI_NB_BOTTOM
 AUI_NB_TAB_SPLIT = _aui.AUI_NB_TAB_SPLIT
 AUI_NB_TAB_MOVE = _aui.AUI_NB_TAB_MOVE
+AUI_NB_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
 AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
 AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
-AUI_NB_PAGELIST_BUTTON = _aui.AUI_NB_PAGELIST_BUTTON
+AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON
 AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
 AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB
 AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS
 AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
 AUI_NB_CLOSE_ON_ACTIVE_TAB = _aui.AUI_NB_CLOSE_ON_ACTIVE_TAB
 AUI_NB_CLOSE_ON_ALL_TABS = _aui.AUI_NB_CLOSE_ON_ALL_TABS
@@ -1016,31 +1018,36 @@ class AuiTabArt(object):
         return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs)
 
     def DrawBackground(*args, **kwargs):
         return _aui.AuiTabArt_SetMeasuringFont(*args, **kwargs)
 
     def DrawBackground(*args, **kwargs):
-        """DrawBackground(self, DC dc, Rect rect)"""
+        """DrawBackground(self, DC dc, Window wnd, Rect rect)"""
         return _aui.AuiTabArt_DrawBackground(*args, **kwargs)
 
     def DrawTab(*args, **kwargs):
         """
         return _aui.AuiTabArt_DrawBackground(*args, **kwargs)
 
     def DrawTab(*args, **kwargs):
         """
-        DrawTab(self, DC dc, Rect in_rect, String caption, bool active, int close_button_state, 
-            Rect out_tab_rect, Rect out_button_rect, 
-            int x_extent)
+        DrawTab(self, DC dc, Window wnd, Rect in_rect, String caption, bool active, 
+            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):
         """
         """
         return _aui.AuiTabArt_DrawTab(*args, **kwargs)
 
     def DrawButton(*args, **kwargs):
         """
-        DrawButton(self, DC dc, Rect in_rect, int bitmap_id, int button_state, 
-            int orientation, Bitmap bitmap_override, Rect out_rect)
+        DrawButton(self, DC dc, Window wnd, Rect in_rect, int bitmap_id, int button_state, 
+            int orientation, Bitmap bitmap_override, 
+            Rect out_rect)
         """
         return _aui.AuiTabArt_DrawButton(*args, **kwargs)
 
     def GetTabSize(*args, **kwargs):
         """
         """
         return _aui.AuiTabArt_DrawButton(*args, **kwargs)
 
     def GetTabSize(*args, **kwargs):
         """
-        GetTabSize(self, DC dc, String caption, bool active, int close_button_state, 
+        GetTabSize(self, DC dc, Window wnd, String caption, bool active, int close_button_state, 
             int x_extent) -> Size
         """
         return _aui.AuiTabArt_GetTabSize(*args, **kwargs)
 
             int x_extent) -> Size
         """
         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 GetBestTabCtrlSize(*args, **kwargs):
         """GetBestTabCtrlSize(self, Window wnd) -> int"""
         return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
     def GetBestTabCtrlSize(*args, **kwargs):
         """GetBestTabCtrlSize(self, Window wnd) -> int"""
         return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
@@ -1069,10 +1076,6 @@ class AuiNotebookEvent(_core.NotifyEvent):
         """SetSelection(self, int s)"""
         return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
 
         """SetSelection(self, int s)"""
         return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
 
-    def SetOldSelection(*args, **kwargs):
-        """SetOldSelection(self, int s)"""
-        return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
-
     def GetSelection(*args, **kwargs):
         """
         GetSelection(self) -> int
     def GetSelection(*args, **kwargs):
         """
         GetSelection(self) -> int
@@ -1082,12 +1085,25 @@ class AuiNotebookEvent(_core.NotifyEvent):
         """
         return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
 
         """
         return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
 
+    def SetOldSelection(*args, **kwargs):
+        """SetOldSelection(self, int s)"""
+        return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
+
     def GetOldSelection(*args, **kwargs):
         """GetOldSelection(self) -> int"""
         return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
 
     def GetOldSelection(*args, **kwargs):
         """GetOldSelection(self) -> int"""
         return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
 
+    def SetDragSource(*args, **kwargs):
+        """SetDragSource(self, AuiNotebook s)"""
+        return _aui.AuiNotebookEvent_SetDragSource(*args, **kwargs)
+
+    def GetDragSource(*args, **kwargs):
+        """GetDragSource(self) -> AuiNotebook"""
+        return _aui.AuiNotebookEvent_GetDragSource(*args, **kwargs)
+
     old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
     selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
     old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
     selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+    drag_source = property(_aui.AuiNotebookEvent_drag_source_get, _aui.AuiNotebookEvent_drag_source_set)
     OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
     Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
     OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
     Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
@@ -1341,18 +1357,22 @@ def PreAuiNotebook(*args, **kwargs):
     self._setOORInfo(self)
     return val
 
     self._setOORInfo(self)
     return val
 
+wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
 wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
 wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
 wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
 wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
 wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
 wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
+wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND = _aui.wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND
+EVT_AUINOTEBOOK_PAGE_CLOSE = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
 EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
 EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
 EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
 EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
 EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
 EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
 EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
 EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
 EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 )
+EVT_AUINOTEBOOK_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 )
 
 class PyAuiDockArt(AuiDefaultDockArt):
     """
 
 class PyAuiDockArt(AuiDefaultDockArt):
     """