Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmcreatescrolledlist(3) [redhat man page]

XmCreateScrolledList(library call)										XmCreateScrolledList(library call)

NAME
XmCreateScrolledList -- The List ScrolledList convenience creation function SYNOPSIS
#include <Xm/List.h> Widget XmCreateScrolledList( Widget parent, String name, ArgList arglist, Cardinal argcount); DESCRIPTION
XmCreateScrolledList creates an instance of a List widget that is contained within a ScrolledWindow. The ScrolledWindow parent is created managed. All ScrolledWindow subarea widgets are automatically created by this function. The ID returned by this function is that of the List widget (not the ScrolledWindow widget). Use this widget ID for all operations on the List widget. Use the widget ID of the List wid- get's parent for all operations on the ScrolledWindow. To obtain the ID of the ScrolledWindow widget associated with the List widget, use the Xt Intrinsics XtParent function. The name of the ScrolledWindow created by this function is formed by concatenating SW onto the end of the name specified in the parameter list. All arguments to either the List or the ScrolledWindow widget can be specified at creation time using this function. Changes to initial position and size are sent only to the ScrolledWindow widget. Other resources are sent to the List or the ScrolledWindow widget as appro- priate. Note that the result of providing the XmNdestroyCallback resource in the creation arglist is unspecified. The application should use the XtAddCallback function to add callbacks to the appropriate widget (List or ScrolledWindow) after creating it. This function forces the following initial values for ScrolledWindow resources: o XmNscrollingPolicy is set to XmAPPLICATION_DEFINED. o XmNvisualPolicy is set to XmVARIABLE. o XmNscrollBarDisplayPolicy is set to XmSTATIC. (No initial value is forced for the List's XmNscrollBarDisplayPolicy.) o XmNshadowThickness is set to 0 (zero). 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(3). RETURN
Returns the List widget ID. RELATED
XmList(3) and XmScrolledWindow(3). XmCreateScrolledList(library call)

Check Out this Related Man Page

XmScrolledWindowSetAreas(library call)									    XmScrolledWindowSetAreas(library call)

NAME
XmScrolledWindowSetAreas -- A ScrolledWindow function that adds or changes a window work region and a horizontal or vertical ScrollBar wid- get to the ScrolledWindow widget SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrolledWindowSetAreas( Widget widget, Widget horizontal_scrollbar, Widget vertical_scrollbar, Widget work_region); DESCRIPTION
XmScrolledWindowSetAreas adds or changes a window work region and a horizontal or vertical ScrollBar widget to the ScrolledWindow widget for the application. Each widget is optional and may be passed as NULL. This function is obsolete and exists for compatibility with other releases. Use the XmNscrolledWindowChildType resource of XmScrolledWindow instead. widget Specifies the ScrolledWindow widget ID. horizontal_scrollbar Specifies the ScrollBar widget ID for the horizontal ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNhorizontalScroll- Bar. vertical_scrollbar Specifies the ScrollBar widget ID for the vertical ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNverticalScrollBar. work_region Specifies the widget ID for the work window to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The attribute name associated with this argument is XmNworkWindow. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3). RELATED
XmScrolledWindow(3). XmScrolledWindowSetAreas(library call)
Man Page