[Glade-users] SpinButton not 'spinning'



I never picked up on this before, but the spin buttons work fine so  
long as I don't attach any signals to them. This is always the case  
regardless of whether libglade loads the spin buttons, or I create  
them manually.

I'm starting to think this has nothing to do with Adjustments at all.

Peyman
On 26 Aug 2009, at 18:18, Peyman wrote:


On 24 Aug 2009, at 15:53, Tobias Weber wrote:

On 23.07.2009, at 18:45, Tristan Van Berkom wrote:

This is a bug, Glade doesn't serialize the min/max values for the
underlying adjustment in the correct order.

Glade 3.6.7 seems to write the correct order. Unfortunately it  
doesn't
mention adjustments in the XML at all unless you change the default
values.

This would be fine if they matched those of the constructor, but they
don't. So a SpinButton for which Glade displays an upper of 100 and a
step of 1 will end up with all zeroes.

Scales suffer from the same problem.
_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
I found that the only way to get spinButtons to work is to add them
manually. I don't like the brute force method, but it really is a
measure of last resort.


Peyman
_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users





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