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.
User-defined data associated with the callback.
A string identifying the assigned function to call. If no function has been assigned, the value here will be nil, and the Pt_CB_ACTIVATE callback is generated.
This instance variable may have one or more of the following values:
The active key modifiers for this keystroke.
The key cap for this keystroke.
The PtWidget that attached the callback.