addToBuilder static method
void
addToBuilder(
- ObjCProtocolBuilder builder, {
- required bool mouseDownOnCharacterIndex_atCoordinate_withModifier_client_(
- DartNSUInteger,
- NSPoint,
- DartNSUInteger,
- ObjCObjectBase,
- required bool mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client_(
- DartNSUInteger,
- NSPoint,
- DartNSUInteger,
- ObjCObjectBase,
- required void mouseUpOnCharacterIndex_atCoordinate_withModifier_client_(
- DartNSUInteger,
- NSPoint,
- DartNSUInteger,
- ObjCObjectBase,
- bool $keepIsolateAlive = true,
Adds the implementation of the NSInputServerMouseTracker 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, {
required bool Function(
DartNSUInteger,
NSPoint,
DartNSUInteger,
objc.ObjCObjectBase,
)
mouseDownOnCharacterIndex_atCoordinate_withModifier_client_,
required bool Function(
DartNSUInteger,
NSPoint,
DartNSUInteger,
objc.ObjCObjectBase,
)
mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client_,
required void Function(
DartNSUInteger,
NSPoint,
DartNSUInteger,
objc.ObjCObjectBase,
)
mouseUpOnCharacterIndex_atCoordinate_withModifier_client_,
bool $keepIsolateAlive = true,
}) {
NSInputServerMouseTracker
.mouseDownOnCharacterIndex_atCoordinate_withModifier_client_
.implement(
builder,
mouseDownOnCharacterIndex_atCoordinate_withModifier_client_,
);
NSInputServerMouseTracker
.mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client_
.implement(
builder,
mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client_,
);
NSInputServerMouseTracker
.mouseUpOnCharacterIndex_atCoordinate_withModifier_client_
.implement(
builder,
mouseUpOnCharacterIndex_atCoordinate_withModifier_client_,
);
builder.addProtocol($protocol);
}