cairoPatternSetUserData        package:RGtk2        R Documentation

_c_a_i_r_o_P_a_t_t_e_r_n_S_e_t_U_s_e_r_D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Attach user data to 'pattern'.  To remove user data from a
     surface, call this function with the key that was used to set it
     and 'NULL' for 'data'.

_U_s_a_g_e:

     cairoPatternSetUserData(pattern, key, user.data)

_A_r_g_u_m_e_n_t_s:

'pattern': ['CairoPattern']  a 'CairoPattern'

   'key': ['CairoUserDataKey']  the a 'CairoUserDataKey' to attach the
          user data to

'user.data': [R object]  the user data to attach to the 'CairoPattern'

_D_e_t_a_i_l_s:

     Since  1.4

_V_a_l_u_e:

     ['CairoStatus'] 'CAIRO_STATUS_SUCCESS' or 'CAIRO_STATUS_NO_MEMORY'
     if a slot could not be allocated for the user data.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

