GtkPreview               package:RGtk2               R Documentation

_G_t_k_P_r_e_v_i_e_w

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

     A widget to display RGB or grayscale data

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkPreviewUninit()'
      'gtkPreviewNew(type, show = TRUE)'
      'gtkPreviewSize(object, width, height)'
      'gtkPreviewPut(object, window, gc, srcx, srcy, destx, desty,
     width, height)'
      'gtkPreviewDrawRow(object, data, y, w)'
      'gtkPreviewSetExpand(object, expand)'
      'gtkPreviewSetGamma(gamma)'
      'gtkPreviewSetColorCube(nred.shades, ngreen.shades, nblue.shades,
     ngray.shades)'
      'gtkPreviewSetInstallCmap(install.cmap)'
      'gtkPreviewSetReserved(nreserved)'
      'gtkPreviewSetDither(object, dither)'
      'gtkPreviewGetVisual()'
      'gtkPreviewGetCmap()'
      'gtkPreviewGetInfo()'
      'gtkPreviewReset()'
      'gtkPreview(type, show = TRUE)'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkPreview 

_I_n_t_e_r_f_a_c_e_s:

     GtkPreview implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkPreview' widget provides a simple interface  used to
     display images as RGB or grayscale data. It's deprecated; just use
     a 'GdkPixbuf' displayed by a 'GtkImage', or perhaps a
     'GtkDrawingArea'. 'GtkPreview' has no advantage over those 
     approaches.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_P_r_e_v_i_e_w' *WARNING: 'GtkPreview' is deprecated and should not
          be used in newly-written code.* The 'GtkPreview' struct
          contains private data only, and should be accessed using the
          functions below.


     '_G_t_k_P_r_e_v_i_e_w_I_n_f_o' *WARNING: 'GtkPreviewInfo' is deprecated and
          should not be used in newly-written code.* Contains
          information about global properties of preview widgets.

          The 'GtkPreviewInfo' struct contains the following fields.
          (These fields should be considered read-only. They should
          never be set by an application.)

            'GdkVisual'   *visual;  the visual used by all previews.
            'GdkColormap'   *cmap;  the colormap used by all previews.
            gdouble gamma;          the gamma correction value used by all previews (See   'gtkPreviewSetGamma'  ).


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkPreview' is the equivalent of 'gtkPreviewNew'.

_P_r_o_p_e_r_t_i_e_s:


     '_e_x_p_a_n_d' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the preview widget
          should take up the entire space it is allocated.  Default
          value: FALSE


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://developer.gnome.org/doc/API/2.0/gtk/GtkPreview.html>

