Package application :: Module Application :: Class TransportWrapper
[hide private]
[frames] | no frames]

Class TransportWrapper

source code

object --+
         |
        TransportWrapper

Wrapper class for items sent between threads by CallItemMethodAsync() in wxApplication.

Simply wraps any object with this class. If the object was an Item, we remember its UUID and use that to get back the right item on in the other thread/view.

Instance Methods [hide private]
 
__init__(self, possibleItem)
Construct a TransportWrapper from an object.
source code
 
unwrap(self)
Unwrap the original object, using the UUID if the original was an Item.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, possibleItem)
(Constructor)

source code 
Construct a TransportWrapper from an object.
Overrides: object.__init__