| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class CustomDataObject |
|
object--+ |DataObject--+ |DataObjectSimple--+ | CustomDataObject
wx.CustomDataObject is a specialization of wx.DataObjectSimple for
some application-specific data in arbitrary format. Python strings
are used for getting and setting data, but any picklable object can
easily be transfered via strings. A copy of the data is stored in the
data object.
| Method Summary | |
|---|---|
| CustomDataObject |
__init__(self, String formatName) -> CustomDataObject __init__(self) -> CustomDataObject |
| String |
Returns the data bytes from the data object as a string. |
| size_t |
Get the size of the data. |
| bool |
Copy the data value to the data object. |
| bool |
Copy the data value to the data object. |
| Property Summary | |
|---|---|
Data: See GetData and SetData | |
Size: See GetSize | |
thisown: The membership flag | |
| Class Variable Summary |
|---|
| Method Details |
|---|
__init__(self,
format)
|
GetData(self)Returns the data bytes from the data object as a string.
|
GetSize(self)Get the size of the data.
|
SetData(self, data)Copy the data value to the data object.
|
TakeData(self, data)Copy the data value to the data object.
|
| Property Details |
|---|
Data |
SizeSee
|
thisownThe membership flag |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:11:28 2007 | http://epydoc.sf.net |