MonobjcMonobjc Documented Class Library
InsertNewButtonImageIn Method (newButtonImage, buttonCell)
NamespacesMonobjc.AppKitINSColorPickingDefaultInsertNewButtonImageIn(NSImage, NSButtonCell)

Sets the image of a given button cell.

Original signature is '- (void)insertNewButtonImage:(NSImage *)newButtonImage in:(NSButtonCell *)buttonCell'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
void InsertNewButtonImageIn(
	NSImage newButtonImage,
	NSButtonCell buttonCell
Sub InsertNewButtonImageIn ( _
	newButtonImage As NSImage, _
	buttonCell As NSButtonCell _
void InsertNewButtonImageIn(
	NSImage^ newButtonImage, 
	NSButtonCell^ buttonCell
newButtonImage (NSImage)
The image to set for the button cell.
buttonCell (NSButtonCell)
The NSButtonCell object that lets the user choose the picker from the color panel—the color picker’s representation in the NSMatrix of the NSColorPanel.
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)