Hi.

> I have a SpinButton in my app with a function connected to the
> value_changed signal that takes some time (about 1 second) to execute.
> This has the unwanted effect that when I press the increment-button in
> the SpinButton, it increments twice. Somehow it seems that Gtk thinks
> that the mouse button is pressed for longer than it is because the
> callback function takes a long time to execute. How can I prevent this?

What happens if you replace your callback routine with simple
g_print() statement? Also, are you programmatically changing value
inside spin button in your callback routine?

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
[email protected]
[email protected]
_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to