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(Source)[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:

Source (EventObject) –

windowActivated(e)[source]

is invoked when a window is activated.

Return type:

None

Parameters:

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

windowClosed(e)[source]

is invoked when a window has been closed.

Return type:

None

Parameters:

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

windowClosing(e)[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:

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

windowDeactivated(e)[source]

is invoked when a window is deactivated.

Return type:

None

Parameters:

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

windowMinimized(e)[source]

is invoked when a window is iconified.

Return type:

None

Parameters:

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

windowNormalized(e)[source]

is invoked when a window is deiconified.

Return type:

None

Parameters:

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

windowOpened(e)[source]

is invoked when a window is activated.

Return type:

None

Parameters:

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