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

[ LINUX ] Make pd-next respect ttk styles set via Xresources #28

Open
burein-ita opened this issue Mar 10, 2024 · 2 comments
Open

[ LINUX ] Make pd-next respect ttk styles set via Xresources #28

burein-ita opened this issue Mar 10, 2024 · 2 comments

Comments

@burein-ita
Copy link

burein-ita commented Mar 10, 2024

On Windows and Mac OS ttk uses a native style.

On Linux, however, Pd and Pd-next default to the "default" style.

It's possible to select a different style by adding *TkTheme: nameOfTheme to the .Xresources file but it seems that the main Pd window and patch windows don't follow this setting.

Other dialogs, like the file picker, actually follow this setting. Like in this image with *TkTheme: clam:

clam

The main Pd window with the "default" style and the Open window with the "clam" style.

Would it be possible to make the main window respect the Xresources setting?

According to the tcl docs the style is set by ttk::setTheme.

@sebshader
Copy link
Owner

sebshader commented Mar 10, 2024

Hi, I'm definitely not opposed to it. However I usually like to include things that are proposals for pd vanilla.
In that spirit, maybe we should open an issue/PR for this on the Pd repo and see what they say there.

If it isn't something they want to implement over there for some reason then I'll add it to just pdnext separately.
(and if it is something they're open to then I'll just merge the change)

@burein-ita
Copy link
Author

True, didn't think about that. Just opened an issue over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants