home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XtNameToWidget(3Xt) XT FUNCTIONS XtNameToWidget(3Xt)
-
-
- NNAAMMEE
- XtNameToWidget, XtWindowToWidget - translating strings to
- widgets or widgets to windows
-
- SSYYNNTTAAXX
- Widget XtNameToWidget(_r_e_f_e_r_e_n_c_e, _n_a_m_e_s);
- Widget _r_e_f_e_r_e_n_c_e;
- String _n_a_m_e_s;
-
- Widget XtWindowToWidget(_d_i_s_p_l_a_y, _w_i_n_d_o_w)
- Display *_d_i_s_p_l_a_y;
- Window _w_i_n_d_o_w;
-
- AARRGGUUMMEENNTTSS
- _d_i_s_p_l_a_y Specifies the display on which the window is
- defined.
-
- _n_a_m_e_s Specifies the fully qualified name of the
- desired widget.
-
- _r_e_f_e_r_e_n_c_e Specifies the widget from which the search is to
- start.
-
- _w_i_n_d_o_w Specify the window for which you want the wid-
- get.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_t_N_a_m_e_T_o_W_i_d_g_e_t function looks for a widget whose name
- is the first component in the specified names and that is
- a pop-up child of reference (or a normal child if refer-
- ence is a subclass of _c_o_m_p_o_s_i_t_e_W_i_d_g_e_t_C_l_a_s_s). It then uses
- that widget as the new reference and repeats the search
- after deleting the first component from the specified
- names. If it cannot find the specified widget, _X_t_N_a_m_e_T_o_-
- _W_i_d_g_e_t returns NULL.
-
- Note that the names argument contains the name of a widget
- with respect to the specified reference widget and can
- contain more than one widget name (separated by periods)
- for widgets that are not direct children of the specified
- reference widget.
-
- If more than one child of the reference widget matches the
- name, _X_t_N_a_m_e_T_o_W_i_d_g_e_t can return any of the children. The
- Intrinsics do not require that all children of a widget
- have unique names. If the specified names contain more
- than one component and if more than one child matches the
- first component, _X_t_N_a_m_e_T_o_W_i_d_g_e_t can return NULL if the
- single branch that it follows does not contain the named
- widget. That is, _X_t_N_a_m_e_T_o_W_i_d_g_e_t does not back up and fol-
- low other matching branches of the widget tree.
-
- The _X_t_W_i_n_d_o_w_T_o_W_i_d_g_e_t function translates the specified
- window and display pointer into the appropriate widget
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XtNameToWidget(3Xt) XT FUNCTIONS XtNameToWidget(3Xt)
-
-
- instance.
-
- SSEEEE AALLSSOO
- _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
-
-
-