Tkmacosx is a Python library extension to the Tkinter module that let you change background color of the button on macOS.
This module provides some modified widgets of Tkinter which fixes many issues with widgets not working properly on macOS platform. For example Button of tkmacosx which looks and feels exactly like a native Tkinter button can change its background and foreground color and has a lot more functionality, Issues with Radiobutton are also fixed with this library. The library also offers some more useful functionality.
Read more about all the classes and methods in the tkmacosx documentation.
Table of Contents
python -m tkmacosx
Run the above command in the terminal or command line after installing tkmacosx to see working and almost all the configurable options of different widgets of tkmacosx.
["key"]
to [key]
in Marquee."gradient"
to Colorscale
widget.Button
widget.stop
, play
and reset
methods to Marquee.avoidmousewheel
to SFrame.foreground
argument not working in Button widget.can't invoke "bindtags" command
error. (#3)Marquee
widget.ColorVar
now works with Canvas
items as well.ColorVar
not working with the foreground of tkmacosx.Button
.focus_set()
by tkmacosx.Button
.SaveVar()
.SaveVar()
function to save and load tkinter variable.v0.0.8
eval()
with ast.literal_eval()
in DictVar Variableborderless
for multiple buttons does not work properly.python -m tkmacosx
.