On Mon, Sep 12, 2011 at 8:35 PM, Tony Freeman <t0ny.fr33...@gmail.com> wrote:
> If  I understand correctly, I think you are looking for a way to see> buffer 
> data as it's being spit out.  What you need to do is follow the> iter down 
> the text buffer.  Something like this:>> [code]> 
> gtk_text_buffer_get_end_iter(buffer, &iter);> 
> gtk_text_view_scroll_to_iter(textview, &iter, 0.0, FALSE, 0.0 0.0);> [/code]
What does text view and text buffer have to do with gio and pixbuf?
On Mon, Sep 12, 2011 at 8:39 PM, Tony Freeman <t0ny.fr33...@gmail.com> wrote:
> One more thing ... you need to tell the process to not block or else
> you will not get output until the process ends:
>
> [code]
> gioout = g_io_channel_unix_new(stdout);
> g_io_channel_set_flags(gioout, G_IO_FLAG_NONBLOCK, NULL);
> g_io_channel_get_flags(gioout);
> g_io_channel_set_encoding(gioout, NULL, NULL);
> [/code]

Ok... can you translate that into python, using an arbitrary URL as
the data source?

Thank you,
Jamie
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to