Home | Trees | Index | Help |
|
---|
Package wx :: Class BitmapDataObject |
|
object
--+ |DataObject
--+ |DataObjectSimple
--+ | BitmapDataObject
PyBitmapDataObject
wx.Clipboard
or a wx.DropSource
.See Also: wx.PyBitmapDataObject
if you wish to override GetBitmap
to increase efficiency.
Method Summary | |
---|---|
BitmapDataObject |
Constructor, optionally passing a bitmap (otherwise use SetBitmap
later). |
__repr__(self)
| |
Bitmap |
Returns the bitmap associated with the data object. |
Sets the bitmap associated with the data object. |
Class Variable Summary |
---|
Method Details |
---|
__init__(self,
bitmap=wxNullBitmap)
Constructor, optionally passing a bitmap (otherwise use |
GetBitmap(self)Returns the bitmap associated with the data object. You may wish to override this method (by deriving fromwx.PyBitmapDataObject ) when
offering data on-demand, but this is not required by wxWidgets'
internals. Use this method to get data in bitmap form from the
wx.Clipboard .
|
SetBitmap(self, bitmap)Sets the bitmap associated with the data object. This method is called when the data object receives data. Usually there will be no reason to override this function.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:22:59 2005 | http://epydoc.sf.net |