Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtstextgetselection(3dwt) [ultrix man page]

DwtSTextGetSelection(3Dwt)												DwtSTextGetSelection(3Dwt)

Name
       DwtSTextGetSelection - Retrieves the global selection, if any, currently highlighted in the simple text widget.

Syntax
	    char *DwtSTextGetSelection(widget)
	    Widget widget;

Arguments
       widget	 Specifies the widget ID.

Description
       The DwtSTextGetSelection function retrieves the text currently highlighted (selected) in the simple 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 string by calling XtFree.

Return Values
       This function returns the text currently highlighted on the screen.

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

															DwtSTextGetSelection(3Dwt)

Check Out this Related Man Page

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 Also
       DwtSText(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)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

A simple (?) loop

I have what I believe is a simple programming question. I have a text file that looks like: mol 1 G:\stereo01.hin block text ... ... ... endmol 1 However, I would like a file that repeats this entire block of text several times over. The lines of text in the middle remain the same for each... (2 Replies)
Discussion started by: red baron
2 Replies

2. Shell Programming and Scripting

make it simple!!!

i am having following DML file i want to extract only highlighted area using sed or awk oneliner.. i wrote the following sed command for this .. it works fine but its too complex i guess.. can any one help me out to make it simpler.. thanks in advance.. vidya.. (2 Replies)
Discussion started by: vidyadhar85
2 Replies

3. UNIX for Advanced & Expert Users

explain the code

Hi , Can anyone explains what does the below highlighted statements means: # Set environment variables . ${0%/*}/wrkenv.sh jobName_sh=${0##*/} jobName=${jobName_sh%.*} Thanks, Sri (1 Reply)
Discussion started by: srilaxmi
1 Replies

4. Shell Programming and Scripting

dig-x: only part of the output is needed

Hi everyone, how can I get the highlighted text only? I am only concerned with the first line of the "AUTHORITY SECTION" (in red). thank you in advance (4 Replies)
Discussion started by: Abdulelah
4 Replies

5. Shell Programming and Scripting

MS Word + Perl

The below snippet will find and replace string in a word document (.doc)..but the string which is replaced is highlighted how to remove the highlighted part..for eg the string what i want to replace is "Apple" and it is highlighted in yellow color when i replace it with "Grapes" the same color is... (1 Reply)
Discussion started by: rajkrishna89
1 Replies

6. Shell Programming and Scripting

help extracting text from file

Hello I have a large file with lines beginning with 552, 553, 554, below is a small sample, I need to extract the data you can see below highlighted in bold from this file on the same location on every line and output it to a new file. Thank you in advance for any help 55201KL... (2 Replies)
Discussion started by: firefox2k2
2 Replies