[Glade-users] SpinButton not 'spinning'
- From: paskari007 at yahoo.ca (Peyman)
- Subject: [Glade-users] SpinButton not 'spinning'
- Date: Fri, 24 Jul 2009 12:04:36 +0100
Hi Tristan
You left me at a cliffhanger, I'm still trying to figure out why the
spin box values aren't being updated. Mind you, this exact same glade
file worked under python (via gladex) but is behaving bizarrely under
C (libglade). Some of the spinboxes do get updated, but only in the
range -0.44 to 0.44
Cheers
Peyman
On 23 Jul 2009, at 17:45, Tristan Van Berkom wrote:
On Thu, Jul 23, 2009 at 11:22 AM, Peyman<paskari007 at yahoo.ca> wrote:
Hello
What does it mean when the spinbutton refuses to change its value?
I can change the value by entering it via the keyboard, and the value
will persist, but it doesn't change via mouse clicks. I tried doing
some print statements and, if for example the value is 10 and I click
the up arrow, it will display the value as 11, then the next time its
back to 10 again.
There are no other functions calling the callback function, and the
only line of code in the function records the return value in a
variable. Furthermore, some of my spinbuttons work fine.
This is a bug, Glade doesnt serialize the min/max values for
the underlying adjustment in the correct order.
Its quite easy to fix, unfortunately I doubt I will have time
to do it this week...
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]