mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-19 20:41:04 +08:00
changes to match AUI API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+14
-14
@@ -494,14 +494,14 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
wxPyAuiTabArt() : wxAuiDefaultTabArt() {}
|
||||
|
||||
|
||||
virtual void DrawBackground( wxDC* dc,
|
||||
virtual void DrawBackground( wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect )
|
||||
{
|
||||
bool found;
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
|
||||
PyObject* odc = wxPyMake_wxObject(dc, false);
|
||||
PyObject* odc = wxPyMake_wxObject(&dc, false);
|
||||
PyObject* ownd = wxPyMake_wxObject(wnd, false);
|
||||
PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
|
||||
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect));
|
||||
@@ -514,7 +514,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect);
|
||||
}
|
||||
|
||||
virtual void DrawTab( wxDC* dc,
|
||||
virtual void DrawTab( wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& in_rect,
|
||||
const wxString& caption,
|
||||
@@ -528,7 +528,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)";
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) {
|
||||
PyObject* odc = wxPyMake_wxObject(dc, false);
|
||||
PyObject* odc = wxPyMake_wxObject(&dc, false);
|
||||
PyObject* ownd = wxPyMake_wxObject(wnd, false);
|
||||
PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
|
||||
PyObject* otext = wx2PyString(caption);
|
||||
@@ -572,7 +572,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
}
|
||||
|
||||
|
||||
virtual void DrawButton( wxDC* dc,
|
||||
virtual void DrawButton( wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& in_rect,
|
||||
int bitmap_id,
|
||||
@@ -585,7 +585,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
const char* errmsg = "DrawButton should return a wxRect";
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) {
|
||||
PyObject* odc = wxPyMake_wxObject(dc, false);
|
||||
PyObject* odc = wxPyMake_wxObject(&dc, false);
|
||||
PyObject* ownd = wxPyMake_wxObject(wnd, false);
|
||||
PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
|
||||
PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0);
|
||||
@@ -610,13 +610,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
}
|
||||
|
||||
|
||||
// TODO
|
||||
// virtual int ShowWindowList(
|
||||
// wxWindow* wnd,
|
||||
// const wxArrayString& items,
|
||||
// int active_idx);
|
||||
|
||||
virtual wxSize GetTabSize( wxDC* dc,
|
||||
virtual wxSize GetTabSize( wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxString& caption,
|
||||
bool active,
|
||||
@@ -628,7 +622,7 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)";
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) {
|
||||
PyObject* odc = wxPyMake_wxObject(dc, false);
|
||||
PyObject* odc = wxPyMake_wxObject(&dc, false);
|
||||
PyObject* ownd = wxPyMake_wxObject(wnd, false);
|
||||
PyObject* otext = wx2PyString(caption);
|
||||
PyObject* ro;
|
||||
@@ -664,6 +658,12 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt
|
||||
return rv;
|
||||
}
|
||||
|
||||
// TODO
|
||||
// virtual int ShowWindowList(
|
||||
// wxWindow* wnd,
|
||||
// const wxArrayString& items,
|
||||
// int active_idx);
|
||||
|
||||
// TODO
|
||||
// virtual int GetBestTabCtrlSize(wxWindow* wnd);
|
||||
|
||||
|
||||
+22
-8
@@ -991,6 +991,7 @@ 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_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
|
||||
AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
|
||||
AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON
|
||||
AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
|
||||
@@ -1036,10 +1037,6 @@ class AuiTabArt(object):
|
||||
"""
|
||||
return _aui.AuiTabArt_DrawButton(*args, **kwargs)
|
||||
|
||||
def ShowWindowList(*args, **kwargs):
|
||||
"""ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int"""
|
||||
return _aui.AuiTabArt_ShowWindowList(*args, **kwargs)
|
||||
|
||||
def GetTabSize(*args, **kwargs):
|
||||
"""
|
||||
GetTabSize(self, DC dc, Window wnd, String caption, bool active, int close_button_state,
|
||||
@@ -1047,6 +1044,10 @@ 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 GetBestTabCtrlSize(*args, **kwargs):
|
||||
"""GetBestTabCtrlSize(self, Window wnd) -> int"""
|
||||
return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
|
||||
@@ -1075,10 +1076,6 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""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
|
||||
@@ -1088,12 +1085,25 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""
|
||||
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 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)
|
||||
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)
|
||||
@@ -1347,18 +1357,22 @@ def PreAuiNotebook(*args, **kwargs):
|
||||
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_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_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 )
|
||||
|
||||
class PyAuiDockArt(AuiDefaultDockArt):
|
||||
"""
|
||||
|
||||
+285
-147
File diff suppressed because it is too large
Load Diff
+22
-8
@@ -991,6 +991,7 @@ 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_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
|
||||
AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
|
||||
AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON
|
||||
AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
|
||||
@@ -1036,10 +1037,6 @@ class AuiTabArt(object):
|
||||
"""
|
||||
return _aui.AuiTabArt_DrawButton(*args, **kwargs)
|
||||
|
||||
def ShowWindowList(*args, **kwargs):
|
||||
"""ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int"""
|
||||
return _aui.AuiTabArt_ShowWindowList(*args, **kwargs)
|
||||
|
||||
def GetTabSize(*args, **kwargs):
|
||||
"""
|
||||
GetTabSize(self, DC dc, Window wnd, String caption, bool active, int close_button_state,
|
||||
@@ -1047,6 +1044,10 @@ 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 GetBestTabCtrlSize(*args, **kwargs):
|
||||
"""GetBestTabCtrlSize(self, Window wnd) -> int"""
|
||||
return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
|
||||
@@ -1075,10 +1076,6 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""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
|
||||
@@ -1088,12 +1085,25 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""
|
||||
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 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)
|
||||
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)
|
||||
@@ -1347,18 +1357,22 @@ def PreAuiNotebook(*args, **kwargs):
|
||||
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_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_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 )
|
||||
|
||||
class PyAuiDockArt(AuiDefaultDockArt):
|
||||
"""
|
||||
|
||||
+285
-147
File diff suppressed because it is too large
Load Diff
+22
-8
@@ -991,6 +991,7 @@ 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_TAB_EXTERNAL_MOVE = _aui.AUI_NB_TAB_EXTERNAL_MOVE
|
||||
AUI_NB_SCROLL_BUTTONS = _aui.AUI_NB_SCROLL_BUTTONS
|
||||
AUI_NB_WINDOWLIST_BUTTON = _aui.AUI_NB_WINDOWLIST_BUTTON
|
||||
AUI_NB_CLOSE_BUTTON = _aui.AUI_NB_CLOSE_BUTTON
|
||||
@@ -1036,10 +1037,6 @@ class AuiTabArt(object):
|
||||
"""
|
||||
return _aui.AuiTabArt_DrawButton(*args, **kwargs)
|
||||
|
||||
def ShowWindowList(*args, **kwargs):
|
||||
"""ShowWindowList(self, Window wnd, wxArrayString items, int active_idx) -> int"""
|
||||
return _aui.AuiTabArt_ShowWindowList(*args, **kwargs)
|
||||
|
||||
def GetTabSize(*args, **kwargs):
|
||||
"""
|
||||
GetTabSize(self, DC dc, Window wnd, String caption, bool active, int close_button_state,
|
||||
@@ -1047,6 +1044,10 @@ 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 GetBestTabCtrlSize(*args, **kwargs):
|
||||
"""GetBestTabCtrlSize(self, Window wnd) -> int"""
|
||||
return _aui.AuiTabArt_GetBestTabCtrlSize(*args, **kwargs)
|
||||
@@ -1075,10 +1076,6 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""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
|
||||
@@ -1088,12 +1085,25 @@ class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""
|
||||
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 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)
|
||||
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)
|
||||
@@ -1347,18 +1357,22 @@ def PreAuiNotebook(*args, **kwargs):
|
||||
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_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_ALLOW_DND = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 1 )
|
||||
|
||||
class PyAuiDockArt(AuiDefaultDockArt):
|
||||
"""
|
||||
|
||||
+285
-147
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user