A method identified as deprecated has been superseded and may become unsupported in the future.
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
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).
– floatValue
(NSControl
)– knobProportion
NSScroller.h
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-08)