1XmListSetAddMode(library call) XmListSetAddMode(library call)
2
3
4
6 XmListSetAddMode — A List function that sets add mode in the list
7
9 #include <Xm/List.h>
10 void XmListSetAddMode(
11 Widget widget,
12 Boolean state);
13
15 XmListSetAddMode allows applications control over Add Mode in the
16 extended selection model. This function ensures that the mode it sets
17 is compatible with the selection policy (XmNselectionPolicy) of the
18 widget. For example, it cannot put the widget into add mode when the
19 value of XmNselectionPolicy is XmBROWSE_SELECT.
20
21 widget Specifies the ID of the List widget
22
23 state Specifies whether to activate or deactivate Add Mode. If
24 state is True, Add Mode is activated. If state is False, Add
25 Mode is deactivated.
26
27 For a complete definition of List and its associated resources, see
28 XmList(3).
29
31 XmList(3).
32
33
34
35 XmListSetAddMode(library call)