AGW Logo

agw_title DragImage

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

hierarchy Inheritance Diagram

Inheritance diagram for: DragImage

Inheritance diagram of DragImage


method_summary Methods Summary

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

API Class API

class DragImage(wx.DragImage)[source]

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



__init__(treeCtrl, item)[source]

Default class constructor. For internal use: do not call it in your code!

Parameters:


CreateBitmap()[source]

Actually creates the drag and drop bitmap for DragImage.

Returns:An instance of DragImage, a close representation of the item’s appearance (i.e., a screenshot of the item).
Tree

Table Of Contents

Previous topic

CustomTreeCtrl

Next topic

GenericTreeItem