class PtListInput
{
consumed; // integer
item; // string
index; // unsigned short
pos; // PhPoint
}
This class holds information from the Pt_CB_LIST_INPUT callback, which is generated for any mouse of key event on a PtList.
Also see Pt_CB_LIST_INPUT in the PtList section of the Photon documentation.
An integer used to suppress event handling, except mouse events, which are always consumed. Possible values include:
| Constant | Description |
|---|---|
| Pt_CONTINUE | The default, it causes an event to be handled normally. |
| Pt_END | Causes an event to be consumed. |
| Pt_HALT | Passes an event to the parent widget. |
| Any other value | causes the event to be consumed, and suppresses further processing. |
A string indicating the item that the mouse is pointing to, or the future current item after the widget processes an event.
The item index number.
A PhPoint indicating the relative position of the pointer to the item.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.