[Glade-users] SpinButton not 'spinning'




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
Shouldn't I be able to solve the problem by manually setting up the  
Adjustments? I am calling
gtk_adjustment_new();
gtk_spin_button_set_adjustment();

but the spinbuttons are still unresponsive.

Cheers


Peyman





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