MonobjcMonobjc Documented Class Library
SetToolTipForSegment Method (toolTip, segment)
NamespacesMonobjc.AppKitNSSegmentedCellSetToolTipForSegment(NSString, NSInteger)

Sets the tool tip for the specified segment.

Original signature is '- (void)setToolTip:(NSString *)toolTip forSegment:(NSInteger)segment'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetToolTipForSegment(
	NSString toolTip,
	NSInteger segment
)
Public Overridable Sub SetToolTipForSegment ( _
	toolTip As NSString, _
	segment As NSInteger _
)
public:
virtual void SetToolTipForSegment(
	NSString^ toolTip, 
	NSInteger segment
)
Parameters
toolTip (NSString)
The text of the tool tip you want to display for the segment.
segment (NSInteger)
The index of the segment whose tool tip you want to set. This method raises an NSRangeException if the index is out of bounds.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)