Hello,

> I have tried to send this on the mono devel list but I guess that was
> the wrong list.
> 
> Can someone confirm WakeupMain() is supposed to work even I don't have
> focus on the GTK application ? My example doesn't and works only when
> I move the mouse over the gtk application (the method addLineT isn't
> called at all).

Is this on Windows?   I heard that apparently there is a problem with
Idle events not being dispatched on Windows.

> 
> Thanks.
> 
> Code :
> 
> in the constructor :
> addLineNotify = new ThreadNotify (new ReadyEvent (addLineT));
> 
> private void addLineT() {
> // Something to update a treeview using this.line_tobe_added.
> }
> 
> public void addLine(String line) {
>    this.line_tobe_added = line;
>    this.addLineNotify.WakeupMain();
> }
> _______________________________________________
> Gtk-sharp-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
-- 
Miguel de Icaza <[EMAIL PROTECTED]>
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to