Re: Focus vs Sensitivity

2012-12-27 Thread Ivan Baldo
David: Y O U R O C K ! ! ! Amazing explanation! Now I understand what happens! And excellent workaround too!!! Thanks a lot for putting the effort to explain it, look for the GTK+ warning and providing a way to fix it! Just perfect! Now I have a lot of work to do to change a lot of

Re: Focus vs Sensitivity

2012-12-22 Thread David Nečas
On Fri, Dec 21, 2012 at 07:16:07PM -0200, Ivan Baldo wrote: What happens is that the Tab handler runs before the value-changed handler This is the wrong view what happens. The adjustment value is not updated during user's editing of the entry. If the spin button is not set to numeric its

Focus vs Sensitivity

2012-12-21 Thread Ivan Baldo
/* Given 3 spin buttons, I want the second one to be enabled or disabled based on input from the first one. If in the first one the user puts 0 as value I want that when it presses Tab the focus go to the third spin button. If in the first one the user puts a value different than zero