[Glade-users] SpinButton not 'spinning'
Peyman
paskari007 at yahoo.ca
Sun Aug 16 14:08:09 EDT 2009
On 15 Aug 2009, at 23:27, Tristan Van Berkom wrote:
> On Sat, Aug 15, 2009 at 3:15 PM, PEYMAN ASKARI<paskari007 at yahoo.ca>
> wrote:
>> 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.
>
> Hi,
> the problem is in Glade not in libglade - or lets just say it
> would be
> more convenient to fix this in Glade than in GTK+ or libglade IMO.
>
> The fix would be to override the adjustment adaptor's ->write()
> method and order the min/max/value properties manually at
> serialization time.
>
> Cheers,
> -Tristan
Hi
I can't imagine setting the adjustment manually would be too hard
(gtk_spin_button_set_upper), but how do I "override the adjustment
adaptor's ->write()"
Cheers
Peter
More information about the Glade-users
mailing list