addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- void pathCell_willDisplayOpenPanel_()?,
- void pathCell_willPopUpMenu_()?,
- bool $keepIsolateAlive = true,
Adds the implementation of the NSPathCellDelegate protocol to an existing
objc.ObjCProtocolBuilder.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilder(
objc.ObjCProtocolBuilder builder, {
void Function(NSPathCell, NSOpenPanel)? pathCell_willDisplayOpenPanel_,
void Function(NSPathCell, NSMenu)? pathCell_willPopUpMenu_,
bool $keepIsolateAlive = true,
}) {
NSPathCellDelegate.pathCell_willDisplayOpenPanel_.implement(
builder,
pathCell_willDisplayOpenPanel_,
);
NSPathCellDelegate.pathCell_willPopUpMenu_.implement(
builder,
pathCell_willPopUpMenu_,
);
builder.addProtocol($protocol);
}