Skip to content

Conversation

RachidaTanassat
Copy link
Member

This adds support for Tkinter-based GUI applications by enabling the use of the _tkinter module as a built-in module.
Matplotlib integration was tested and confirmed to work with both the default and TkAgg backends.
Before use, the Tkinter bindings need to be built using tklib_build.py. On macOS, compatibility is ensured by running GUI applications with the --vm.XstartOnFirstThread option, due to native UI threading requirements.

Test results of Tkinter and ttk with GraalPy

image image

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 17, 2025
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant