validDetails package:grid R Documentation _C_u_s_t_o_m_i_s_i_n_g _g_r_i_d _g_r_o_b _V_a_l_i_d_a_t_i_o_n _D_e_s_c_r_i_p_t_i_o_n: This generic hook function is called whenever a grid grob is created or edited via 'grob', 'gTree', 'grid.edit' or 'editGrob'. This provides an opportunity for customising the validation of a new class derived from grob (or gTree). _U_s_a_g_e: validDetails(x) _A_r_g_u_m_e_n_t_s: x: A grid grob. _D_e_t_a_i_l_s: This function is called by 'grob', 'gTree', 'grid.edit' and 'editGrob'. A method should be written for classes derived from grob or gTree to validate the values of slots specific to the new class. (e.g., see 'grid:::validDetails.axis'). Note that the standard slots for grobs and gTrees are automatically validated (e.g., 'vp', 'gp' slots for grobs and, in addition, 'children', and 'childrenvp' slots for gTrees) so only slots specific to a new class need to be addressed. _V_a_l_u_e: The function MUST return the validated grob. _A_u_t_h_o_r(_s): Paul Murrell _S_e_e _A_l_s_o: 'grid.edit'