Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtSuperClassGenListSelect

PtSuperClassGenListSelect

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtSuperClassGenListSelect()

Invoke the List Select method in a superclass

Synopsis:

void PtSuperClassGenListSelect(
    PtWidgetClassRef_t *cref, 
    PtWidget_t *wgt,
    PtGenListItem_t *item,
    int pos,
    int column,
    int nitems,
    int subtype, 
    PhEvent_t *ev );

Arguments:

cref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.
item
A pointer to the PtGenListItem_t structure (see the Widget Reference). In Pt_SELECTION_MODE_RANGE selection mode, it's a pointer to the first selected item. In other modes, it's a pointer to the item that has been selected or unselected.
pos
The index of that item (the first item in the list has an index of 1).
column
The index of the column under the mouse pointer, or -1 if the pointer isn't on a column or the widget has no columns.
nitems
The number of items being selected or unselected.
subtype
The selection subtype.
ev
A pointer to a PhEvent_t structure (see the Photon Library Reference) that defines the event.

Description:

This function can be used to invoke the List Select method of the class defined by cref.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t in the Photon Widget Reference

PhEvent_t in the Photon Library Reference