GLOW API version 1.0 reference

Back to
Table of contents


class GlowWidgetKeyboardData

General information

type: struct
inherits: (none)
module: glowWidget

GlowWidgetKeyboardData encloses data sent to a GlowWidgetKeyboardFilter to allow it to filter keyboard events set to a GlowWidgetRoot

GLOW programs that need to filter widget keyboard events will need to use GlowWidgetKeyboardData.

Data

Event data

GlowWidgetRoot* root

The widget root receiving the event.

Glow::KeyCode key

The key pressed.

int x

The x position of the mouse pointer when the keypress occurred.

int y

The y position of the mouse pointer when the keypress occurred.

Glow::Modifiers modifiers

The modifier keys that were down when the keypress occurred.

Back to
Table of contents


The GLOW Toolkit