Package muntjac :: Module application :: Class WindowAttachEvent
[hide private]
[frames] | no frames]

Class WindowAttachEvent

source code

      object --+    
               |    
util.EventObject --+
                   |
                  WindowAttachEvent

Window attach event.

This event is sent each time a window is attached to the application with Application.addWindow.

Instance Methods [hide private]
 
__init__(self, window)
Creates a event.
source code
 
getWindow(self)
Gets the attached window.
source code
 
getApplication(self)
Gets the application to which the window was attached.
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, window)
(Constructor)

source code 

Creates a event.

Parameters:
  • window - the attached window.
Overrides: object.__init__

getWindow(self)

source code 

Gets the attached window.

Returns:
the attached window.

getApplication(self)

source code 

Gets the application to which the window was attached.

Returns:
the application.