Hi,
how can I select all items of a PtList? It seems like there is no function PtListSelectAll().
Hi,
how can I select all items of a PtList? It seems like there is no function PtListSelectAll().
Ok, meanwhile I tried this code:
PtSetArg(&args[0],Pt_ARG_ITEMS,&items,&num);
PtGetResources(widget,1,args);
for (i=0; i<*num; i++) PtListSelectPos(widget,i+1);
The PtList is of selection type Pt_RANGE_MODE but nothing happens, no items are selected.