home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XSetTransientForHint.z / XSetTransientForHint
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttTTTTrrrraaaannnnssssiiiieeeennnnttttFFFFoooorrrrHHHHiiiinnnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttTTTTrrrraaaannnnssssiiiieeeennnnttttFFFFoooorrrrHHHHiiiinnnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetTransientForHint, XGetTransientForHint - set or read a
  10.           window's WM_TRANSIENT_FOR property
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XSetTransientForHint(_d_i_s_p_l_a_y, _w, _p_r_o_p__w_i_n_d_o_w)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 Window _w;
  16.                 Window _p_r_o_p__w_i_n_d_o_w;
  17.  
  18.           Status XGetTransientForHint(_d_i_s_p_l_a_y, _w, _p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n)
  19.                 Display *_d_i_s_p_l_a_y;
  20.                 Window _w;
  21.                 Window *_p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  25.  
  26.           _w         Specifies the window.
  27.  
  28.           _p_r_o_p__w_i_n_d_o_w
  29.                     Specifies the window that the WM_TRANSIENT_FOR
  30.                     property is to be set to.
  31.  
  32.           _p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n
  33.                     Returns the WM_TRANSIENT_FOR property of the
  34.                     specified window.
  35.  
  36.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  37.           The _X_S_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t function sets the WM_TRANSIENT_FOR
  38.           property of the specified window to the specified
  39.           prop_window.
  40.  
  41.           _X_S_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t can generate _B_a_d_A_l_l_o_c and _B_a_d_W_i_n_d_o_w
  42.           errors.
  43.  
  44.           The _X_G_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t function returns the
  45.           WM_TRANSIENT_FOR property for the specified window.  It
  46.           returns a nonzero status on success; otherwise, it returns a
  47.           zero status.
  48.  
  49.           _X_G_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t can generate a _B_a_d_W_i_n_d_o_w error.
  50.  
  51.      PPPPRRRROOOOPPPPEEEERRRRTTTTIIIIEEEESSSS
  52.           WM_TRANSIENT_FOR
  53.                     Set by application programs to indicate to the
  54.                     window manager that a transient top-level window,
  55.                     such as a dialog box.
  56.  
  57.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  58.           _B_a_d_A_l_l_o_c  The server failed to allocate the requested
  59.                     resource or server memory.
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttTTTTrrrraaaannnnssssiiiieeeennnnttttFFFFoooorrrrHHHHiiiinnnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttTTTTrrrraaaannnnssssiiiieeeennnnttttFFFFoooorrrrHHHHiiiinnnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  75.                     defined Window.
  76.  
  77.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.           XAllocClassHint(3X11), XAllocIconSize(3X11),
  79.           XAllocSizeHints(3X11), XAllocWMHints(3X11),
  80.           XSetCommand(3X11), XSetTextProperty(3X11),
  81.           XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11),
  82.           XSetWMIconName(3X11), XSetWMName(3X11),
  83.           XSetWMProperties(3X11), XSetWMProtocols(3X11),
  84.           XStringListToTextProperty(3X11)
  85.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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 10/3/02)
  130.  
  131.  
  132.  
  133.