Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_ownselection(3) [redhat 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)

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)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Menu function stuck in a loop?

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)
Discussion started by: darthur
2 Replies

2. Shell Programming and Scripting

selection of context in files

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)
Discussion started by: manas_ranjan
1 Replies

3. UNIX for Dummies Questions & Answers

Random selection of subset of sample from file

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)
Discussion started by: biopsy
7 Replies

4. Shell Programming and Scripting

A selection menu in a shell script

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)
Discussion started by: Sara_84
3 Replies

5. Shell Programming and Scripting

Php assign selection to a variable

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)
Discussion started by: SkySmart
1 Replies

6. AIX

Elseif & for condition in AIX

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)
Discussion started by: Pandee
5 Replies