addToBuilderAsBlocking static method
void
addToBuilderAsBlocking(
- ObjCProtocolBuilder builder, {
- void stackView_willDetachViews_(
- NSStackView,
- NSArray
- void stackView_didReattachViews_(
- NSStackView,
- NSArray
- bool $keepIsolateAlive = true,
Adds the implementation of the NSStackViewDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking
listeners will be.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilderAsBlocking(
objc.ObjCProtocolBuilder builder, {
void Function(NSStackView, objc.NSArray)? stackView_willDetachViews_,
void Function(NSStackView, objc.NSArray)? stackView_didReattachViews_,
bool $keepIsolateAlive = true,
}) {
NSStackViewDelegate.stackView_willDetachViews_.implementAsBlocking(
builder,
stackView_willDetachViews_,
);
NSStackViewDelegate.stackView_didReattachViews_.implementAsBlocking(
builder,
stackView_didReattachViews_,
);
builder.addProtocol($protocol);
}