< Previous PageNext Page > Hide TOC

Deprecated NSScroller Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5

setFloatValue:knobProportion:

Sets the position of the knob to aFloat, which is a value from 0.0 (indicating the top or left end) to 1.0 (the bottom or right end). (Deprecated in Mac OS X v10.5. Code that targets Mac OS X 10.5 and later should use setKnobProportion: and setDoubleValue:.)

- (void)setFloatValue:(float)aFloat knobProportion:(CGFloat)knobProp

Discussion

Also sets the proportion of the knob slot filled by the knob to knobProp, also a value from 0.0 (minimal size) to 1.0 (fills the slot).

Availability
See Also
Declared In
NSScroller.h

< Previous PageNext Page > Hide TOC


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-08)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.