Package muntjac :: Package terminal :: Module paintable :: Class RepaintRequestEvent
[hide private]
[frames] | no frames]

Class RepaintRequestEvent

source code

      object --+    
               |    
util.EventObject --+
                   |
                  RepaintRequestEvent

Repaint request event is thrown when the paintable needs to be repainted. This is typically done when the paint method would return dissimilar UIDL from the previous call of the method.

Instance Methods [hide private]
 
__init__(self, source)
Constructs a new event.
source code
 
getPaintable(self)
Gets the paintable needing repainting.
source code

Inherited from util.EventObject: getSource

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, source)
(Constructor)

source code 

Constructs a new event.

Parameters:
  • source - the paintable needing repaint.
Overrides: object.__init__

getPaintable(self)

source code 

Gets the paintable needing repainting.

Returns:
IPaintable for which the paint method will return dissimilar UIDL from the previous call of the method.