[Mono-list] Fwd: embedding mono runtime
Miguel de Icaza
miguel@ximian.com
09 Aug 2002 07:44:39 -0400
Hello!
> Actually, I think Joseph was refering to embedding GUI elements, aka Qt# widgets into Kate via a
> C# plugin. AFAIK, he is looking to extend the Kate plugin API to allow programmers to build Qt#
> plugins for Kate. This would mean incorporating Qt# widgets (driven by mono) into the actual Kate
> GUI. Now, if Mono and Kate are running in different threads then how to take care of
> synchronization? Think of generating events in Qt# which would affect the the larger Kate GUI.
> I'm at a loss for how this might be accomplished...
I think he was thinking along the lines of the gnumeric hack, which
required multiple threads (to minimize my pain when I built the merged
gnumeric/web-server).
But this was an extreme case of embedding. I think that he should be
fine using a single thread, and creating Qt# elements on the same thread
as the GUI thread.
Miguel