1XmDataFieldSetHighlight(library call)    XmDataFieldSetHighlight(library call)
2
3
4

NAME

6       XmDataFieldSetHighlight — A DataField function that highlights text
7

SYNOPSIS

9       #include <Xm/DataF.h>
10       void XmDataFieldSetHighlight(
11       Widget widget,
12       XmTextPosition left,
13       XmTextPosition right,
14       XmHighlightMode mode);
15

DESCRIPTION

17       XmDataFieldSetHighlight highlights text between the two specified char‐
18       acter positions. The mode parameter determines the type  of  highlight‐
19       ing.  Highlighting  text  merely  changes  the visual appearance of the
20       text; it does not set the selection.
21
22       widget    Specifies the DataField widget ID
23
24       left      Specifies the position of the left boundary  of  text  to  be
25                 highlighted.   This  is  an integer number of characters from
26                 the beginning of the text buffer. The first  character  posi‐
27                 tion is 0 (zero).
28
29       right     Specifies  the  position  of the right boundary of text to be
30                 highlighted.  This is an integer number  of  characters  from
31                 the  beginning  of the text buffer. The first character posi‐
32                 tion is 0 (zero).
33
34       mode      Specifies the type of highlighting to be  done.  A  value  of
35                 XmHIGHLIGHT_NORMAL  removes  highlighting. A value of XmHIGH‐
36                 LIGHT_SELECTED highlights the test  using  reverse  video.  A
37                 value  of  XmHIGHLIGHT_SECONDARY_SELECTED highlights the text
38                 using underlining.
39
40       For a complete definition of DataField and  its  associated  resources,
41       see XmDataField(3).
42
44       XmDataField(3).
45
46
47
48                                         XmDataFieldSetHighlight(library call)
Impressum