gdkPixbufLoaderClose          package:RGtk2          R Documentation

_g_d_k_P_i_x_b_u_f_L_o_a_d_e_r_C_l_o_s_e

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

     Informs a pixbuf loader that no further writes with
     'gdkPixbufLoaderWrite' will occur, so that it can free its
     internal loading structures. Also, tries to parse any data that
     hasn't yet been parsed; if the remaining data is partial or
     corrupt, an error will be returned.  If 'FALSE' is returned,
     'error' will be set to an error from the 'GDK_PIXBUF_ERROR' or
     'G_FILE_ERROR' domains. If you're just cancelling a load rather
     than expecting it to be finished, passing 'NULL' for 'error' to
     ignore it is reasonable.

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

     gdkPixbufLoaderClose(object, .errwarn = TRUE)

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

'object': ['GdkPixbufLoader']  A pixbuf loader.

.errwarn: Whether to issue a warning on error or fail silently

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

     A list containing the following elements: 

  retval: [logical] 'TRUE' if all image data written so far was
          successfully passed out via the update_area signal

 'error': ['GError']  return location for a 'GError', or 'NULL' to
          ignore errors

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

     Derived by RGtkGen from GTK+ documentation

