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

Re: SpinButton and climb_rate



On Tue, 29 Feb 2000, Peter Wurmsdobler wrote:

> hi,
> 
> >         If I'm not mistaken, the climb_rate is actually an acceleration
> > factor for the real climb rate.
> Is this step_increment of GtkAdjustment ? I have set step_increment 
> to 0.001 and climb_rate to 100000.0 such that under your assumption
> the real climb rate should be 100.0 but, nada. still 0.001 and I
> cannot even enter any values like in a normal entry.

  Under my assumption, the step_increment 0.001 is the initial increment,
and the climb_rate is the acceleration.  It is not the product
step_increment x climb_rate tha gives the initial increment.

  From the tutorial:
"The climb_rate argument take a value between 0.0 and 1.0 and indicates
the amount of acceleration that the Spin Button has."

  I think you want to set step_increment to 100.

> 
> peterw
> 

-- 
Gustavo J.A.M. Carneiro
[reinolinux.fe.up.pt/~ee96090]
                                       



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