DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmListSetHorizPos(Xm)


XmListSetHorizPos -- a List function that scrolls to the specified position in the list

Syntax

#include <Xm/List.h>

void XmListSetHorizPos (widget, position) Widget widget; int position;

Description

XmListSetHorizPos sets the XmNvalue resource of the horizontal ScrollBar to the specified position and updates the visible portion of the list with the new value if the List widget's XmNlistSizePolicy is set to XmCONSTANT or XmRESIZE_IF_POSSIBLE and the horizontal ScrollBar is currently visible. This is equivalent to moving the horizontal ScrollBar to the specified position.

widget
Specifies the ID of the List widget.

position
Specifies the horizontal position.

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

See also

XmList(Xm)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003