Tk_GetRootCoords(3TK) Tk Library Procedures Tk_GetRootCoords(3TK)__________________________________________________________________________________________________________________________________________________NAME
Tk_GetRootCoords - Compute root-window coordinates of window
SYNOPSIS
#include <tk.h>
Tk_GetRootCoords(tkwin, xPtr, yPtr)
ARGUMENTS
Tk_Window tkwin (in) Token for window.
int *xPtr (out) Pointer to location in which to store root-window x-coordinate corresponding to left edge of tkwin's border.
int *yPtr (out) Pointer to location in which to store root-window y-coordinate corresponding to top edge of tkwin's border.
_________________________________________________________________DESCRIPTION
This procedure scans through the structural information maintained by Tk to compute the root-window coordinates corresponding to the upper-
left corner of tkwin's border. If tkwin has no border, then Tk_GetRootCoords returns the root-window coordinates corresponding to location
(0,0) in tkwin. Tk_GetRootCoords is relatively efficient, since it doesn't have to communicate with the X server.
KEYWORDS
coordinates, root window
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.
TkTk_GetRootCoords(3TK)
Check Out this Related Man Page
Tk_GetVRootGeometry(3) Tk Library Procedures Tk_GetVRootGeometry(3)__________________________________________________________________________________________________________________________________________________NAME
Tk_GetVRootGeometry - Get location and size of virtual root for window
SYNOPSIS
#include <tk.h>
Tk_GetVRootGeometry(tkwin, xPtr, yPtr, widthPtr, heightPtr)
ARGUMENTS
Tk_Window tkwin (in) Token for window whose virtual root is to be queried.
int xPtr (out) Points to word in which to store x-offset of virtual root.
int yPtr (out) Points to word in which to store y-offset of virtual root.
int widthPtr (out) Points to word in which to store width of virtual root.
int heightPtr (out) Points to word in which to store height of virtual root.
_________________________________________________________________DESCRIPTION
Tk_GetVRootGeometry returns geometry information about the virtual root window associated with tkwin. The "associated" virtual root is the
one in which tkwin's nearest top-level ancestor (or tkwin itself if it is a top-level window) has been reparented by the window manager.
This window is identified by a __SWM_ROOT or __WM_ROOT property placed on the top-level window by the window manager. If tkwin is not
associated with a virtual root (e.g. because the window manager does not use virtual roots) then *xPtr and *yPtr will be set to 0 and
*widthPtr and *heightPtr will be set to the dimensions of the screen containing tkwin.
KEYWORDS
geometry, height, location, virtual root, width, window manager
Tk 4.0 Tk_GetVRootGeometry(3)
Hi Everyone,
When i finish running
# echo `psql -t -U root databaseA -c "select a, b from book"`;
i get the output
107275 | 14 107301 | 2 107446 | 6 107820 | 77 107929 | 101
Would like to have the result like:
107275 | 14
107301 | 2
107446 | 6
107820 | 77
107929 | 101 (7 Replies)
I wanted to modify my Xstarup file so I can have Croatian letters but unfortunately I am unable to log in .
What I have done is
cp /dev/null /etc/dt/config/Xstartup
cat >> /etc/dt/config/Xstartup <<%EOF%
keycode 34 = bracketleft braceleft scaron Scaron
keycode 35 = bracketright... (8 Replies)
Hello all,
I need to run successfully this command :
1:root@abcd:/root # lscfg -vl vpathXY
lscfg: device vpathXY not found.
1:root@abcd:/root # echo $?
1
If I run it on another server I will get no output which is ok :
1:root@efgh:/root # lscfg -vl vpathAB
1:root@efgh:/root # echo $?... (4 Replies)
i am using redhat 5.4 and my root size shows 98 %, how can i increase root size
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 77G 16G 75G 98% /
/dev/sda1 2.4G 82M 2.2G 4% /boot
tmpfs 3.8G 0 3.8G 0%... (8 Replies)
root:/home/root # extendvg rootvg hdisk50
0516-1339 extendvg: Physical volume contains some 3rd party volume group.
0516-1397 extendvg: The physical volume hdisk50, will not be added to
the volume group.
0516-792 extendvg: Unable to extend volume group.
root:/home/root # extendvg -f rootvg... (7 Replies)
I have a file
root@server # cat /root/list12
11.22.33.44
22.33.44.55
33.44.55.66
33.44.55.66
33.44.55.66
I try to pass to array and display unique.
root@server# cat /root/test12.sh
#!/bin/bash
#delcare array badips and accumulate values to array elemenrs
badips=( $( cat... (4 Replies)
Hello,
forgive me if this seems a bit trivial to you but I am fairly new to HP-ux having worked with AIX for the past 15 years. We have inherited a couple of HP-ux servers without any tape drives and running Hp-ux v11. I am familiar with creating mksysbs on our AIX Nim server for recovery and... (12 Replies)
Hi all,
I have to run C++ file using root programming, using following commands:
$root -l
root .L TwoTrees.C++
root TwoTrees t
root t.Loop()
root.q
I wonder if I can write script to do the following.
Thanks
Pooja (12 Replies)
when we fire ls -lrt command we see o/p as
total 16
drwx------ 9 root root 8192 May 8 2002 lost+found
drwxr-xr-x 2 root root 512 Jun 14 2002 TT_DB
drwxrwxr-x 2 root root 512 Jul 31 2002 mail
here total no. of files is always greater than... (4 Replies)
I want to grep based on first column and print all the columns. for eg.
root 12344 /sh
root 33389 /bash
oracle 87378 /tech/oracle
oracle 26367 /tmp/oracle
Now I want to grep based on user "root" in first column and print like below.
root ... (14 Replies)
When the temp user logs in i see his session as below.
# who
root pts/0 2017-08-18 08:32 (121.87.51.113)
temp pts/1 2017-08-18 09:06 (121.87.51.113)
root pts/2 2017-08-18 08:59 (121.87.51.113)
When he logs out by either firing exit command or closing the... (3 Replies)