GLOW API version 1.0 reference

Back to
Table of contents

typedef GlowTextFieldWindowReceiver

General information

type: abstract
synonym: TReceiver<const GlowTextFieldWindowMessage&>
module: glowTextFieldWindow

GlowTextFieldWindowReceiver is the base class of receivers of text field window events. Subclasses should override the OnMessage() method to handle an event.

GLOW programs that use text field windows should use GlowTextFieldWindowReceivers to receive the text data when a window is dismissed.



typedef const GlowTextFieldWindowMessage& MessageType

A synonym for the type of message.




Automatically informs any attached GlowTextFieldWindows that this receiver is going away.

Information on senders
A receiver can provide rudimentary information on which senders are bound to it.

unsigned int NumSenders(void)

Returns the number of text field windows bound to this receiver.

unsigned int NumTrackers(void)

Returns the number of trackers bound to this receiver.

Overrideable methods

Receiving messages

virtual void OnMessage(const GlowTextFieldWindowMessage& message) = 0

This is a pure virtual method that must be overridden by a subclass. It is called whenever the receiver receives an event.

Back to
Table of contents

The GLOW Toolkit