Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

XmListSetHorizPos — A List function that scrolls to the specified position in the list

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(3).

Name

XmListSetHorizPos   —   A   List   function   that   scrolls  to  the  specified  position  in  the  list
       "XmListSetHorizPos" "List functions" "XmListSetHorizPos"

Synopsis

       #include <Xm/List.h>
       voidXmListSetHorizPos(
       Widgetwidget,
       intposition);

See Also