Tk_ClearSelection(3TK) Tk Library Procedures Tk_ClearSelection(3TK)__________________________________________________________________________________________________________________________________________________NAME
Tk_ClearSelection - Deselect a selection
SYNOPSIS
#include <tk.h>
Tk_ClearSelection(tkwin, selection)
ARGUMENTS
Tk_Window tkwin (in) The selection will be cleared from the display containing this window.
Atom selection(in) The name of selection to be cleared.
_________________________________________________________________DESCRIPTION
Tk_ClearSelection cancels the selection specified by the atom selection for the display containing tkwin. The selection need not be in
tkwin itself or even in tkwin's application. If there is a window anywhere on tkwin's display that owns selection, the window will be
notified and the selection will be cleared. If there is no owner for selection on the display, then the procedure has no effect.
KEYWORDS
clear, selection
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 4.0 Tk_ClearSelection(3TK)
Check Out this Related Man Page
Tk_OwnSelection(3) Tk Library Procedures Tk_OwnSelection(3)__________________________________________________________________________________________________________________________________________________NAME
Tk_OwnSelection - make a window the owner of the primary selection
SYNOPSIS
#include <tk.h>
Tk_OwnSelection(tkwin, selection, proc, clientData)
ARGUMENTS
Tk_Window tkwin (in) Window that is to become new selection owner.
Atom selection (in) The name of the selection to be owned, such as XA_PRIMARY.
Tk_LostSelProc *proc (in) Procedure to invoke when tkwin loses selection ownership later.
ClientData clientData (in) Arbitrary one-word value to pass to proc.
_________________________________________________________________DESCRIPTION
Tk_OwnSelection arranges for tkwin to become the new owner of the selection specified by the atom selection. After this call completes,
future requests for the selection will be directed to handlers created for tkwin using Tk_CreateSelHandler. When tkwin eventually loses
the selection ownership, proc will be invoked so that the window can clean itself up (e.g. by unhighlighting the selection). Proc should
have arguments and result that match the type Tk_LostSelProc:
typedef void Tk_LostSelProc(ClientData clientData);
The clientData parameter to proc is a copy of the clientData argument given to Tk_OwnSelection, and is usually a pointer to a data struc-
ture containing application-specific information about tkwin.
KEYWORDS
own, selection owner
Tk 4.0 Tk_OwnSelection(3)
I having problem when I call this cleanupmenu function within a script. It continuously loops and goes to selection * That wasn't a valid selection. I have to kill it everytime to stop it. What am I doing wrong. I use this function menu in several other scripts and I don't have this problem at... (2 Replies)
Can anyone help me with this i'm not sure what the answers are.
Q1 If "." is not in the PATH, what does it mean?
1. The current directory is not readable.
2. The current directory is readable but not executable.
3. Executable programs cannot be scattered everywhere - they must be in a... (9 Replies)
I have a file like this
QUEUE: <ITEM(69)> "/NLA///ACHO_EQU_IDX"
Q_KEY: <ITEM(69)> "/NLA///ACHO_EQU_IDX"
Q_TYPE: <VSTR(32)> "GEN_VSTR_INDEX"
... (1 Reply)
Hi,
I have a file containing details of different departments . Infomration of departments is in various tags
file is as below
I want to create a new file from the above file which should contain only two fields belonging to one department
format
There are multiple files... (1 Reply)
Hi,
Please note that as a programmer I cannot tell the file format or details of my production files so I have re-framed my file and taken a case of departments. Kindly guide as its related to a production requirement of data containing recors of production customer NOT A HOMEWORK :)
I have... (10 Replies)
Hello
Could you please help me to find a code that can randomly select 1224 lines from a file of 12240 and make tn output with 1224 line each.
my input is txt file with 12240 lines like :
13474 999003507 0 0 2 -9
13475 999003508 0 0 2 -9
13476 999003509 0 0 1 -9
13477 999003510 0 0 1 -9
... (7 Replies)
I'm writing a shell script and have a problem with selection when I issue the command, is there a way to automatically choose a selection number one after a selection menue appear
Command
1-choice
2- choice
3-choice
Thanks
Sara (3 Replies)
can someone help me assign the selection of a drop down menu to a variable? the variable i need to store the selection in is inputA.
<form name="inputA">
<p align="center">
<p align="center">Name: <input name="inputA" type="text" size="45">
<select>
<?php
if ($handle =... (1 Reply)
I'm using the below statements in my script
if && then
sqlplus sysadm/abcdefgh12@${dbarr} @/u1/scripts/ResetPswd.sql
elif then
for idx in 0 1 2 3 4 5 6 7
do
sqlplus sysadm/abcdefgh12@${dbarr} @/u1/scripts/ResetPswd.sql
done
else
exit
fi
It give me... (5 Replies)
I need to add a selection within the bash function below and am having some trouble doing so.
phox2b() {
printf "\n\n"
printf "What is the id of the patient getting Phox2B analysis : "; read id
printf "Is this an intronic variant? Y/N "; read match_choice
case... (5 Replies)
Hi,
I would like to upgrade my AIX box 6.1 to 7.1/7.2.
Current info of my AIX 6.1 box
/ > oslevel -s
6100-09-11-1810
System Model: IBM,9117-MMD
Machine Serial Number: xxx
Processor Type: PowerPC_POWER7
Processor Implementation Mode: POWER 7
Processor Version: PV_7_Compat
Number Of... (10 Replies)