phoenix_title wx.lib.agw.aui.aui_utilities.TabDragImage

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


class_hierarchy Class Hierarchy

Inheritance diagram for class TabDragImage:

super_classes Known Superclasses

wx.DragImage


method_summary Methods Summary

__init__

Default class constructor.

CreateBitmap

Actually creates the drag and drop bitmap.


api Class API

class TabDragImage(wx.DragImage)

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


Methods

__init__(self, notebook, page, button_state, tabArt)

Default class constructor.

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

Parameters:
  • 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.

Parameters:
  • 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.