Changes from Version 1 of documentation/PythonManual/Events

Show
Ignore:
Author:
lloydw (IP: 192.168.0.1)
Timestamp:
12/13/07 18:03:04 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/PythonManual/Events

    v0 v1  
     1[[PageOutline(1-5, Contents)]] 
     2= Events = 
     3 
     4Events in Python are accessed in inline event handlers through the global variable ''event''. 
     5 
     6== Interface == 
     7 
     8=== Properties === 
     9 
     10|| '''Python property''' || '''Brief description''' || '''Equivalent C++ method''' || 
     11|| ''current_element'' || The current element in the event propagation. || ''GetCurrentElement()'' || 
     12|| ''target_element'' || The element the event was originally targeted at. || ''GetTargetElement()'' || 
     13|| ''type'' || The type of the event. || ''GetType()'' || 
     14|| ''parameters'' || Dictionary style container of all the parameters in the event || ''GetParameters()'' || 
     15 
     16=== Methods === 
     17 
     18Events have a single Python method, ''StopPropagation()'', which interrupts the event propagation if allowed by the event (ie, if it is interruptible).