Scroll to navigation

XmTextFieldSetAddMode(3) Library Functions Manual XmTextFieldSetAddMode(3)


XmTextFieldSetAddMode — A TextField function that sets the state of Add mode "XmTextFieldSetAddMode" "TextField functions" "XmTextFieldSetAddMode"


#include <Xm/TextF.h>
void XmTextFieldSetAddMode(
Widget widget,
Boolean state);


XmTextFieldSetAddMode controls whether or not the TextField widget is in Add mode. When the widget is in Add mode, the insert cursor can be moved without disturbing the primary selection.

Specifies the TextField widget ID
Specifies whether or not the widget is in Add mode. A value of True turns on Add mode; a value of False turns off Add mode.

For a complete definition of TextField and its associated resources, see XmTextField(3).