DwtSTextSetEditable(3Dwt)DwtSTextSetEditable(3Dwt)Name
DwtSTextSetEditable - Sets the permission state that determines whether the user can edit text in the simple text widget.
Syntax
void DwtSTextSetEditable(widget, editable)
Widget widget;
Boolean editable;
Arguments
widget Specifies the ID of the simple text widget whose edit permission state you want to set.
editable Specifies a boolean value that, when True, indicates that the user can edit the text string in the simple text widget. If False,
prohibits the user from editing the text string.
Description
The DwtSTextSetEditable function sets the edit permission state information concerning whether the user can edit text in the simple text
widget.
See AlsoDwtSText(3Dwt), DwtSTextGetString(3Dwt), DwtSTextGetMaxLength(3Dwt), DwtSTextSetMaxLength(3Dwt), DwtSTextSetSelection(3Dwt), DwtS-
TextClearSelection(3Dwt), DwtSTextGetSelection(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtSTextSetEditable(3Dwt)
Check Out this Related 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 AlsoDwtSText(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)
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)
I have a .fs file that I want to edit, (or just be able to see what is in it) preferably through a windows environment. Does anyone know how to do that? Thanks (4 Replies)
Hi
Given read and write permission ( for group others etc) on any ordinary text file one can edit and view the file . In this case what role does an execution field play. (4 Replies)
Hi,
sample file looks like this..
<hp>
<name>
<detail>adsg</detail>
...
...
</name><ft>4264</ft>
</hp>
I need to edit the last but one line. I want the format to be ..
<hp>
<name>
<detail>adsg</detail>
...
...
</name> (3 Replies)
# cat test
mpath0:253:8:L--w:0:1:2:mpath-2000b080008002158
mpath19:253:7:L--w:0:1:1:mpath-2000b080013002158
mpath21:253:9:L--w:0:1:0:mpath-2000b080015002158
mpath18:253:6:L--w:0:1:1:mpath-2000b080012002158
mpath12:253:1:L--w:0:1:2:mpath-2000b080009002158
#
The above is the i/p and the... (3 Replies)
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)
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)
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)
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)
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)
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)
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)
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)
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)