Re: [Vala] GIO get_contens



Thanks these was exactly that I need.


----- Mensaje original -----
De: "Sébastien Wilmet" <sebastien wilmet gmail com>
Para: vala-list gnome org
Enviados: Jueves, 2 de Diciembre 2010 22:27:02 (GMT-0500) Auto-Detected
Asunto: Re: [Vala] GIO get_contens

Hello,

On Thu, Dec 02, 2010 at 05:03:21PM -0500, Arley Consuegra Rosello wrote:
Hello, I was looking the basic gio sample there a file is read line by
line.
Exist some way to read the without using a while loop?
php have a funtion get_contens that is what I need.
In gio reference manual I found g_data_input_stream_read_upto_finish
that look like what I need, but don't found it in valadoc.org

pd: Spanish user, sorry.


What you're searching is File.load_contents() I think.

Best regards,
Sébastien

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list





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