Accessing text file

2010-06-23 Thread Bill C
I don't know if there is a "correct" method I am using "g_io_channel" with no problems Rgds Bill C ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Accessing text file

2010-06-22 Thread ac...@libero.it
Hi, I have to read/write a text file containing some configuration data. What's the "correct" method of reading lines in a text file using the GTK+/GLib toolkit? So far I've found "g_io_channel_read_line" and "g_data_input_stream_read_line" and I cannot use GKeyFile because I have many groups