11-15-2013
Thanks for this. I'm happy to learn of it too.
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue...
Thanks (3 Replies)
Discussion started by: XivaX
3 Replies
2. UNIX for Advanced & Expert Users
i want to know the update packages that i have installed on my solaris 9 (2 Replies)
Discussion started by: MONMON
2 Replies
3. Linux
I have to write Linux script to findout what kind of ilo is been installed in the given ip address either ilo/LO100 or no device found.
IP address will be given in the command line of the script.
-> With out log on to the ip address, should get the ilo type installed in that machine.
1. I... (1 Reply)
Discussion started by: skmdu
1 Replies
4. Shell Programming and Scripting
I currently have a statistics gathering script i run on my Linux servers. One of the stat i gather is total memory in the machine. The script is all perl with the exception of gathering the memory for that i use the following command:
$ram = (`cat /proc/meminfo | grep "MemTotal" | awk... (1 Reply)
Discussion started by: insania
1 Replies
5. Linux
Hi.
Here's my setup:
a workstation with an X server
a CentOS server with no X server installed (development, security is not a concern)
a GUI application installed on the server
When I ssh to that machine, I get:
ssh -Xl root 192.168.x.x
Warning: untrusted X11 forwarding setup... (4 Replies)
Discussion started by: flj
4 Replies
6. Red Hat
How do I network a Suse installed machine with other computers, specifically Red hat Linux?
This is for a school project, and I can't find any pages that tell how to network a Suse to other computers except how to use a printer. (1 Reply)
Discussion started by: Anna Hussie
1 Replies
7. Ubuntu
How can I learn what time OS installed time and release information. (4 Replies)
Discussion started by: getrue
4 Replies
8. Solaris
I have installed solaris 10 over VM ware in windows machine. now i want to share the files from windows to solaris. how can i do so.. and pls tell if through putty i can access the solaris from windows machine without logging onto VMware. (4 Replies)
Discussion started by: jain_sharad143
4 Replies
9. Linux
Hi,
Which command would tell me of how many total number packages installed on my Redhat?
Thank you,
Lam (2 Replies)
Discussion started by: lamoul
2 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
SuSE 11 SP3 (*3.0.101-0.47.71-default, x86_64)
I was attempting to install a MySQL update on a web server we use for internal stuff within the network. Since the OS didn't come with an update in the pre-installed repos, I went to MySQL's site and found a Repo for my OS version at... (0 Replies)
Discussion started by: mrm5102
0 Replies
LEARN ABOUT MOJAVE
tk_ungrab
Tk_Grab(3) Tk Library Procedures Tk_Grab(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_Grab, Tk_Ungrab - manipulate grab state in an application
SYNOPSIS
#include <tk.h>
int
Tk_Grab(interp, tkwin, grabGlobal)
void
Tk_Ungrab(tkwin)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter to use for error reporting
Tk_Window tkwin (in) Window on whose behalf the pointer is to be grabbed or released
int grabGlobal (in) Boolean indicating whether the grab is global or application local
_________________________________________________________________
DESCRIPTION
These functions are used to set or release a global or application local grab. When a grab is set on a particular window in a Tk applica-
tion, mouse and keyboard events can only be received by that window and its descendants. Mouse and keyboard events for windows outside the
tree rooted at tkwin will be redirected to tkwin. If the grab is global, then all mouse and keyboard events for windows outside the tree
rooted at tkwin (even those intended for windows in other applications) will be redirected to tkwin. If the grab is application local,
only mouse and keyboard events intended for a windows within the same application (but outside the tree rooted at tkwin) will be redi-
rected.
Tk_Grab sets a grab on a particular window. Tkwin specifies the window on whose behalf the pointer is to be grabbed. GrabGlobal indicates
whether the grab should be global or application local; if it is non-zero, it means the grab should be global. Normally, Tk_Grab returns
TCL_OK; if an error occurs and the grab cannot be set, TCL_ERROR is returned and an error message is left if interp's result. Once this
call completes successfully, no window outside the tree rooted at tkwin will receive pointer- or keyboard-related events until the next
call to Tk_Ungrab. If a previous grab was in effect within the application, then it is replaced with a new one.
Tcl_Ungrab releases a grab on the mouse pointer and keyboard, if there is one set on the window given by tkwin. Once a grab is released,
pointer and keyboard events will start being delivered to other windows again.
KEYWORDS
grab, window
Tk Tk_Grab(3)