Re: need suggestion about gtk+



Chris Vine writes:
 > Essentially, GUI programming is event based, via a program main
 > event loop.  It does not imply multi-threading (though with
 > considerable care GTK+ can be used in threaded programs).

Alao, a friendly reminder here: If you intend your GTK+ app to be
portable to Windows, you should definitely not use gtk from multiple
threads, as that doesn't work in GTK+ on Windows. (It's fine to use
threads in general, just don't do any gtk or gdk calls from other than
the main thread.)

--tml




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