> Somehow my attempts to do something alike (though I'm using the gtk
> version on Linux), fail.

> The point is: where to run the IupLoopStep, ~flush etc.

> I gather that should be done from the same thread running the
> IupMainLoop.  Therefore the only way is to run those from a callback.
> Correct?

No. Don't use IupMainLoop().
You should add IUP's socket descriptor to your poll() to wait readable state.
Then run IupLoopStep() etc, when event triggers.
(I assume you added "XSOCKETFD" attr.)

-- Nodir


------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to