csv (comma separated value) file

2009-08-03 Thread Andrea Zagli
i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? otherwise i might develop it thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: csv (comma separated value) file

2009-08-03 Thread Tristan Van Berkom
On Mon, Aug 3, 2009 at 12:03 PM, Andrea Zagliaza...@inwind.it wrote: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? Currently its pretty easy using g_file_get_contents()/g_strsplit() if you can have it all in ram, or

Re: csv (comma separated value) file

2009-08-03 Thread Andrea Zagli
Il giorno lun 03 ago 2009 18:45:28 CEST, Tristan Van Berkom ha scritto: On Mon, Aug 3, 2009 at 12:03 PM, Andrea Zagliaza...@inwind.it wrote: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? Currently its pretty easy using

Re: csv (comma separated value) file

2009-08-03 Thread Paolo Bacchilega
Tristan Van Berkom ha scritto: On Mon, Aug 3, 2009 at 12:03 PM, Andrea Zagliaza...@inwind.it wrote: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? Currently its pretty easy using

treeview with compact indentation?

2009-08-03 Thread Allin Cottrell
I wonder if there's a way to produce a more compact layout for a treeview with expanders? I'd like this for a case where the treeview is in a left-hand pane, alongside stuff that the tree represents. I mean, the default looks something like this, with heading 1 expanded: heading 1

Re: csv (comma separated value) file

2009-08-03 Thread Liam R E Quin
On Mon, 2009-08-03 at 12:45 -0400, Tristan Van Berkom wrote: [...] Currently its pretty easy using g_file_get_contents()/g_strsplit() CSV files are not just comma separated, and in some cases can have column headers and other metadata. There's also escaping. a,b,c\d,e a,b,c,d,e a;b;c,d;e You

Re: treeview with compact indentation?

2009-08-03 Thread Allin Cottrell
On Mon, 3 Aug 2009, Allin Cottrell wrote: I wonder if there's a way to produce a more compact layout for a treeview with expanders? I'd like this for a case where the treeview is in a left-hand pane, alongside stuff that the tree represents. I mean, the default looks something like this,

Re: csv (comma separated value) file

2009-08-03 Thread Tristan Van Berkom
On Mon, Aug 3, 2009 at 1:21 PM, Liam R E Quinl...@holoweb.net wrote: On Mon, 2009-08-03 at 12:45 -0400, Tristan Van Berkom wrote: [...] Currently its pretty easy using g_file_get_contents()/g_strsplit() CSV files are not just comma separated, and in some cases can have column headers and

Re: csv (comma separated value) file

2009-08-03 Thread Joshua Lock
Hi 2009/8/3 Andrea Zagli aza...@inwind.it: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? GSF (GNOME Structured File Library)[1], which Gnumeric uses, does CSV: http://library.gnome.org/devel/gsf/stable/gsf-Text.html

Re: csv (comma separated value) file

2009-08-03 Thread Liam R E Quin
On Mon, 2009-08-03 at 14:23 -0400, Tristan Van Berkom wrote: On Mon, Aug 3, 2009 at 1:21 PM, Liam R E Quinl...@holoweb.net wrote: On Mon, 2009-08-03 at 12:45 -0400, Tristan Van Berkom wrote: [...] I see that was an uneducated comment on my part ;-) My reply wasn't meant as a criticism, hope it