Re: GTK threads and socket operations

2014-11-26 Thread Mathieu Comandon
Hi! Speaking of threading in Gtk, I'm using it quite extensively in my application and never was really sure I was doing the right thing. Here are the part in my codebase where I handle background jobs and downloads: https://github.com/lutris/lutris/blob/master/lutris/util/jobs.py https://github.

Re: Gio FTP transfers stops after 25 seconds

2013-06-17 Thread Mathieu Comandon
C++ binding in gtkmm for random > reasons like developer time or lack of good ideas, so I'm making sure... > it may be much easier to use GTK than write your own implementation. > > And even without an official binding, maybe you can link to the C > function from your Python

Gio FTP transfers stops after 25 seconds

2013-06-15 Thread Mathieu Comandon
Hi, On my project, I've been wanting to reproduce the behavior of Gio.File.copy_async in a Python program (since this method isn't available in the bindings). I managed to have something working quite well and it handles correctly local files, HTTP, Samba but not FTP. The download starts normally