# WoopsiUI::KeyboardEventArgs Class Reference

`#include <keyboardeventargs.h>`

Inheritance diagram for WoopsiUI::KeyboardEventArgs:

List of all members.

## Public Member Functions
| KeyboardEventArgs (WoopsiKeyboard *source, WoopsiKey *key)
const WoopsiKey * | getKey () const

## Detailed Description

Event arguments passed to listeners when a WoopsiKeyboard object raises an event.

## Constructor & Destructor Documentation

WoopsiUI::KeyboardEventArgs::KeyboardEventArgs | ( | WoopsiKeyboard * | source,
|  | WoopsiKey * | key |
| ) |  |  | `[inline]`

Constructor.

Parameters:

  | source | Pointer to the WoopsiKeyboard object that raised the event.
  | key | Pointer to the key that caused the event.

## Member Function Documentation

const WoopsiKey* WoopsiUI::KeyboardEventArgs::getKey | ( |  | ) | const`[inline]`

Get the key that caused the event.

Returns:
  Pointer to the key that caused the event.

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

- keyboardeventargs.h