Re: Asynchronous file transfers with Gnome::Vfs



Matthias Kaeppler <nospam digitalraid com> writes:

> I was wondering if the functions defined in Gnome::Vfs::Transfer run
> asynchronously by default? I need this kind of behavior to keep the
> GUI from locking while transferring files, so I first thought about
> putting them into boost::threadS, but then soon realized that this
> wouldn't help if I want to cancel the transfer while in progress.

I don't think so. I've never really used it, but it appears that there
is an asynchronous transfer function in async-handle.h.

Another possibility is to look for examples using the C API, e.g.
Nautilus.

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]