Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    COPYRIGHT NOTICE
3
 
4
    This program is the proprietary property of the Secretary of State
5
    for Defence (United Kingdom) acting through the Defence Research
6
    Agency (DRA).  Use, reproduction, production of amended versions
7
    and/or transfer of this program is permitted PROVIDED THAT:
8
 
9
    (a)	 This legend be preserved on any such reproduction and amended
10
	 version.
11
 
12
    (b)	 Any amended version of this program be clearly marked to show
13
	 the nature of the amendment and the name of the amending
14
	 organisation.
15
 
16
    (c)	 Any recipient of such reproduction or amended version accept
17
	 the conditions set out in this legend.
18
 
19
    The DRA accepts no liability whatsoever in relation to any use to
20
    which this program may be put and gives no warranty as to the
21
    program's suitability for any purpose.
22
 
23
    All rights reserved.
24
 
25
    Crown Copyright (c) 1994.
26
*/
27
 
28
/*
29
    COPYRIGHT NOTICE
30
 
31
    This program contains amendments to Motif 1.1 API headers in
32
    order to represent the Motif 1.2 API. These amendments are the
33
    property of IXI Ltd, a subsidiary of the Santa Cruz Operation (SCO).
34
    Use, reproduction, production of amended versions and/or transfer of
35
    this program is permitted PROVIDED THAT:
36
 
37
    (a)  This legend be preserved on any such reproduction and amended
38
         version.
39
 
40
    (b)  Any recipient of such reproduction or amended version accept
41
         the conditions set out in this legend.
42
 
43
    IXI accepts no liability whatsoever in relation to any use to
44
    which this program may be put and gives no warranty as to the
45
    program's suitability for any purpose.
46
 
47
    All rights reserved.
48
 
49
    Copyright (c) 1995, 1996
50
*/
51
 
52
 
53
/* SCO CID (IXI) List.h,v 1.1 1996/08/08 14:12:59 wendland Exp */
54
 
55
+USE "motif/1_2","Xm/Xm.h";
56
 
57
+EXP lvalue WidgetClass xmListWidgetClass;
58
 
59
+CONST int XmINITIAL;
60
+CONST int XmADDITION;
61
+CONST int XmMODIFICATION;
62
 
63
+TYPE (struct) _XmListClassRec;
64
+TYPE (struct) _XmListRec;
65
+TYPEDEF _XmListClassRec * XmListWidgetClass;
66
+TYPEDEF _XmListRec      * XmListWidget;
67
 
68
 
69
+FUNC void XmListAddItem (Widget widget, XmString item, int position);
70
+FUNC void XmListAddItemUnselected (Widget widget, XmString item, int position);
71
+FUNC void XmListAddItems (Widget widget, XmString *items, int item_count, int position);
72
+FUNC void XmListAddItemsUnselected (Widget widget, XmString *items, int item_count, int position);
73
+FUNC void XmListDeleteAllItems (Widget widget);
74
+FUNC void XmListDeleteItem (Widget widget, XmString item);
75
+FUNC void XmListDeleteItemsPos (Widget widget, int item_count, int position);
76
+FUNC void XmListDeleteItems (Widget widget, XmString *items, int item_count);
77
+FUNC void XmListDeletePos (Widget widget, int position);
78
+FUNC void XmListDeletePositions (Widget widget, int *position_list, int position_count);
79
+FUNC void XmListDeselectAllItems (Widget widget);
80
+FUNC void XmListDeselectItem (Widget widget, XmString item);
81
+FUNC void XmListDeselectPos (Widget widget, int position);
82
+FUNC int XmListGetKbdItemPos (Widget widget);
83
+FUNC Boolean XmListGetMatchPos (Widget widget, XmString item, int **position_list, int *position_count);
84
+FUNC Boolean XmListGetSelectedPos (Widget widget, int **position_list, int *position_count);
85
+FUNC Boolean XmListItemExists (Widget widget, XmString item);
86
+FUNC int XmListItemPos (Widget widget, XmString item);
87
+FUNC Boolean XmListPosSelected (Widget widget, int position);
88
+FUNC Boolean XmListPostoBounds (Widget widget, int position, Position *x, Position *y, Dimension *width, Dimension *height);
89
+FUNC void XmListReplaceItems (Widget widget, XmString *old_items, int item_count, XmString *new_items);
90
+FUNC void XmListReplaceItemsPos (Widget widget, XmString *new_items, int item_count, int position);
91
+FUNC void XmListReplaceItemsPosUnselected (Widget widget, XmString *new_items, int item_count, int position);
92
+FUNC void XmListReplaceItemsUnslected (Widget widget, XmString *old_items, int item_count, XmString *new_items);
93
+FUNC void XmListReplacePositions (Widget widget, int *position_list, XmString *item_list, int item_count);
94
+FUNC void XmListSelectItem (Widget widget, XmString item, Boolean notify);
95
+FUNC void XmListSelectPos (Widget widget, int position, Boolean notify);
96
+FUNC void XmListSetAddMode (Widget widget,Boolean state);
97
+FUNC void XmListSetBottomItem (Widget widget, XmString item);
98
+FUNC void XmListSetBottomPos (Widget widget, int position);
99
+FUNC void XmListSetHorizPos (Widget widget, int location);
100
+FUNC void XmListSetItem (Widget widget, XmString item);
101
+FUNC Boolean XmListSetKbdItemPos (Widget widget, int position);
102
+FUNC void XmListSetPos (Widget widget, int position);
103
+FUNC void XmListUpdateSelectedList (Widget widget);
104
+FUNC int XmListYToPos (Widget widget, Position y);
105
 
106
+FUNC Widget XmCreateList (Widget parent, String name, ArgList arglist, Cardinal argCount);
107
+FUNC Widget XmCreateScrolledList (Widget parent, String name, ArgList arglist, Cardinal argCount);