Re: Events and Signals



Hi

I tested your code and it works well. But when I try to change it to my code
something happen and couldn´t solve by myself.

I draw the clist in other function.I'm looking for network events in main.
If any event ocurrs I decide on GDK_Down or GDK_UP to move the cursor Down
or Up on CList, then I call to Event_Put (key_val).  It works, but at the
begining I have to send two network events to move the indicator Down (I
call "beginig" when I show the clist). After that, the first element of
clist is  selected automaticaly while indicator can be moved up or down.
Why? Should I clean any pice of memory?

Thanks in advance

Attachment: test.cpp
Description: Binary data



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