AGW Logo

agw_title TabDragImage

This class handles the creation of a custom image in case of drag and drop of a notebook tab.

hierarchy Inheritance Diagram

Inheritance diagram for: TabDragImage

Inheritance diagram of TabDragImage


method_summary Methods Summary

__init__Default class constructor.
CreateBitmapActually creates the drag and drop bitmap.

API Class API

class TabDragImage(wx.DragImage)[source]

This class handles the creation of a custom image in case of drag and drop of a notebook tab.



__init__(notebook, page, button_state, tabArt)[source]

Default class constructor.

For internal use: do not call it in your code!

Parameters:
  • notebook – an instance of AuiNotebook;
  • page – the dragged AuiNotebook page;
  • button_state – the state of the close button on the tab;
  • tabArt – an instance of AuiDefaultTabArt or one of its derivations.


CreateBitmap(notebook, page, button_state, tabArt)[source]

Actually creates the drag and drop bitmap.

Parameters:
  • notebook – an instance of AuiNotebook;
  • page – the dragged AuiNotebook page;
  • button_state – the state of the close button on the tab;
  • tabArt – an instance of AuiDefaultTabArt or one of its derivations.
Tree

Table Of Contents

Previous topic

aui.aui_utilities

Next topic

aui.aui_utilities functions