Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmCreaScC(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmCreateScrolledList(Xm)       6 January 1993       XmCreateScrolledList(Xm)


 Name

    XmCreateScrolledList - the List ScrolledList convenience creation func-
    tion

 Syntax


    #include <Xm/List.h>

    Widget XmCreateScrolledList (parent, name, arglist, argcount)
    Widget parent;
    String name;
    ArgList arglist;
    Cardinal argcount;


 Description

    XmCreateScrolledList creates an instance of a List widget that is con-
    tained within a ScrolledWindow. All ScrolledWindow subarea widgets are
    automatically created by this function. The ID returned by this function
    is that of the List widget.  Use this ID for all normal List operations,
    as well as those that are relevant for the ScrolledList widget.

    All arguments to either the List or the ScrolledWindow widget can be
    specified at creation time using this function.  Changes to initial posi-
    tion and size are sent only to the ScrolledWindow widget.  Other
    resources are sent to the List or the ScrolledWindow widget as appropri-
    ate.

    This function forces the following initial values for ScrolledWindow
    resources:

    +  XmNscrollingPolicy is set to XmAPPLICATIONDEFINED.

    +  XmNvisualPolicy is set to XmVARIABLE.

    +  XmNscrollBarDisplayPolicy is set to XmSTATIC.  (No initial value is
       forced for the List's XmNscrollBarDisplayPolicy.)

    +  XmNshadowThickness is set to 0.

    To obtain the ID of the ScrolledWindow widget associated with the Scrol-
    ledList, use the Xt Intrinsics XtParent function.  The name of the Scrol-
    ledWindow created by this function is formed by concatenating the letters
    ``SW'' onto the end of the name specified in the parameter list.

    parent  Specifies the parent widget ID

    name    Specifies the name of the created widget

    arglist Specifies the argument list

    argcount
            Specifies the number of attribute/value pairs in the argument
            list (arglist)

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

 Return value

    Returns the List widget ID.

 See also

    XmList(Xm) and XmScrolledWindow(Xm).


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