[gtk-list] Refreshing



I am using gtk to display the output of five files. The values in these files are constantly changing, so the labels in the window need to be refreshed every 5(ish) seconds. I am using gtk_timer to call a function which updates the values, by deleting the labels and creating new labels. Without the timer, the screen is refreshed successfully everytime a button is clicked. But when using a timer, the labels are deleted, but the new labels do not appear. The function is initialised when a button is clicked, but it seems until the button returns to its original state the window will not be refreshed.
 
Any clues?
 
Thanks in advanced.
 
Harjinder Dhudwar


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