Mac OS X Reference Library Apple Developer
Search

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
  • Available in Mac OS X v10.0 and later.
  • Deprecated in Mac OS X v10.5.
Declared In
NSScroller.h



Last updated: 2009-04-08

Did this document help you? Yes It's good, but... Not helpful...