cairoSetUserData            package:RGtk2            R Documentation

_c_a_i_r_o_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 'cr'.  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:

     cairoSetUserData(cr, key, user.data)

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

    'cr': ['Cairo']  a 'Cairo'

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

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

_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

