Web lists-archives.com

Re: RFC: GtkPreview library

On Wed, 2015-01-21 at 10:25 -0800, Christian Hergert wrote:
> On 01/21/2015 08:50 AM, Philip Withnall wrote:
> > Or perhaps
> >     GtkWidget *gtk_preview_widget_new_from_stream (GInputStream *);
> > which would more generally cover this via GMemoryInputStream?
> One potential downside to this is that applications will need to
> implement their own async open/priority queue. (Imagine updating a
> FileChooser preview while a users spuriously holds down arrow).
> That specific case, is not something I'd want every application to have
> to implement.

Certainly, and in that case I suppose they would use the GFile-based
API, which would take care of that for them, I think? The GInputStream
API would be for memory input or other exceptional situations.


Attachment: signature.asc
Description: This is a digitally signed message part

gtk-devel-list mailing list