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

NAME

6       XmTextFieldSetHighlight — A TextField function that highlights text
7

SYNOPSIS

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

DESCRIPTION

17       XmTextFieldSetHighlight 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 TextField 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 TextField and  its  associated  resources,
41       see XmTextField(3).
42
44       XmTextField(3).
45
46
47
48                                         XmTextFieldSetHighlight(library call)
Impressum