XmCreateScrolledList(3X)XmCreateScrolledList(3X)NAME
XmCreateScrolledList - The List ScrolledList convenience creation function
SYNOPSIS
#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 contained 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
position and size are sent only to the ScrolledWindow widget. Other resources are sent to the List or the ScrolledWindow widget as appro-
priate.
This function forces the following initial values for ScrolledWindow resources: XmNscrollingPolicy is set to XmAPPLICATION_DEFINED. XmNvi-
sualPolicy is set to XmVARIABLE. XmNscrollBarDisplayPolicy is set to XmSTATIC. (No initial value is forced for the List's XmNscrollBarDis-
playPolicy.) XmNshadowThickness is set to 0.
To obtain the ID of the ScrolledWindow widget associated with the ScrolledList, use the Xt Intrinsics XtParent function. The name of the
ScrolledWindow created by this function is formed by concatenating the letters SW onto the end of the name specified in the parameter list.
Specifies the parent widget ID Specifies the name of the created widget Specifies the argument list Specifies the number of attribute/value
pairs in the argument list (arglist)
For a complete definition of List and its associated resources, see XmList(3X).
RETURN VALUE
Returns the List widget ID.
SEE ALSO XmList(3X), XmScrolledWindow(3X)XmCreateScrolledList(3X)
Check Out this Related Man Page
XmScrolledWindowSetAreas(3X)XmScrolledWindowSetAreas(3X)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, horizontal_scrollbar, vertical_scrollbar, work_region)
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. Specifies the ScrolledWindow widget ID. 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 XmNhorizontalScrollBar. 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. Specifies the widget ID for the work window to be asso-
ciated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The attribute name asso-
ciated with this argument is XmNworkWindow.
For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3X).
SEE ALSO XmScrolledWindow(3X)XmScrolledWindowSetAreas(3X)
This one is a bit of bugger and I'm not sure if it's entirely relevant to this board but here goes...
I'm trying to produce some fixed width output to a List widget (X11/Motif GUI) So, I use something similar to:
sprintf(Buffer, "%*d%*f", 20, some_integer, 20, some_float);
This gives me a... (0 Replies)
Hello Everybody:
I need to check how many memory slots and the size of each I have on my HP UX system, is there something equilivant to prtcong in Solaris to display the list of HW compnents.
Thanks alot .
Aladdin (5 Replies)
Hi All,
I have parsed an xml file and the resulting output is as follows
RT
=> {
'List' => {
'String' =>
RT!
=> {
'List' => {
'String' =>
I am trying to get the String values under RT and here is the code i am using
my $data = XMLin("output.xml",... (2 Replies)
List the licensed program productslslpp -L
List the defined devices lsdev -C -H
List the disk drives on the system lsdev -Cc disk
List the memory on the system lsdev -Cc memory (MCA)
List the memory on the system lsattr -El sys0 -a realmem (PCI)
lsattr -El mem0
List system resources lsattr... (9 Replies)
Here is the fix for the recent Google changes to their pagerank API. For example, in the List Rank Dashboard Widget Wordpress Plugin (Version 1.7), in this plugin file:
list-rank-dashboard-widget/wp-list-rank-class.php
in this function:
function getGooglePR($url)
Change this line:
... (0 Replies)
I want to print any matching IP addresse in List1 with List 2;
List 1
List of IP addresses;
161.85.58.210
250.57.15.129
217.23.162.249
74.76.129.101
30.221.177.237
3.147.200.59
170.58.142.64
127.65.109.33
150.167.242.146
223.3.20.186
25.181.180.99
2.55.199.32 (3 Replies)