Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtcstextseteditable(3dwt) [ultrix man page]

DwtCSTextSetEditable(3Dwt)												DwtCSTextSetEditable(3Dwt)

Name
       DwtCSTextSetEditable - Sets the permission state that determines whether the user can edit text in the compound-string text widget.

Syntax
       void DwtCSTextSetEditable(widget, editable)
	    Widget widget;
	    Boolean editable;

Arguments
       widget	 Specifies the ID of the compound-string text widget.

       editable  Specifies  a  boolean	value  that,  when True, indicates that the user can edit the text in the compound-string text widget.	If
		 False, prohibits the user from editing the text.

Description
       The DwtCSTextSetEditable function sets the edit permission state information concerning whether the user can edit  text	in  the  compound-
       string text widget.

See Also
       DwtCSText(3Dwt),  DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEditable(3Dwt), DwtCSTextGet-
       MaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt), DwtCSTextGetSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

															DwtCSTextSetEditable(3Dwt)

Check Out this Related Man Page

DwtCSTextGetSelection(3Dwt)											       DwtCSTextGetSelection(3Dwt)

Name
       DwtCSTextGetSelection - Retrieves the global selection, if any, currently highlighted, in the compound string text widget.

Syntax
	    DwtCompString DwtCSTextGetSelection(widget)
	    Widget widget;

Arguments
       widget	 Specifies the ID of the compound-string text widget.

Description
       The  DwtCSTextGetSelection  function  retrieves the text currently highlighted (selected) in the compound string text widget.  It returns a
       NULL pointer if no text is selected in the widget.  The application is responsible for freeing the storage  associated  with  the  text	by
       calling XtFree.

Return Values
       This function returns a pointer to the selected compound string text.

See Also
       DwtCSText(3Dwt),  DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextGetString(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEd-
       itable(3Dwt), DwtCSTextSetEditable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt),
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														       DwtCSTextGetSelection(3Dwt)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/etc/security/user file in AIX

Dear Gurus, Can the /etc/security/user file be edit manually in AIX. I would like to change the histsize in the default. Currently is set to 0. Please advise whether i can just edit it manually, whether it would cause any harm? thank You Very much. (0 Replies)
Discussion started by: cteoh88
0 Replies

2. Shell Programming and Scripting

Eleminating Duplicate IPs from a text file

Hey Guys I need to eleminate duplicate IP's from a text file using bash.Any suggestions.Appreciate your help guys. --CoolKid (4 Replies)
Discussion started by: coolkid
4 Replies

3. UNIX for Dummies Questions & Answers

Text editing on iPhone using ed

Hi all, I'm trying to edit a file using ed on an iphone. I am trying to edit a conf file and have managed to get to the directory where the default.conf file is located, however, when I type ed default.conf all i get is a number and then a blank line and a question mark which is why I am... (1 Reply)
Discussion started by: drewcifer
1 Replies

4. Shell Programming and Scripting

How to edit a txt file ?

Hi, I need to edit a text file which is like this.. -- D3341000600 AGEC901164 XYZ SE0109 1RNVX AH 2009-01-19 2009-01-11 2009-01-21 -- D3341000600 AGEC901164 XYZ SE0109 1RNVX AH 2009-01-19 2009-01-11 2009-01-21 -- D3341006000 AGEC921472 ... (4 Replies)
Discussion started by: RRVARMA
4 Replies

5. Shell Programming and Scripting

SH Script help. editing string

I have a string that looks like this username|field1|field2|field3 the data has a delimiter of "|" how can i edit field1, keeping the rest of the data the same also how can i edit field2 and 3. (3 Replies)
Discussion started by: nookie
3 Replies

6. Shell Programming and Scripting

How to add text in a file

I want to edit my /etc/security/user, But they are so many. For example for my user : a1,a2,a3 i want to add this text. loginretries = 0 minalpha = 0 minlen = 0 minage = 0 For example. a1: admin = false sysad: login = false rlogin = false ... (3 Replies)
Discussion started by: kenshinhimura
3 Replies

7. Shell Programming and Scripting

Syntax error: Unterminated quoted string

I keep having problems when exicuting this file. It always gives me the error message "36: Syntax error: Unterminated quoted string" If someone could help me edit this it would be much appreciated. #!/bin/sh # # This will continue adding numbers # untill the total is greater than 1,000 #... (5 Replies)
Discussion started by: evilSerph
5 Replies

8. Shell Programming and Scripting

how to seach junk or special char in vi edit

Hi, I have text file which is genrated by some external system(not sure of what is the edirot used) I copied to my Solaris machine and did vi found some strange text like below in one line. Ren\351 Erich I wanted to find all places that contain \351, in vi I am unable search unsing... (2 Replies)
Discussion started by: McLan
2 Replies

9. Shell Programming and Scripting

Text editing script does everything but edit text.

I wrote this script to create and edit a large number of websites based on a template site and a collection of text files which have the relevant strings in them delimited by colons. I run it and the shell doesn't produce any errors, but when it gets to the for loop where it actually has to edit... (2 Replies)
Discussion started by: afroCluster
2 Replies

10. Shell Programming and Scripting

open a file in vi

I am prompting a user to enter a file to open in vi and if the file exists and is a readable ordinary file, otherwise create that file. Also protect that so the user can not open in vi a binary file or a directory. could i use the command file to find out if the file is ordinary text file... (7 Replies)
Discussion started by: icelated
7 Replies

11. Shell Programming and Scripting

Using read to prompt for editable user input in Bash 3

Below is a simple script to prompt for user input while suggesting an editable default value at the prompt: shortname=user1 read -e -i $shortname -p "Please enter the username you would like to add: " input USERNAME="${input:-$shortname}" Please enter the username you would like to add:... (3 Replies)
Discussion started by: woodson2
3 Replies

12. UNIX for Dummies Questions & Answers

Editing long text file

Good morning all, I have a machine running IRIX and I need to edit a text file on the terminal that is literally thousands of lines. Does anyone know the most efficient way to edit portions of files like these? Obviously simply using the vi command isn't going to work since I get a too many lines... (1 Reply)
Discussion started by: James C
1 Replies

13. UNIX for Beginners Questions & Answers

Text editing/manipulation

Hello all. I need to rearrange a very long text file with the following format. The number of lines in each block is variable, but is between 1 and 10. Any hints what command could I use for this? Thank you. SAMPLE 2600 15 3453 159 3970 486 4327 760 4498 ... (3 Replies)
Discussion started by: yirgacheffe
3 Replies