Re: Experimenting with no gtk_main()



2012/4/19 Patrick <patrick spellingbeewinnars org>:

> Hope this makes sense. While I hope to change this one day, at the moment I
> am just an amateur coder...

it doesn't really make sense.

run the GUI in its own thread (either the initial thread the process
starts with, or a different one).
run the Ada code in its own thread(s).
have the Ada code use g_idle_add() to queue work for the GUI thread.


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