Refreshing gtk window without any mouse/keyboard intervention




Hi,

We are trying to create a gtk application which should run without much of manual intervention. Few buttons are placed in a row and each button has an image at the top which changes to red on selection. This image changes to green when the button goes out of selection. So the whole process has to be done in a scan mode without any manual intervention.

The problem with our code (attached with this mail) is that the events are generated and the callback functions are called. But the window is not refreshed properly. The window gets updated only when there is any
mouse/keyboard movement.

Thanks in Advance,

Regards
Nisha
-----------------------------------
Nisha P Kurur
DON Lab (BSB 328)
Dept. of CSE
IITM, Chennai - 36
Phone (044) 2257 5364/9804/9853
----------------------------------

Attachment: sample.c
Description: Text document



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