LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XKeyListener Interface Referencepublished

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

import"XKeyListener.idl";

Inheritance diagram for XKeyListener:
XEventListener XInterface

Public Member Functions

void keyPressed ([in] com::sun::star::awt::KeyEvent e)
 is invoked when a key has been pressed. More...
 
void keyReleased ([in] com::sun::star::awt::KeyEvent e)
 is invoked when a key has been released. 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 events.

See also
com::sun::star::awt::XKeyHandler This interface allows you receive (and consume) key events, even on windows which are not at the top.

Member Function Documentation

◆ keyPressed()

void keyPressed ( [in] com::sun::star::awt::KeyEvent  e)

is invoked when a key has been pressed.

◆ keyReleased()

void keyReleased ( [in] com::sun::star::awt::KeyEvent  e)

is invoked when a key has been released.


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