Class XTopWindowAdapter

class ooodev.listeners.x_top_window_adapter.XTopWindowAdapter(*args, **kwargs)[source]

makes it possible to receive window events.

This class is meant a parent class.

Parameters:
  • args (Any) –

  • kwargs (Any) –

Return type:

Any

disposing(event)[source]

gets called when the broadcaster is about to be disposed.

All listeners and all other objects, which reference the broadcaster should release the reference to the source. No method should be invoked anymore on this object ( including XComponent.removeEventListener() ).

This method is called for every listener registration of derived listener interfaced, not only for registrations at XComponent.

Return type:

None

Parameters:

event (EventObject) –

windowActivated(event)[source]

is invoked when a window is activated.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowClosed(event)[source]

is invoked when a window has been closed.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowClosing(event)[source]

is invoked when a window is in the process of being closed.

The close operation can be overridden at this point.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowDeactivated(event)[source]

is invoked when a window is deactivated.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowMinimized(event)[source]

is invoked when a window is iconified.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowNormalized(event)[source]

is invoked when a window is deiconified.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –

windowOpened(event)[source]

is invoked when a window is activated.

Return type:

None

Parameters:

event (com.sun.star.lang.EventObject) –