gtkFileChooserSetPreviewWidget     package:RGtk2     R Documentation

_g_t_k_F_i_l_e_C_h_o_o_s_e_r_S_e_t_P_r_e_v_i_e_w_W_i_d_g_e_t

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

     Sets an application-supplied widget to use to display a custom
     preview of the currently selected file. To implement a preview,
     after setting the preview widget, you connect to the
     ::update-preview signal, and call
     'gtkFileChooserGetPreviewFilename' or
     'gtkFileChooserGetPreviewUri' on each change. If you can display a
     preview of the new file, update your widget and set the preview
     active using 'gtkFileChooserSetPreviewWidgetActive'. Otherwise,
     set the preview inactive.

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

     gtkFileChooserSetPreviewWidget(object, preview.widget)

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

'object': ['GtkFileChooser']  a 'GtkFileChooser'

'preview.widget': ['GtkWidget']  widget for displaying preview.

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

     When there is no application-supplied preview widget, or the
     application-supplied preview widget is not active, the file
     chooser may display an internally generated preview of the current
     file or it may display no preview at all.  

     Since  2.4

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

     Derived by RGtkGen from GTK+ documentation

