~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to doc/man/man3/XmTextFieldReplaceWcs.3

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
...\" TxtFieAY.sgm /main/8 1996/09/08 21:15:07 rws $
 
3
.de P!
 
4
.fl
 
5
\!!1 setgray
 
6
.fl
 
7
\\&.\"
 
8
.fl
 
9
\!!0 setgray
 
10
.fl                     \" force out current output buffer
 
11
\!!save /psv exch def currentpoint translate 0 0 moveto
 
12
\!!/showpage{}def
 
13
.fl                     \" prolog
 
14
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
 
15
\!!psv restore
 
16
.
 
17
.de pF
 
18
.ie     \\*(f1 .ds f1 \\n(.f
 
19
.el .ie \\*(f2 .ds f2 \\n(.f
 
20
.el .ie \\*(f3 .ds f3 \\n(.f
 
21
.el .ie \\*(f4 .ds f4 \\n(.f
 
22
.el .tm ? font overflow
 
23
.ft \\$1
 
24
..
 
25
.de fP
 
26
.ie     !\\*(f4 \{\
 
27
.       ft \\*(f4
 
28
.       ds f4\"
 
29
'       br \}
 
30
.el .ie !\\*(f3 \{\
 
31
.       ft \\*(f3
 
32
.       ds f3\"
 
33
'       br \}
 
34
.el .ie !\\*(f2 \{\
 
35
.       ft \\*(f2
 
36
.       ds f2\"
 
37
'       br \}
 
38
.el .ie !\\*(f1 \{\
 
39
.       ft \\*(f1
 
40
.       ds f1\"
 
41
'       br \}
 
42
.el .tm ? font underflow
 
43
..
 
44
.ds f1\"
 
45
.ds f2\"
 
46
.ds f3\"
 
47
.ds f4\"
 
48
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
 
49
.TH "XmTextFieldReplaceWcs" "library call"
 
50
.SH "NAME"
 
51
\fBXmTextFieldReplaceWcs\fP \(em A TextField function that replaces part of a
 
52
wide character string in a TextField widget
 
53
.iX "XmTextFieldReplaceWcs"
 
54
.iX "TextField functions" "XmTextFieldReplaceWcs"
 
55
.SH "SYNOPSIS"
 
56
.PP
 
57
.nf
 
58
#include <Xm/TextF\&.h>
 
59
\fBvoid \fBXmTextFieldReplaceWcs\fP\fR(
 
60
\fBWidget \fBwidget\fR\fR,
 
61
\fBXmTextPosition \fBfrom_pos\fR\fR,
 
62
\fBXmTextPosition \fBto_pos\fR\fR,
 
63
\fBwchar_t *\fBwcstring\fR\fR);
 
64
.fi
 
65
.SH "DESCRIPTION"
 
66
.PP
 
67
\fBXmTextFieldReplaceWcs\fP replaces part of the wide character string
 
68
in the TextField widget\&. The character positions begin at 0 (zero) and are
 
69
numbered sequentially from the beginning of the text\&.
 
70
.PP
 
71
An example text replacement would be to replace
 
72
the second and third characters in the text string\&. To accomplish this,
 
73
the parameter \fIfrom_pos\fP must be 1 and \fIto_pos\fP must be 3\&. To
 
74
insert a string after the fourth character, both parameters,
 
75
\fIfrom_pos\fP and \fIto_pos\fP, must be 4\&.
 
76
.PP
 
77
This routine calls the widget\&'s \fBXmNvalueChangedCallback\fP and
 
78
verification callbacks, either \fBXmNmodifyVerifyCallback\fP or
 
79
\fBXmNmodifyVerifyCallbackWcs\fP, or both\&. If both verification
 
80
callback lists are registered, the procedures of the
 
81
\fBXmNmodifyVerifyCallback\fP list are executed first and the resulting
 
82
data is passed to the \fBXmNmodifyVerifyCallbackWcs\fP callbacks\&.
 
83
If the \fBXmNcursorPosition\fP resource is greater than or is the same value as
 
84
\fIfrom_pos\fP, the \fBXmNmotionVerifyCallback\fP is called\&.
 
85
.IP "\fIwidget\fP" 10
 
86
Specifies the TextField widget ID
 
87
.IP "\fIfrom_pos\fP" 10
 
88
Specifies the start position of the text to be replaced
 
89
.IP "\fIto_pos\fP" 10
 
90
Specifies the end position of the text to be replaced
 
91
.IP "\fIwcstring\fP" 10
 
92
Specifies the wide character string value to be added to the TextField widget
 
93
.PP
 
94
For a complete definition of TextField and its associated resources, see
 
95
\fBXmTextField\fP(3)\&.
 
96
.SH "RELATED"
 
97
.PP
 
98
\fBXmTextField\fP(3) and
 
99
\fBXmTextFieldReplace\fP(3)\&.
 
100
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:34