Lines Matching refs:numElements

60     int numElements;		/* Total number of elements in this listbox. */
364 listPtr->numElements = 0;
495 if ((index >= listPtr->topIndex) && (index < listPtr->numElements)
763 sprintf(interp->result, "%d", listPtr->numElements);
816 if (listPtr->numElements == 0) {
819 fraction = listPtr->topIndex/((double) listPtr->numElements);
821 /((double) listPtr->numElements);
839 index = listPtr->numElements*fraction + 0.5;
1012 ListboxRedrawRange(listPtr, 0, listPtr->numElements-1);
1079 if (limit >= listPtr->numElements) {
1080 limit = listPtr->numElements-1;
1259 height = listPtr->numElements;
1315 if (index > listPtr->numElements) {
1316 index = listPtr->numElements;
1320 } else if (index == listPtr->numElements) {
1358 listPtr->numElements += argc;
1374 if ((listPtr->active >= listPtr->numElements)
1375 && (listPtr->numElements > 0)) {
1376 listPtr->active = listPtr->numElements-1;
1384 ListboxRedrawRange(listPtr, index, listPtr->numElements-1);
1422 if (last >= listPtr->numElements) {
1423 last = listPtr->numElements-1;
1469 listPtr->numElements -= count;
1489 if (listPtr->topIndex > (listPtr->numElements - listPtr->fullLines)) {
1490 listPtr->topIndex = listPtr->numElements - listPtr->fullLines;
1499 if ((listPtr->active >= listPtr->numElements)
1500 && (listPtr->numElements > 0)) {
1501 listPtr->active = listPtr->numElements-1;
1509 ListboxRedrawRange(listPtr, first, listPtr->numElements-1);
1577 ListboxRedrawRange(listPtr, 0, listPtr->numElements-1);
1581 ListboxRedrawRange(listPtr, 0, listPtr->numElements-1);
1586 ListboxRedrawRange(listPtr, 0, listPtr->numElements-1);
1677 *indexPtr = listPtr->numElements;
1700 if (*indexPtr > listPtr->numElements) {
1701 *indexPtr = listPtr->numElements;
1703 } else if (*indexPtr >= listPtr->numElements) {
1704 *indexPtr = listPtr->numElements-1;
1745 if (index >= (listPtr->numElements - listPtr->fullLines)) {
1746 index = listPtr->numElements - listPtr->fullLines;
1805 ListboxRedrawRange(listPtr, 0, listPtr->numElements);
1837 maxIndex = listPtr->numElements - listPtr->fullLines;
1916 if (index >= listPtr->numElements) {
1917 index = listPtr->numElements-1;
1961 if (first >= listPtr->numElements) {
2101 if ((listPtr->exportSelection) && (listPtr->numElements > 0)) {
2102 ListboxSelect(listPtr, 0, listPtr->numElements-1, 0);
2176 if (listPtr->numElements == 0) {
2180 first = listPtr->topIndex/((double) listPtr->numElements);
2182 /((double) listPtr->numElements);