wx.ImageDataObject¶wx.ImageDataObject is a specialization of wx.DataObject for image data.
It can be used e.g. when you need to put on and retrieve from the clipboard a wx.Image with its metadata (like image resolution).
Added in version 4.1/wxWidgets-3.1.5.
Class Hierarchy¶
Inheritance diagram for class ImageDataObject:
Methods Summary¶Constructor, optionally passing an image (otherwise use |
|
Returns a list of wx.DataFormat objects which this data object |
|
Returns the image associated with the data object. |
|
Sets the image stored by the data object. |
Properties Summary¶See |
|
Class API¶Possible constructors:
ImageDataObject(image=NullImage) -> None
ImageDataObject is a specialization of DataObject for image data.
Constructor, optionally passing an image (otherwise use SetImage later).
image (wx.Image)
None
Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.
Any
bool
Sets the image stored by the data object.
image (wx.Image)
None
See GetAllFormats