Phoenix Logo

phoenix_title wx.lib.agw.customtreectrl.DragImage

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


class_hierarchy Class Hierarchy

Inheritance diagram for class DragImage:


super_classes Known Superclasses

wx.DragImage


method_summary Methods Summary

__init__ Default class constructor.
CreateBitmap Actually creates the drag and drop bitmap for DragImage.

api Class API



class DragImage(wx.DragImage)

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


Methods



__init__(self, treeCtrl, item)

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

Parameters:


CreateBitmap(self)

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).