home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xtcreatewindow.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XtCreateWindow(3Xt)       XT FUNCTIONS          XtCreateWindow(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtCreateWindow - window creation convenience function
  9.  
  10. SSYYNNTTAAXX
  11.        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,
  12.        _a_t_t_r_i_b_u_t_e_s)
  13.          Widget _w;
  14.          unsigned int _w_i_n_d_o_w___c_l_a_s_s;
  15.          Visual *_v_i_s_u_a_l;
  16.          XtValueMask _v_a_l_u_e___m_a_s_k;
  17.          XSetWindowAttributes *_a_t_t_r_i_b_u_t_e_s;
  18.  
  19. AARRGGUUMMEENNTTSS
  20.        _a_t_t_r_i_b_u_t_e_s
  21.          Specifies the window attributes to use in the
  22.          _X_C_r_e_a_t_e_W_i_n_d_o_w call.
  23.  
  24.        _v_a_l_u_e___m_a_s_k
  25.          Specifies which attribute fields to use.
  26.  
  27.        _v_i_s_u_a_l     Specifies the visual type (usually
  28.          _C_o_p_y_F_r_o_m_P_a_r_e_n_t).
  29.  
  30.        _w     Specifies the widget that is used to set the x,y
  31.          coordinates and so on.
  32.  
  33.        _w_i_n_d_o_w___c_l_a_s_s
  34.          Specifies the Xlib window class (for example,
  35.          _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).
  36.  
  37. DDEESSCCRRIIPPTTIIOONN
  38.        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
  39.        function with values from the widget structure and the
  40.        passed parameters.  Then, it assigns the created window to
  41.        the widget's window field.
  42.  
  43.        _X_t_C_r_e_a_t_e_W_i_n_d_o_w evaluates the following fields of the _C_o_r_e
  44.        widget structure:
  45.  
  46.        +o    depth
  47.  
  48.        +o    screen
  49.  
  50.        +o    parent -> core.window
  51.  
  52.        +o    x
  53.  
  54.        +o    y
  55.  
  56.        +o    width
  57.  
  58.        +o    height
  59.  
  60.        +o    border_width
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XtCreateWindow(3Xt)       XT FUNCTIONS          XtCreateWindow(3Xt)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        _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
  75.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  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.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.