Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmLiSetKb(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmListSetKbdItemPos(Xm)        6 January 1993        XmListSetKbdItemPos(Xm)


 Name

    XmListSetKbdItemPos - a List function that sets the location cursor at a
    specified position

 Syntax


    #include <Xm/List.h>

    Boolean XmListSetKbdItemPos (widget, position)
    Widget widget;
    int position;


 Description

    XmListSetKbdItemPos sets the location cursor at the item specified by
    position. This function does not determine if the item at the specified
    position is selected or not.

    widget  Specifies the ID of the List widget.

    position
            Specifies the position of the item at which the location cursor
            is set. A value of 1 indicates the first item in the list; a
            value of 2 indicates the second item; and so on. A value of 0
            sets the location cursor at the last item in the list.

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

 Return value

    Returns False if no item exists at the specified position or if the list
    is empty; otherwise, returns True.

 See also

    XmList(Xm)


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