![]() |
![]() |
![]() |
Reference Manual of the tinymail framework | ![]() |
---|---|---|---|---|
TnyGtkPixbufStream; TnyStream* tny_gtk_pixbuf_stream_new (const gchar *mime_type); GdkPixbuf* tny_gtk_pixbuf_stream_get_pixbuf (TnyGtkPixbufStream *self);
typedef struct _TnyGtkPixbufStream TnyGtkPixbufStream;
A TnyStream for building a GdkPixbuf from a stream in Tinymail, like when streaming a TnyMimePart that is an image to a GdkPixbuf that will be used by a GtkImage.
free-function: g_object_unref
TnyStream* tny_gtk_pixbuf_stream_new (const gchar *mime_type);
Create an adaptor instance between TnyStream and GdkPixbuf
mime_type : |
the MIME type, for example image/jpeg |
Returns : | (caller-owns): a new TnyStream instance |
Since 1.0 audience: application-developer
GdkPixbuf* tny_gtk_pixbuf_stream_get_pixbuf (TnyGtkPixbufStream *self);
Get the GfkPixbuf that got created when we streamed data to self
.
self : |
a TnyGtkPixbufStream |
Returns : | (caller-owns): a GdkPixbuf instance |
Since 1.0 audience: application-developer