Re: Mixed pixbuf and text



On Fri, Jul 01, 2005 at 09:34:40 +0200, The Saltydog wrote:
I have recently done this by forking the "estraction" subroutine in a
thread. The thread sends data out in a socketpair and the main
application (by a Gtk2::Helper function) read the socket and fills the
TreeView in real time, as data is coming out from the thread.

Wow, that's complex! Simply running Gtk2->main_iteration while
Gtk2->events_pending; between reading the lines is easier and does the
job just as well.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]