This class handles the creation of a custom image in case of drag and drop of a notebook tab.
Default class constructor. |
|
Actually creates the drag and drop bitmap. |
TabDragImage
(wx.DragImage)¶This class handles the creation of a custom image in case of drag and drop of a notebook tab.
__init__
(self, notebook, page, button_state, tabArt)¶Default class constructor.
For internal use: do not call it in your code!
notebook – an instance of AuiNotebook
;
page – the dragged AuiNotebookPage
page;
button_state (integer) – the state of the close button on the tab;
tabArt – an instance of AuiDefaultTabArt
or one of its derivations.
CreateBitmap
(self, notebook, page, button_state, tabArt)¶Actually creates the drag and drop bitmap.
notebook – an instance of AuiNotebook
;
page – the dragged AuiNotebookPage
page;
button_state (integer) – the state of the close button on the tab;
tabArt – an instance of AuiDefaultTabArt
or one of its derivations.