GLOW API version 1.0 reference

Back to
Table of contents


class GlowMenuMessage

General information

type: struct
inherits: (none)
module: glow

GlowMenuMessage encloses data sent to a GlowMenuReceiver to notify it of a menu selection event.

Most GLOW programs that use menus will need to use GlowMenuMessages.

Data

Event data

int code

The code associated with the menu item that was selected.

GlowMenu* menu

The menu containing the item that was selected.

GlowSubwindow* window

The subwindow that popped up this menu.

int x

Mouse x location where the menu was originally popped up, in pixel coordinates of the subwindow.

int y

Mouse y location where the menu was originally popped up, in pixel coordinates of the subwindow.

Back to
Table of contents


The GLOW Toolkit