On 3/28/07, Tobias Rapp <[EMAIL PROTECTED]> wrote:
> that. But what is not clear to me is how to place an event in the event
> loop of another thread. If I raise an signal the connected slots will be

The usual recommendation is to keep all GTK stuff (including the main
loop) in one thread.

You can call g_idle_add() from another thread, and the callback will
be executed by your main loop thread when it's next idle.

> PS: Does anybody know about a good tutorial/example on the net
> demonstrating how to port Win32 (service) applications to GNU/Linux?
> When searching with Google I find a lot useless pages about Wine or
> .NET/Mono .

IBM developerworks has articles about windows -> linux porting:

http://www-128.ibm.com/developerworks/linux/library/l-ipc2lin1.html

Not sure how useful they are.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to