-
Notifications
You must be signed in to change notification settings - Fork 1
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
How list up gtk themes? #4
Comments
Seems like it's not implemented here, but you can use this Tcl call to get a tuple of the available Gtk themes widget.tk.call("ttk::theme::gttk::availableStyles") |
Oh, it's good! |
>>> import tkinter
>>> import gttk
>>> from tkinter import ttk
>>> root=tkinter.Tk()
>>> gttk=gttk.GTTK(root)
>>> style=ttk.Style()
>>> style.theme_use("gttk")
>>> gttk
<gttk.GTTK object at 0x000001C88A9F9E80>
>>> root.tk.call("ttk::theme::gttk::availableStyles")
'' I tried that. But it return empty string... |
Then I don't know 🤷♂. ('Breeze', 'Breeze-Dark', 'Dracula', 'Raleigh', 'Yaru-dark', 'Yaru-light') |
Oh... |
It right... I was wrong. Sorry...
I think I would make pull request about this. Thanks for your all helping....! |
How list up gtk themes?
There are no docs for that...
The text was updated successfully, but these errors were encountered: