home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XtConfigureWidget(3Xt) XT FUNCTIONS XtConfigureWidget(3Xt)
-
-
- NNAAMMEE
- XtConfigureWidget, XtMoveWidget, XtResizeWidget - move and
- resize widgets
-
- SSYYNNTTAAXX
- void XtConfigureWidget(_w, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_-
- _d_e_r___w_i_d_t_h)
- Widget _w;
- Position _x;
- Position _y;
- Dimension _w_i_d_t_h;
- Dimension _h_e_i_g_h_t;
- Dimension _b_o_r_d_e_r___w_i_d_t_h;
-
- void XtMoveWidget(_w, _x, _y)
- Widget _w;
- Position _x;
- Position _y;
-
- void XtResizeWidget(_w, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r___w_i_d_t_h)
- Widget _w;
- Dimension _w_i_d_t_h;
- Dimension _h_e_i_g_h_t;
- Dimension _b_o_r_d_e_r___w_i_d_t_h;
-
- void XtResizeWindow(_w)
- Widget _w;
-
- AARRGGUUMMEENNTTSS
- _w_i_d_t_h
- _h_e_i_g_h_t
- _b_o_r_d_e_r___w_i_d_t_h
- Specify the new widget size.
-
- _w Specifies the widget.
-
- _x
- _y Specify the new widget x and y coordinates.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t function returns immediately if the
- specified geometry fields are the same as the old values.
- Otherwise, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t writes the new x, y, width,
- height, and border_width values into the widget and, if
- the widget is realized, makes an Xlib _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w
- call on the widget's window.
-
- If either the new width or height is different from its
- old value, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t calls the widget's resize
- procedure to notify it of the size change; otherwise, it
- simply returns.
-
- The _X_t_M_o_v_e_W_i_d_g_e_t function returns immediately if the spec-
- ified geometry fields are the same as the old values.
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XtConfigureWidget(3Xt) XT FUNCTIONS XtConfigureWidget(3Xt)
-
-
- Otherwise, _X_t_M_o_v_e_W_i_d_g_e_t writes the new x and y values into
- the widget and, if the widget is realized, issues an Xlib
- _X_M_o_v_e_W_i_n_d_o_w call on the widget's window.
-
- The _X_t_R_e_s_i_z_e_W_i_d_g_e_t function returns immediately if the
- specified geometry fields are the same as the old values.
- Otherwise, _X_t_R_e_s_i_z_e_W_i_d_g_e_t writes the new width, height,
- and border_width values into the widget and, if the widget
- is realized, issues an _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on the wid-
- get's window.
-
- If the new width or height are different from the old val-
- ues, _X_t_R_e_s_i_z_e_W_i_d_g_e_t calls the widget's resize procedure to
- notify it of the size change.
-
- The _X_t_R_e_s_i_z_e_W_i_n_d_o_w function calls the _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w
- Xlib function to make the window of the specified widget
- match its width, height, and border width. This request
- is done unconditionally because there is no way to tell if
- these values match the current values. Note that the wid-
- get's resize procedure is not called.
-
- There are very few times to use _X_t_R_e_s_i_z_e_W_i_n_d_o_w; instead,
- you should use _X_t_R_e_s_i_z_e_W_i_d_g_e_t.
-
- SSEEEE AALLSSOO
- XtMakeGeometryRequest(3Xt), XtQueryGeometry(3Xt)
- _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
- _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-