Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmtextinsertwcs(3x) [osf1 man page]

XmTextInsertWcs(3X)													       XmTextInsertWcs(3X)

NAME
XmTextInsertWcs - A Text function that inserts a wide character string into a Text widget SYNOPSIS
#include <Xm/Text.h> void XmTextInsertWcs (widget, position, wcstring) Widget widget; XmTextPosition position; wchar_t *wcstring; DESCRIPTION
XmTextInsertWcs inserts a wide character string into the Text widget at a specified location. The character positions begin at zero and are numbered sequentially from the beginning of the text. For example, to insert a string after the fourth character, the position parame- ter must be 4. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall- backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. Specifies the Text widget ID Specifies the position in the text string where the new character string is to be inserted Specifies the wide character string value to be added to the Text widget For a complete definition of Text and its associated resources, see XmText(3X). SEE ALSO
XmText(3X), XmTextInsert(3X) XmTextInsertWcs(3X)

Check Out this Related Man Page

XmTextInsert(library call)												XmTextInsert(library call)

NAME
XmTextInsert -- A Text function that inserts a character string into a text string SYNOPSIS
#include <Xm/Text.h> void XmTextInsert( Widget widget, XmTextPosition position, char * value); DESCRIPTION
XmTextInsert inserts a character string into the text string in the Text widget. The character positions begin at 0 (zero) and are numbered sequentially from the beginning of the text. For example, to insert a string after the fourth character, the parameter position must be 4. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall- backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. If the XmNcursorPosition resource is greater than or is the same value as position, the XmNmotionVerifyCallback is called. Note that, if value is a null string, no callbacks will be generated, since no modifications will have been made. widget Specifies the Text widget ID. position Specifies the position in the text string where the character string is to be inserted. value Specifies the character string value to be added to the text widget. For a complete definition of Text and its associated resources, see XmText(3). RELATED
XmText(3) and XmTextInsertWcs(3). XmTextInsert(library call)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Text parsing question

How would I split a file based on the location of a string, basically I want all entries above the string unix in this example 1 2 3 4 unix 5 6 7 Thanks, Chuck (3 Replies)
Discussion started by: 98_1LE
3 Replies

2. UNIX for Dummies Questions & Answers

Insert Text With Sed

Hello. Trying to insert text at line 1 and after last line of file. I have searched posts but nothing seems to work. I keep getting extra characters error or nothing gets inserted into the file. #!/bin/sh touch textfile.txt sed 'i\ Add this line before every line with WORD' textfile.txt ... (5 Replies)
Discussion started by: steveramsey
5 Replies

3. UNIX for Dummies Questions & Answers

Using input file to filter data from another file

I have a data file: abc Text Text Text Unique Text 123 Text word Line Unique Text fgh Text data Line Unique Text 789 Text Text Line Unique Text 543 Text Text Data Unique Text and a filter file 123 789 I want to extract out from the data file the two records that contain the keys... (1 Reply)
Discussion started by: tumblez
1 Replies

4. Shell Programming and Scripting

Extracting Text

Hi, I have a file like that No seq Text 269091 123443124 how are slkslks, serial no is 042890000 and pincode is 090001223433454 269091 123443124 how are slkslks, Sr/no is 0428901 and 14 digits are is ... (3 Replies)
Discussion started by: krabu
3 Replies

5. UNIX for Dummies Questions & Answers

Shift Characters in Text

Hi Is there a unix script that will change the text in lefthand column to text in righthand column. 0 0 1 1 10 10 100 100 1000 1000 1001 1001 1002 1002 1003 1003 1004 1004 1005... (7 Replies)
Discussion started by: 1184jap
7 Replies

6. UNIX for Dummies Questions & Answers

Displaying Text

Hi guys! I am very much new to UNIX...and I was just wondering on how you would display this text format in UNIX with only just one command : Text 1 Text 2 Text 3 Texts are in aligned vertically in such format...Thanks for your help :) (8 Replies)
Discussion started by: Knowledge_Xfer
8 Replies

7. Shell Programming and Scripting

Insert Text On file

Hi All, Can someone pls help me to insert some text on a file. my file contains something like below.. AKBULBU, BALUMIL, BATCH,BATCH BOARROB, BOTAKAT, C57896, CAKIOZE, CHECMER, CICOFRA, CISZPAW,2194485 I want output as USER_ID, LOGIN_ID (6 Replies)
Discussion started by: harshakusam
6 Replies

8. UNIX for Dummies Questions & Answers

Modify Text File

Hi, I would like to remove any lines from a text file that begin with #, or that are blank. How can I do that with BASH? Mike (3 Replies)
Discussion started by: msb65
3 Replies

9. Shell Programming and Scripting

Inserting a string in another sting

Hi Experts, I need to insert a sting into another string at a specified position. Like the below. Regards, Tin-Tin (3 Replies)
Discussion started by: tinufarid
3 Replies

10. Shell Programming and Scripting

Remove Numbers from file

I have a file that has some text that looks like this Some Text 1. More text 2. Different text Final Text I would like the remove the lines of text that start with the numbers. Some Text Final Text I have tried to use cat file.txt | grep -Ev 1. >... (9 Replies)
Discussion started by: icculus99
9 Replies

11. UNIX for Dummies Questions & Answers

Text Manipulation Help

(4 Replies)
Discussion started by: galford
4 Replies

12. Shell Programming and Scripting

Insert Text after one, two, three lines & so on..

I want to insert "Text" in each file as a place where I mentioned below "Insert Text Here". These files are something like news of newspaper. Generally, newspaper headlines contain one or two lines. I don't know how it can be identified whether Text is inserted after first line or second line. ... (10 Replies)
Discussion started by: imranrasheedamu
10 Replies

13. UNIX for Beginners Questions & Answers

Finding specific string in file and storing in another file

Text in input file is like this <title> <band height="21" isSplitAllowed="true" > <staticText> <reportElement x="1" y="1" width="313" height="20" key="staticText-1"/> <box></box> <textElement> <font fontName="Arial" pdfFontName="Helvetica-Bold"... (4 Replies)
Discussion started by: aankita30
4 Replies