class PtHotkeyCallback
{
data; // string
event_f; // string
flags; // flag
key_mods; // unsigned long
key_sym_cap; // unsigned short
widget; // PtWidget
}
This class holds information from the Pt_CB_HOTKEY callback, which is generated when a "hot key" assigned to the widget is pressed.
Also see Pt_CB_HOTKEY in the PtWidget section of the Photon documentation.
| Constant | Description |
|---|---|
| Pt_HOTKEY_SYM | Causes the key_cap_sym variable to be interpreted as a key sym, rather than a key cap. |
| Pt_HOTKEY_IGNORE_MODS | Causes the key_mods variable to be ignored, allowing upper- and lowercase letters to be accepted as hot keys. |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.