DISTRHO Plugin Framework
Public Member Functions | Public Attributes | List of all members
Widget::CharacterInputEvent Struct Reference

#include <Widget.hpp>

Inheritance diagram for Widget::CharacterInputEvent:
Widget::BaseEvent

Public Member Functions

 CharacterInputEvent () noexcept
 
- Public Member Functions inherited from Widget::BaseEvent
 BaseEvent () noexcept
 
virtual ~BaseEvent () noexcept
 

Public Attributes

uint keycode
 
uint character
 
char string [8]
 
- Public Attributes inherited from Widget::BaseEvent
uint mod
 
uint flags
 
uint time
 

Detailed Description

Character input event.

This event represents text input, usually as the result of a key press. The text is given both as a Unicode character code and a UTF-8 string.

Note that this event is generated by the platform's input system, so there is not necessarily a direct correspondence between text events and physical key presses. For example, with some input methods a sequence of several key presses will generate a single character.

keycode Raw key code. character Unicode character code. string UTF-8 string.

See also
onCharacterInput

Constructor & Destructor Documentation

◆ CharacterInputEvent()

Widget::CharacterInputEvent::CharacterInputEvent ( )
inlinenoexcept

Constructor


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