Re: gtk + threads



I think you must set the gtk_* calls from the
idle_function alone. Thatis , it must be a
part of the main loop that works the GUI.

This is a recommended pattern, but not a technical requirement.

Just a note: If you want your code to be portable to GTK on Windows,
it *is* a technical requirement. (It might possibly be "fixed" some
time, but don't hold your breath.) But of course, if the code is
deeply Unix- or Linux-specific anyway, that doesn't matter.

--tml





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