We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gio.BindingTransformFunc
That function type is used in GObject.Object.bind_property_full.
GObject.Object.bind_property_full
The current type says that the transform function expects 3 args, while in reality it returns 2, because the 3rd one is a return parameter.
Current version:
export type BindingTransformFunc = (binding: Binding, from_value: Value | any, to_value: Value | any) => boolean;
Correct version:
export type BindingTransformFunc = (binding: Binding, from_value: Value | any) => [boolean, to_value: Value | any];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
That function type is used in
GObject.Object.bind_property_full
.The current type says that the transform function expects 3 args, while in reality it returns 2, because the 3rd one is a return parameter.
Current version:
Correct version:
The text was updated successfully, but these errors were encountered: