1XmCreateScrolledList(library call)          XmCreateScrolledList(library call)
2
3
4

NAME

6       XmCreateScrolledList — The List ScrolledList convenience creation func‐
7       tion
8

SYNOPSIS

10       #include <Xm/List.h>
11       Widget XmCreateScrolledList(
12       Widget parent,
13       String name,
14       ArgList arglist,
15       Cardinal argcount);
16

DESCRIPTION

18       XmCreateScrolledList creates an instance of a List widget that is  con‐
19       tained  within  a ScrolledWindow.  The ScrolledWindow parent is created
20       managed.  All ScrolledWindow subarea widgets are automatically  created
21       by this function.  The ID returned by this function is that of the List
22       widget (not the ScrolledWindow widget).  Use this  widget  ID  for  all
23       operations  on the List widget.  Use the widget ID of the List widget's
24       parent for all operations on the ScrolledWindow.  To obtain the  ID  of
25       the  ScrolledWindow  widget associated with the List widget, use the Xt
26       Intrinsics XtParent function.  The name of the  ScrolledWindow  created
27       by this function is formed by concatenating SW onto the end of the name
28       specified in the parameter list.
29
30       All arguments to either the List or the ScrolledWindow  widget  can  be
31       specified  at  creation  time  using this function.  Changes to initial
32       position and size are sent only to the  ScrolledWindow  widget.   Other
33       resources  are  sent to the List or the ScrolledWindow widget as appro‐
34       priate.  Note that  the  result  of  providing  the  XmNdestroyCallback
35       resource in the creation arglist is unspecified. The application should
36       use the XtAddCallback function to add callbacks to the appropriate wid‐
37       get (List or ScrolledWindow) after creating it.
38
39       This  function  forces  the following initial values for ScrolledWindow
40       resources:
41
42          ·  XmNscrollingPolicy is set to XmAPPLICATION_DEFINED.
43
44          ·  XmNvisualPolicy is set to XmVARIABLE.
45
46          ·  XmNscrollBarDisplayPolicy is set to XmSTATIC.  (No initial  value
47             is forced for the List's XmNscrollBarDisplayPolicy.)
48
49          ·  XmNshadowThickness is set to 0 (zero).
50
51       parent    Specifies the parent widget ID
52
53       name      Specifies the name of the created widget
54
55       arglist   Specifies the argument list
56
57       argcount  Specifies the number of attribute/value pairs in the argument
58                 list (arglist)
59
60       For a complete definition of List and  its  associated  resources,  see
61       XmList(3).
62

RETURN

64       Returns the List widget ID.
65
67       XmList(3) and XmScrolledWindow(3).
68
69
70
71                                            XmCreateScrolledList(library call)
Impressum