[Gtk-sharp-list] GUI event

underdog10@netcourrier.com underdog10@netcourrier.com
Fri, 8 Apr 2005 19:44:03 +0000

Once thread and GUI.
I base my work on:
It the first example call =22Updating the GUI from secondary threads=22

Like in the example on the web page. It is working if i only call Console.=
Writeline() from the GUi fct receving the event.
Then I try a access some variables with Console.Writeline in my class, it'=
s works, but the gui is not refreshing.
Then I finally add the 2 lines below. and it doesn't work anymore.
I mean both thread freeze.

 while( Application.EventsPending() )

My question, how do i refresh the GUI from a event.

NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Tool=
Web/Wap : www.netcourrier.com
T=E9l=E9phone/Fax : 08 92 69 00 21 (0,34 =80 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 =80 TTC/min)