LibreOffice: KeyEvent Struct Reference

LibreOffice LibreOffice 7.3 SDK API Reference

Loading...
Searching...
No Matches
Public Attributes | List of all members
KeyEvent Struct Referencepublished

specifies a key event. More...

Inheritance diagram for KeyEvent:

## Public Attributes
short | KeyCode
| contains the integer code representing the key of the event.
char | KeyChar
| contains the Unicode character generated by this event or 0.
short | KeyFunc
| contains the function type of the key event.
Public Attributes inherited from InputEvent
short | Modifiers
| contains the modifier keys which were pressed while the event occurred.
Public Attributes inherited from EventObject
com::sun::star::uno::XInterface | Source
| refers to the object that fired the event.

## Detailed Description

specifies a key event.

See also
  InputEvent

## Member Data Documentation

## ◆ KeyChar

char KeyChar

contains the Unicode character generated by this event or 0.

## ◆ KeyCode

short KeyCode

contains the integer code representing the key of the event.

This is a constant from the constant group Key.

## ◆ KeyFunc

short KeyFunc

contains the function type of the key event.

This is a constant from the constant group KeyFunction.

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

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