Re: Getting keyboard state.



Havoc Pennington wrote:


Maintaining the state is much more correct, the get_pointer() solution
is a giant race condition.

Havoc

Race conditions must be checked only in multithreaded programs where more
than one thread work with gtk... In my case get_pointer is much better
than separate handler for keypressing event.


-- 
Downloader for X !                 | Koshelev Maxim
Get your copy right now at         | mdem chat ru
http://www.krasu.ru/soft/chuchelo  | chuchelo krasu ru




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