Re: GTK adjustement changes create incompatible behaviour between versions?



2008/9/18 Sebastien Bacher <seb128 ubuntu com>:
> "* GtkAdjustment now enforces that values are restricted to the
>  range [lower, upper - page_size]. This has always been the documented
>  behaviour, and the recommended practice is to set page_size to 0
>  when using adjustments for simple scalar values, like in a slider
>  or spin button. "

This is not true. See #307963. From the gtk 2.12 documentation for
GtkAdjustment:

"The page size of the adjustment. Note that the page-size is
irrelevant and should be set to zero if the adjustment is used for a
simple scalar value, e.g. in a GtkSpinButton."

Definitely it is a break. No opinion on if the new behavior is better or not.


-- 
mvh Björn


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