Hi,
No, you should not use closed loop for GTK application when you expect
responses.
Use gtk timeout mechanism instead of the dead while loop with sleep.
Try that, I am quite sure that would help.
Yours faithfully,
Alvis Koon
On 16/04/2008, Ke Jin <[EMAIL PROTECTED]> wrote:
> The problem is s
The problem is solved. Thanks!
But it is still a little strange that I have tried the
while(gtk_events_pending()) gtk_main_iteration(); before which didn't work.
But after I changed:
slider = gtk_vscale_new_with_range(0,1000,0.1);
to
GtkObject *adj1;
adj1 = gtk_adjustment_new (0.0, 0.0