g_io_channel and gtk2 mainloop



I have implemented an application which uses my own socket(tcp) code using g_io_channel to read and write 
from the file descriptor.  All is fine on that side of things when communicating.

I then after this implemented the GUI using ver 2.0 of everything (gtk, glib, glade, etc)... when I click on 
a button which initiates a conversation down my pipe, the gui no longer updates itself.  I suspect it failed 
to get the redraw message after the button click.  

To try and get round this, I implemented non-blocking as part of the socket protocol, and this hasnt helped.  

Does anyone have any ideas?

Regards,

Martyn Russell



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