Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtSuperClassGenListKey()
Invoke the List Key method in a superclass
Synopsis:
int PtSuperClassGenListKey(
PtWidgetClassRef_t *cref,
PtWidget_t *wgt,
PhEvent_t *ev,
PhKeyEvent_t *kev,
PtGenListItem_t *newcur,
unsigned newpos );
Arguments:
- cref
- The superclass whose method you want to call.
- wgt
- A pointer to the widget for which to call the superclass's method.
- ev
- A pointer to a PhEvent_t structure (see the Photon Library Reference) that defines the event.
- kev
- A pointer to a PhKeyEvent_t structure (see the Photon Library Reference) that defines the event data. The function can modify this structure.
- newcur
- A pointer to a PtGenListItem_t structure (see the Photon Widget Reference) for the new current item (if the event is processed normally).
- newpos
- The index of that item (the first item on the list has an index of 1).
Description:
This function can be used to invoke the List Key method of the class defined by cref.
Returns:
A nonzero value if the key event was consumed, 0 otherwise.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtGenList, PtGenListItem_t in the Photon Widget Reference
PhEvent_t, PhKeyEvent_t in the Photon Library Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)