On Thu, 26 May 2005 07:59:17 +0200
Colossus <[EMAIL PROTECTED]> wrote:

> Olivier Sessink wrote:
> 
> > I use this for example to close the stderr of the child and make it a
> > copy of the stdout.
> 
> Thank you Olivier, but how to read the output of the command unzip -l
> so to put it into the gtk_tree_view ?

provide a variable for the standard output, and open that as g_io_channel
(g_io_channel_unix_new or something like that), make it non-blocking,
register a callback, and read the contents from the callback into the listmodel.

regards,
        Olivier Sessink

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to