LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XFocusListener Interface Referencepublished

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

import"XFocusListener.idl";

Inheritance diagram for XFocusListener:
XEventListener XInterface

Public Member Functions

void focusGained ([in] com::sun::star::awt::FocusEvent e)
 is invoked when a window gains the keyboard focus. More...
 
void focusLost ([in] com::sun::star::awt::FocusEvent e)
 is invoked when a window loses the keyboard focus. More...
 
- 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. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

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: