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 / Xt / XtCreateWindow.z / XtCreateWindow
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXttttCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtCreateWindow - window creation convenience function
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           void XtCreateWindow(_w, _w_i_n_d_o_w__c_l_a_s_s, _v_i_s_u_a_l, _v_a_l_u_e__m_a_s_k,
  13.           _a_t_t_r_i_b_u_t_e_s)
  14.                 Widget _w;
  15.                 unsigned int _w_i_n_d_o_w__c_l_a_s_s;
  16.                 Visual *_v_i_s_u_a_l;
  17.                 XtValueMask _v_a_l_u_e__m_a_s_k;
  18.                 XSetWindowAttributes *_a_t_t_r_i_b_u_t_e_s;
  19.  
  20.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  21.           _a_t_t_r_i_b_u_t_e_s
  22.                     Specifies the window attributes to use in the
  23.                     _X_C_r_e_a_t_e_W_i_n_d_o_w call.
  24.  
  25.           _v_a_l_u_e__m_a_s_k
  26.                     Specifies which attribute fields to use.
  27.  
  28.           _v_i_s_u_a_l    Specifies the visual type (usually
  29.                     _C_o_p_y_F_r_o_m_P_a_r_e_n_t).
  30.  
  31.           _w         Specifies the widget that is used to set the x,y
  32.                     coordinates and so on.
  33.  
  34.           _w_i_n_d_o_w__c_l_a_s_s
  35.                     Specifies the Xlib window class (for example,
  36.                     _I_n_p_u_t_O_u_t_p_u_t, _I_n_p_u_t_O_n_l_y, or _C_o_p_y_F_r_o_m_P_a_r_e_n_t).
  37.  
  38.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  39.           The _X_t_C_r_e_a_t_e_W_i_n_d_o_w function calls the Xlib _X_C_r_e_a_t_e_W_i_n_d_o_w
  40.           function with values from the widget structure and the
  41.           passed parameters.  Then, it assigns the created window to
  42.           the widget's window field.
  43.  
  44.           _X_t_C_r_e_a_t_e_W_i_n_d_o_w evaluates the following fields of the _C_o_r_e
  45.           widget structure:
  46.  
  47.           +o    depth
  48.  
  49.           +o    screen
  50.  
  51.           +o    parent -> core.window
  52.  
  53.           +o    x
  54.  
  55.           +o    y
  56.  
  57.           +o    width
  58.  
  59.           +o    height
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXttttCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           +o    border_width
  75.  
  76.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  78.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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 10/3/02)
  130.  
  131.  
  132.  
  133.