Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmListDeletePositions(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmListDeletePositions(3X) UNIX System V XmListDeletePositions(3X)



     NAME
          XmListDeletePositions - A List function that deletes items
          from a list based on an array of positions

     SYNOPSIS
          #include <Xm/List.h>

          void XmListDeletePositions (widget, position_list, position_count)
               Widget    widget;
               int       *position_list;
               int       position_count;


     VERSION
          This page documents version 1.2 of the Motif library.

     DESCRIPTION
          XmListDeletePositions deletes noncontiguous items from a
          list.  The function deletes all items whose corresponding
          positions appear in the position_list array. A warning
          message is displayed if a specified position is invalid;
          that is, the value is 0, a negative integer, or a number
          greater than the number of items in the list.


          widget      Specifies the ID of the List widget

          position_list
                      Specifies an array of the item positions to be
                      deleted.  The position of the first item in the
                      list is 1; the position of the second item is 2;
                      and so on.

          position_count
                      Specifies the number of elements in the
                      position_list.


          For a complete definition of List and its associated
          resources, see XmList(3X).

     RELATED INFORMATION
          XmList(3X).












     Page 1                                          (printed 4/30/98)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026