Any alternatives to Gio.InputStream.read_async()

2012-06-12 Thread Micah Carrick
Spent several hours trying to figure out why my port of some code from PyGTK to PyGObject wouldn't work. This code reads and writes huge text files (server logs) and the low-level read_async() method was nice because I could read chunks and update a progress bar while the file was loading. I finall

Re: Reading from a GFile

2012-06-12 Thread Holger Berndt
Hello Abderrahim, On Sa, 09.06.2012 21:48, Abderrahim Kitouni wrote: >Hi, > > في س، 09-06-2012 عند 14:52 +0200 ، كتب Holger Berndt: >> Hello, >> >> I'm trying to read from a GFile, but can't figure out how to do it. >> I neither found an answer in the tutorial, nor in PyGObject

How to add Vala generics to PyGObject

2012-06-12 Thread Daniel Espinosa
I have filed a bug #677960 with the following description: PyGObject support GLib.List and GLib.Hash, but what about Vala/Gee generics? How can I create a GLib.List in Python and how can I do the same for Vala/Gee generics? May be defining a C API that defines functions that can handle generics