Manuali, links, fotografie e tanto altro
alla portata di un semplice click!
 
 Benvenuto Ospite
Manuali, immagini, fotografie e tanto altro a portata di un click

Cartoline virtuali

Cartolina n° 350



Sono presenti 1307 cartoline virtuali. Entra ora


Giochi online
Air War


1. Inquieto: 4,200
1. ermesiti: 4,200
1. Daygo: 4,200

Visualizza tutti i giochi.

News Reader















MAN sezione 3 - Torna all'indice



MAN PAGE: Tk_CoordsToWindow(3)

Contents


_________________________________________________________________

NAME

       Tk_CoordsToWindow - Find window containing a point

SYNOPSIS

       #include <tk.h>

       Tk_Window
       Tk_CoordsToWindow(rootX, rootY, tkwin)

ARGUMENTS

       int         rootX   (in)      X-coordinate (in root window
                                     coordinates).

       int         rootY   (in)      Y-coordinate (in root window
                                     coordinates).

       Tk_Window   tkwin   (in)      Token  for window that iden­
                                     tifies application.
_________________________________________________________________

DESCRIPTION

       Tk_CoordsToWindow locates the window that contains a given
       point.   The  point  is specified in root coordinates with
       rootX and rootY (if a virtual-root window  manager  is  in
       use  then  rootX and rootY are in the coordinate system of
       the virtual root window).  The return value from the  pro­
       cedure  is  a token for the window that contains the given
       point.  If the point is not in any window, or if the  con­
       taining  window  is  not in the same application as tkwin,
       then NULL is returned.

       The containing window is decided using the same rules that
       determine  which  window  contains the mouse cursor:  if a
       parent and a child both contain the point then  the  child
       gets  preference,  and  if  two  siblings both contain the
       point then the highest one in the stacking order (i.e. the
       one that's visible on the screen) gets preference.

KEYWORDS

       containing, coordinates, root window


Tk                                                              1
Network: Cartoline virtuali - Calendari - Modelle - Playmates - Sfondi - Forum - Old SecurityNews - Warez