Skip to content
New issue

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

Add script_focus and script_blur options to widget #2554

Merged
merged 4 commits into from
Aug 4, 2023

Conversation

m42e
Copy link
Contributor

@m42e m42e commented Jul 22, 2023

Add possibility to read and write the script_focus and script_blur.
This allows setting the action triggered on focus and blur.

Depends-On: ArtifexSoftware/mupdf#37

@github-actions
Copy link
Contributor

github-actions bot commented Jul 22, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@m42e
Copy link
Contributor Author

m42e commented Jul 22, 2023

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jul 22, 2023
@m42e
Copy link
Contributor Author

m42e commented Jul 22, 2023

recheck

@jamie-lemon
Copy link
Collaborator

recheck

@JorjMcKie JorjMcKie self-requested a review August 4, 2023 09:57
MuPDF does not yet define `PDF_NAME(Bl)`, so need to use low-level `pdf-new_name(ctx, "Bl")` instead.
MuPDF does not yet have predefined name objects for "Bl" and "Fo", so we need to make them on the fly.
@JorjMcKie JorjMcKie merged commit 3781cd9 into pymupdf:main Aug 4, 2023
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants