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

Re: Thoughts on GTK+ and CSS

2009-08-03 Thread Robert Staudinger
On Fri, Jul 31, 2009 at 7:28 PM, Tristan Van Berkomt...@gnome.org wrote: [...] Ofcourse, great example - the way I would suggest implementing this is   a.) we recognize the need to show itemized groups   b.) we define GTK_STOCK_STYLE_ITEM_GROUP   c.) we allow some customized containers

capturing interrupts from other peripherals

2009-08-03 Thread karthik.sreeni
I am developing a GUI application for my embedded system. I have attached a keypad peripheral through RS232. I have a code to capture any interrupt coming from that keypad. But how do I propogate the interrupt to gtk GUI? I have been trying to use gtk_signal_emit., but I am facing some issues.

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Steve Frécinaux
Bastien Nocera wrote: I could think of at least 5 types of compressions that would be useful to have without having to use a command-line tool to decompress: - gzip for anything and everything that can come from a web server (in my case, iTunes Music Store playlist parsing, or more widely,

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Alberto Ruiz
2009/8/3 Steve Frécinaux nudr...@gmail.com: Bastien Nocera wrote: I could think of at least 5 types of compressions that would be useful to have without having to use a command-line tool to decompress: - gzip for anything and everything that can come from a web server (in my case, iTunes

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Jernej Simončič
On Mon, 03 Aug 2009 11:37:53 +0200, Steve Frécinaux wrote: I mean, zip, 7z, and rar are archiving format who store files in a compressed fashion (kind of like a tar of gzipped files) so rather than just having a stream you need to have some support for archives there, and not just the

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Freddie Unpenstein
From: Steve Fr-23;cinaux, Date: 03/08/2009 19:38, Wrote: Bastien Nocera wrote: I could think of at least 5 types of compressions that would be useful to have without having to use a command-line tool to decompress: - gzip for anything and everything that can come from a web server (in my

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Tomas Bzatek
On Mon, 2009-08-03 at 07:58 -0400, Freddie Unpenstein wrote: From: Steve Fr-23;cinaux, Date: 03/08/2009 19:38, Wrote: Bastien Nocera wrote: I could think of at least 5 types of compressions that would be useful to have without having to use a command-line tool to decompress: - gzip

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Tomas Bzatek
On Mon, 2009-08-03 at 07:58 -0400, Freddie Unpenstein wrote: Archiving formats would be better supported by GVFS, wouldn't they...? Treating an archive as a virtual directory. We already have gvfsd-archive for some time, based on libarchive, able to handle TAR and ZIP archiving formats with

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Mikkel Kamstrup Erlandsen
2009/8/3 Freddie Unpenstein fredde...@excite.com: From: Steve Fr-23;cinaux, Date: 03/08/2009 19:38, Wrote: Bastien Nocera wrote: I could think of at least 5 types of compressions that would be useful to have without having to use a command-line tool to decompress: - gzip for anything and

Re: capturing interrupts from other peripherals

2009-08-03 Thread Martin Nordholts
On 08/03/2009 09:42 AM, karthik.sreeni wrote: I am developing a GUI application for my embedded system. I have attached a keypad peripheral through RS232. I have a code to capture any interrupt coming from that keypad. But how do I propogate the interrupt to gtk GUI? Have you looked at how

Re: GZip{In,Out}putStream in GIO?

2009-08-03 Thread Freddie Unpenstein
From: Mikkel Kamstrup Erlandsen, Date: 04/08/2009 00:22, Wrote: On Mon, 2009-08-03 at 07:58 -0400, Freddie Unpenstein wrote: Archiving formats would be better supported by GVFS, wouldn't they...? Treating an archive as a virtual directory. I'm pretty confident that in 98%[1] of the use cases

Re: Thoughts on GTK+ and CSS

2009-08-03 Thread Tristan Van Berkom
On Mon, Aug 3, 2009 at 3:34 AM, Robert Staudingerrobert.staudin...@gmail.com wrote: On Fri, Jul 31, 2009 at 7:28 PM, Tristan Van Berkomt...@gnome.org wrote: [...] [...] Then, the implemented CSS style for an item group would also cover GtkBox, allowing GtkBox to be styled as an itemized