Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtstextgeteditable(3dwt) [ultrix man page]

DwtSTextGetEditable(3Dwt)												 DwtSTextGetEditable(3Dwt)

Name
       DwtSTextGetEditable - Obtains the current edit permission state indicating whether the user can edit the text in the simple text widget.

Syntax
       Boolean DwtSTextGetEditable(widget)
	    Widget widget;

Arguments
       widget	 Specifies the ID of the simple text widget whose edit permission state you want to obtain.

Description
       The  DwtSTextGetEditable function returns the current edit-permission-state, which indicates whether the user can edit the text in the sim-
       ple text widget.  If the function returns True, the user can edit the string text in the simple text widget.  If it returns False, the user
       cannot edit the text.

Return Values
       This function returns the current permission state concerning the editing of the text field in the widget.

See Also
       DwtSText(3Dwt),  DwtSTextGetString(3Dwt),  DwtSTextSetEditable(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtSTextSetMaxLength(3Dwt), DwtS-
       TextSetSelection(3Dwt), DwtSTextClearSelection(3Dwt), DwtSTextGetSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

															 DwtSTextGetEditable(3Dwt)

Check Out this Related Man Page

DwtCSTextGetEditable(3Dwt)												DwtCSTextGetEditable(3Dwt)

Name
       DwtCSTextGetEditable  - Obtains the current edit permission state indicating whether the user can edit the text in the compound-string text
       widget.

Syntax
       Boolean DwtCSTextGetEditable(widget)
	    Widget widget;

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

Description
       The DwtCSTextGetEditable function returns the current edit-permission-state, which indicates whether the user can edit the text in the com-
       pound-string  text  widget.   If  the  function	returns True, the user can edit the string text in the compound-string text widget.  If it
       returns False, the user cannot edit the text.

Return Values
       Specifies a boolean value that, when True, indicates the user can edit the text in the compound string text widget.  When False,  the  user
       cannot edit the text.

See Also
       DwtCSText(3Dwt),  DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextSetEditable(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

															DwtCSTextGetEditable(3Dwt)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

permission denied??

i'm trying to set up my internet connection and i was told i need to edit the file /etc/ppp/pap-secrets but i get a permission denied message...why?? (6 Replies)
Discussion started by: justchillin
6 Replies

2. UNIX for Dummies Questions & Answers

edit /etc/hosts to show mypc in who

have edit the /etc/hosts as belows 123.45.12.55 mypc so when i do a who, i can see my "mypc" BUT after i changed, i cant see "mypc" do i have to restart anything? (6 Replies)
Discussion started by: yls177
6 Replies

3. Shell Programming and Scripting

Help to edit a large file

I am trying to edit a file that has 33k+ records. In this file I need to edit each record that has a 'Y' in the 107th position and change the 10 fields before the 'Y' to blanks. Not all records have a 'Y' in the 107th field. ex: ... (8 Replies)
Discussion started by: jxh461
8 Replies

4. Shell Programming and Scripting

Help edit simple payroll script?

I'm trying to write a simple script to figure pay with overtime...I got the first part to work, but I can't seem to get the second if statement's syntax right...:confused:I want it to take the 40 hours times 10 dollars, but then i want whatever is left over (like 7 of 47 hours) and take that times... (6 Replies)
Discussion started by: miss72006
6 Replies

5. Shell Programming and Scripting

In bash, read to a variable with a default value to edit

My script needs to read a variable from the user. But before the user types the input, I want to give a default value so the user can edit the default value for input. How can I implement it? My script is something like: #!/bin/sh read -p 'Port number: ' -e port_number echo "Port... (7 Replies)
Discussion started by: pankai
7 Replies

6. Shell Programming and Scripting

sed edit in place -i issues

Hello, I am attempting to create a command that I can eventually put into a loop so I can edit 1file on many servers. I would like to edit the file in place with sed -i. If not I will take any suggestions on how to use a temp file. I need to remove a email address from the configuration file... (4 Replies)
Discussion started by: abacus
4 Replies

7. Shell Programming and Scripting

perl edit file

Is there a way to edit a file without opening two files the only method I know is one file for reading from and one file writing to I cannot think of any other ways (4 Replies)
Discussion started by: 3junior
4 Replies

8. UNIX for Advanced & Expert Users

awk - remove block of text, multiple actions for 'if', inline edit

I'm having a couple of issues. I'm trying to edit a nagios config and remove a host definition if a certain "host_name" is found. My thought is I would find host definition block containing the host_name I'm looking for and output the line numbers for the first and last lines. Using set, I will... (9 Replies)
Discussion started by: mglenney
9 Replies

9. 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

10. Web Development

edit a file with PHP.

Ok here is what I have going on. I am listing the contest of a directory so I can edit and delete files. The code I am using to do that is below (Other then editing as it does not work). <?php $directory = ("enctlfiles/"); $dir = opendir($directory); $files = array(); while (($file =... (10 Replies)
Discussion started by: GroveTuckey
10 Replies

11. UNIX for Dummies Questions & Answers

Deny to edit a specific file in sudoers

How do I deny a user to edit a specific file in directory but the user will have a capability to use sudo and execute any command? I will just deny him/her to edit sayy 5files in different directories in linux? example. He cannot edit /etc/modprobe.d/blacklist.conf and /etc/sshd.config? Then the... (6 Replies)
Discussion started by: lhareigh890
6 Replies

12. UNIX for Dummies Questions & Answers

How to edit a file on a UNIX Server

Hi i have to edit a file on our UNIX Server, but i have no idea how to do that. The only thing that i managed till now is to get acces to it via ssh. I get into it via Terminal because i use Osx. I have the advice to edit this file: 1 - You must edit this file: / Conf /... (7 Replies)
Discussion started by: Blub
7 Replies

13. AIX

Can we directly edit "/etc/environment" file in AIX using vi ?

Hi Is it recommended to edit the file "/etc/environment" directly using vi ? (like by adding some export something= value staements) or do we need to edit /etc/profile file in order to set the environment variables, globally to the entire AIX LPAR please suggest. (5 Replies)
Discussion started by: System Admin 77
5 Replies

14. Shell Programming and Scripting

Help with awk command

Guys, first post be kind! :) Need some guidance here I plan to edit 3 xml files without opening them (as opening, editing, closing is more prone to errors). The one I want to edit is with a condition. I need to update N to Y wherever I see Flag_XYZ_TurnOn in all 3 files. Also I prefer... (5 Replies)
Discussion started by: shivs123in
5 Replies