home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.3 / GetVRoot.3 < prev    next >
Encoding:
Text File  |  1995-07-26  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333))))       TTTTkkkk (((( ))))        TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           Tk_GetVRootGeometry - Get location and size of virtual  root
  12.           for window
  13.  
  14.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.           ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  16.  
  17.           TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((_t_k_w_i_n, _x_P_t_r, _y_P_t_r, _w_i_d_t_h_P_t_r, _h_e_i_g_h_t_P_t_r))))
  18.  
  19.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.           Tk_Window   _t_k_w_i_n       (in)      Token  for  window   whose
  21.                                             virtual   root  is  to  be
  22.                                             queried.
  23.  
  24.           int         _x_P_t_r        (out)     Points to word in which to
  25.                                             store  x-offset of virtual
  26.                                             root.
  27.  
  28.           int         _y_P_t_r        (out)     Points to word in which to
  29.                                             store  y-offset of virtual
  30.                                             root.
  31.  
  32.           unsigned int            _w_i_d_t_h_P_t_r(out)
  33.                                             Points to word in which to
  34.                                             store   width  of  virtual
  35.                                             root.
  36.  
  37.           unsigned int            _h_e_i_g_h_t_P_t_r(out)
  38.                                             Points to word in which to
  39.                                             store  height  of  virtual
  40.                                             root.
  41.      _________________________________________________________________
  42.  
  43.  
  44.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.           TTTTkkkkGGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy returns geometry  information  about  the
  46.           virtual    root   window   associated   with   _t_k_w_i_n.    The
  47.           ``associated'' virtual root is  the  one  in  which  _t_k_w_i_n's
  48.           nearest  top-level ancestor (or _t_k_w_i_n itself if it is a top-
  49.           level window) has been reparented  by  the  window  manager.
  50.           This  window  is  identified  by  a  ________SSSSWWWWMMMM____RRRROOOOOOOOTTTT or ________WWWWMMMM____RRRROOOOOOOOTTTT
  51.           property placed  on  the  top-level  window  by  the  window
  52.           manager.   If  _t_k_w_i_n  is  not associated with a virtual root
  53.           (e.g.  because the window manager doesn't use virtual roots)
  54.           then  *_x_P_t_r  and  *_y_P_t_r  will  be set to 0 and *_w_i_d_t_h_P_t_r and
  55.           *_h_e_i_g_h_t_P_t_r will be set  to  the  dimensions  of  the  screen
  56.           containing _t_k_w_i_n.
  57.  
  58.  
  59.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  60.  
  61.  
  62.  
  63.      PPPPaaaaggggeeee 1111                                          ((((pppprrrriiiinnnntttteeeedddd 7777////22223333////99995555))))
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333))))       TTTTkkkk (((( ))))        TTTTkkkk____GGGGeeeettttVVVVRRRRoooooooottttGGGGeeeeoooommmmeeeettttrrrryyyy((((3333))))
  71.  
  72.  
  73.  
  74.           geometry, height,  location,  virtual  root,  width,  window
  75.           manager
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 7/23/95)
  130.  
  131.  
  132.  
  133.