Package onep :: Package core :: Package event :: Module EventObject :: Class EventObject
[frames] | no frames]

Class EventObject


This abstract class is meant to be implemented by any class acting as an event object.

Instance Methods
 
__init__(self, element, eventHandle, event_type)
Constructor for EventObject class.

Inherited from AsyncMsg.AsyncMsg: do_event

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

Class Variables

Inherited from AsyncMsg.AsyncMsg: OnepAsyncMsgType

Instance Variables
int event_handle
A unique ID to identify which event listener should receive the event.
int event_type
The type of the event.

Inherited from AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, eventHandle, event_type)
(Constructor)

 

Constructor for EventObject class.

Parameters:
  • eventHandle (int) - A unique ID to identify which event listener should receive the event .
  • event_type (int) - The type of the event.
Overrides: object.__init__