[Glade-users] SpinButton not 'spinning'
PEYMAN ASKARI
paskari007 at yahoo.ca
Sat Aug 15 15:15:36 EDT 2009
Hello
I'm still having problems with the Adjustment widget. according to Tristan, this is a problem because "Glade [does not] serialize the min/max values" in the correct order.
I find it amazing that lib glade would have such a serious problem. Is there any way to fix this? Perhaps I should use some other approach other than libglade.
Cheers
peter
--- On Fri, 7/24/09, Peyman <paskari007 at yahoo.ca> wrote:
From: Peyman <paskari007 at yahoo.ca>
Subject: Re: [Glade-users] SpinButton not 'spinning'
To: "glade-users" <glade-users at lists.ximian.com>
Received: Friday, July 24, 2009, 11:04 AM
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
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20090815/fe9be4b2/attachment.html
More information about the Glade-users
mailing list