GLOW API version 1.0 reference

Back to
Table of contents

class GlowTextFieldWindowMessage

General information

type: struct
inherits: (none)
module: glowTextFieldWindow

GlowTextFieldWindowMessage encloses data sent to a GlowTextFieldWindowReceiver to notify it of a button press event in the window.

GLOW programs that use text field windows should receive GlowTextFieldWindowMessages to get access to the text data entered.


Event data

GlowTextFieldWindow* window

The window involved.

std::string text

Value of the text field.

int response

Number of the button pressed.

Glow::MouseButton mouseButton

The mouse button that was pressed. Uses the constants defined in Glow.

Glow::Modifiers modifiers

Keyboard modifiers that were down when the mouse button was pressed.

Back to
Table of contents

The GLOW Toolkit