TnyGtkImageMimePartView

TnyGtkImageMimePartView

Synopsis




                    TnyGtkImageMimePartView;
TnyMimePartView*    tny_gtk_image_mime_part_view_new    (TnyStatusCallback status_callback,
                                                         gpointer status_user_data);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkMisc
                           +----GtkImage
                                 +----TnyGtkImageMimePartView

Implemented Interfaces

TnyGtkImageMimePartView implements AtkImplementorIface, GtkBuildable and TnyMimePartView.

Description

Details

TnyGtkImageMimePartView

typedef struct _TnyGtkImageMimePartView TnyGtkImageMimePartView;

A TnyMimePartView that can render a TnyMimePart that is an image. It's recommended to use this type together with a TnyGtkExpanderMimePartView.

free-function: g_object_unref


tny_gtk_image_mime_part_view_new ()

TnyMimePartView*    tny_gtk_image_mime_part_view_new    (TnyStatusCallback status_callback,
                                                         gpointer status_user_data);

Create a new TnyMimePartView for displaying image TnyMimePartView instances. The returned value inherits GtkImage. It's recommended to use a TnyGtkExpanderMimePartView to wrap this type.

Whenever data must be retrieved or takes long to load, status_callback will be called to let the outside world know about what this compenent is doing.

status_callback : (null-ok): a TnyStatusCallback or NULL
status_user_data : (null-ok): user data for status_callback
Returns : (caller-owns): a new TnyMimePartView for images

Since 1.0 audience: application-developer