LibreOffice: XFocusListener Interface Reference

LibreOffice LibreOffice 7.3 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
XFocusListener Interface Referencepublished

makes it possible to receive keyboard focus events. More...

Inheritance diagram for XFocusListener:

## Public Member Functions
void | focusGained ([in] com::sun::star::awt::FocusEvent e)
| is invoked when a window gains the keyboard focus.
void | focusLost ([in] com::sun::star::awt::FocusEvent e)
| is invoked when a window loses the keyboard focus.
Public Member Functions inherited from XEventListener
void | disposing ([in] com::sun::star::lang::EventObject Source)
| gets called when the broadcaster is about to be disposed.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

makes it possible to receive keyboard focus events.

The window which has the keyboard focus is the window which gets the keyboard events.

## Member Function Documentation

## ◆ focusGained()

void focusGained | ( | [in] com::sun::star::awt::FocusEvent | e | ) |

is invoked when a window gains the keyboard focus.

See also
  XActivateListener::windowActivated

## ◆ focusLost()

void focusLost | ( | [in] com::sun::star::awt::FocusEvent | e | ) |

is invoked when a window loses the keyboard focus.

See also
  XActivateListener::windowDeactivated

The documentation for this interface was generated from the following file:

- com/sun/star/awt/XFocusListener.idl