NAME
XtGetClassExtension - locate a class extension record
SYNTAX
XtPointer XtGetClassExtension(WidgetClass _o_b_j_e_c_t___c_l_a_s_s, Cardinal
_b_y_t_e___o_f_f_s_e_t, XrmQuark _t_y_p_e, long _v_e_r_s_i_o_n, Cardinal
_r_e_c_o_r_d___s_i_z_e);
ARGUMENTS
-
_o_b_j_e_c_t___c_l_a_s_s
Specifies the widget class containing the extension list to be searched.
-
-
_b_y_t_e___o_f_f_s_e_t
Specifies the offset in bytes form the base of the widget class of the
-
extension field to be searched.
-
_t_y_p_e
Specifies the name of the class extension to be located.
-
-
_v_e_r_s_i_o_n
Specifies the minimum acceptable version of the class extension
-
required for a match.
-
_r_e_c_o_r_d___s_i_z_e
Specifies the minimum acceptable length of the class extension record
-
required for match, or 0.
DESCRIPTION
The list of extension records at the specified offset in the specified
_w_i_d_g_e_t___c_l_a_s_s will be searched for a match on the specified
_t_y_p_e, a version greater than or equal to the specified _v_e_r_s_i_o_n,
and a record size greater than or equal the specified _r_e_c_o_r_d___s_i_z_e
if it is nonzero.
_X_t_G_e_t_C_l_a_s_s_E_x_t_e_n_s_i_o_n
returns a pointer to a matching extension record or NULL if no match
is found. The returned extension record is owned by the widget class
and must not be modified or freed by the caller, except possibly to
be modified by the widget class owner.
SEE ALSO
_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