GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add support for tkinter by RachidaTanassat · Pull Request #522 · oracle/graalpython

Conversation

@RachidaTanassat

@RachidaTanassat RachidaTanassat commented Jul 17, 2025

Copy link
Copy Markdown

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 17, 2025
@oracle-contributor-agreement

oracle-contributor-agreement Bot commented Sep 10, 2025

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

  • PR author: RachidaTanassat

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@oracle-contributor-agreement oracle-contributor-agreement Bot added OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. and removed OCA Verified All contributors have signed the Oracle Contributor Agreement. labels Sep 10, 2025
RachidaTanassat and others added 9 commits September 15, 2025 16:25
@RachidaTanassat @horakivo
Add support for tkinter
32e62a0
@RachidaTanassat @horakivo
add automatic setup helper for GraalPy Tkinter support on macOS
3b4e6e8
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
@RachidaTanassat @horakivo
add automatic setup helper for GraalPy Tkinter support on macOS
b3c986c
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
@RachidaTanassat @horakivo
add automatic setup helper for GraalPy Tkinter support on macOS
0502206
- Added setup_tkinter() function to handle missing _tkinter module

- Automatically installs pip dependencies and system requirements
@RachidaTanassat @horakivo
replace 'mx python' with sys.executable
7b80f6b
@RachidaTanassat @horakivo
Refactor Tkinter setup script: dynamic path resolution, package insta…
15162fd
…llation, and system dependency handling
@RachidaTanassat @horakivo
refactor: ask user permission before each package installation
c915d93
@RachidaTanassat @horakivo
Distinguish system packages from Python packages in install prompts
d83fe9e
Ivo Horak @horakivo
Adding check for pip
fec6bf7
@horakivo
horakivo force-pushed the rachida branch from 50a41eb to fec6bf7 Compare September 15, 2025 14:27

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@RachidaTanassat
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.