Package: gttk
GTK Theme for Python's tkinter/ttkWould you like to have a more native look for your Tkinter application?
Are the themes provided inttkthemesnot to your liking?This package provides a version ofgtkTtk,
formerlytilegtkpackaged for
usage with Python. Simply follow the installation instructions and all
required files are installed to the site package directory.InstallationCurrently, a build process for Linux and Windows is available. If you
would like  to use the package on OS X, please let me know so we can
work on a build system.WheelsCurrently, wheels are provided for Windows. The Linux wheels are built
with Travis-CI and are thus notmanylinuxwheels. Therefore, building
yourself is recommended when using Linux (either from the source dist
from PyPI or this repository). Feel free to open an issue if you
encounter any problems building!LinuxThese instructions are for Ubuntu, Python 3.5 or higher. Any lower
version may work, but is not supported. On other distributions, package
names may be different.# Build Toolssudoaptinstallbuild-essentialcmake# Required Librariessudoaptinstalllibgtk2.0-devlibglib2.0-devtcl-devtk-dev# Required Python packagespython-mpipinstallscikit-build

pythonsetup.pyinstallWindows (64-bit only)These instructions assume you haveMSYS2installed, with the MinGW toolchain. Thesetup.pyscript will check
the additional build dependencies and install them when required.Both the MSYSbindirectory as well as the MinGWbindirectory must
be on thePATHto run thesetup.pyscript. Usually, these folders
areC:\msys64\usr\binandC:\msys64\mingw64\bin, but they may differ
for your installation.In addition to this, thesetup.pyscript expects theDependenciesprogram foundhereto be
installed underdeps/Dependencies.exeby default. This tool is used
to find all DLL-files necessary to rungttkwithout any external files.If you have satisfied all requirements, assuming you want to install
the packageoutsideof your MSYS installation:# Replace C:\Python with the path to your Python setup# The MSYS version of Python is on PATH and thus you should use an abspath!C:\Python\python.exesetup.pyinstallThe binary distribution ofgttkwill come with all DLL-files known to
be required to run it. These DLL-files are generally available under
their own specific licenses, as covered in the files that are found in
the MSYS directory/share/licenses.UsageSimply import the package and instantiate theGTTKclass. Then the
theme will become available for usage in attk.Style.importtkinterastkfromtkinterimportttkfromgttkimportGTTKwindow=tk.Tk()gttk=GTTK(window)style=ttk.Style()style.theme_use("gttk")print(gttk.get_current_theme())# Prints the active GTK themegttk.set_gtk_theme("Yaru")# Sets GTK theme, provided by developerttk.Button(window,text="Destroy",command=window.destroy).pack()window.mainloop()If you encounter an error because you are running in the repository,
directory, make sure to disallow imports from the working directory
before importinggttk:importsyssys.path=sys.path[2:]importgttkScreenshotsgttkshould work with any GTK theme you can throw at it, but below
are the themes Yaru and Adwaita as examples.License and CopyrightThis repository provides a wrapper aroundgttk, which is a renamed
version ofgtkTtk, which in turn is a renamed version oftile-gtk.
The originaltile-gtkis available under hte MIT License. This version
is available only under GNU GPLv3.python-gttk 
Copyright (c) 2008-2012 Georgios Petasis
Copyright (c) 2012 Cheer Xiao
Copyright (c) 2019-2020 Géballin
Copyright (c) 2020 RedFantom

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.Project Statetile-gtk,gtkTtkand hence alsogttkare far from perfect. You may
encounter various graphical artifacts when using particular themes,
while others work without flaws.You are welcome to report any issues, and pull requests are even better.
Currently the package can only be built for Linux-based systems and
attempts to create a process for building on Windows using MSYS and
CMake have proven unfruitful. If you would like to give it a go,
feel free to contact me.