[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmTextSetAddMode

A Text function that sets the state of Add mode

Format

#include <Xm/Text.h>
void XmTextSetAddMode
Widget
widgetBoolean state

DESCRIPTION

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

widget
Specifies the Text widget ID

state
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 Text and its associated resources, see XmText (3).

RELATED

XmText (3).


[ Previous | Next | Contents | Glossary | Home | Search ]