About Anaconda Help Download Anaconda

Tkmacosx is a Python library extension to the Tkinter module that let you change background color of the button on macOS.

Installers

  • noarch v0.1.6

conda install

To install this package run one of the following:
conda install saad_7::tkmacosx

Description

CodeFactor GitHub issues-closed GitHub license Documentation Status

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


Demonstration

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.


Changelog

  • v0.1.6

    • Add new feature, set image as background in Button widget.
    • Add new functions (hex_to_rgb, check_light_dark).
    • Add XView to Marquee widget.
    • Add Radiobutton widget and fix selectcolor issue. (#11)
    • Reorganize properties of BaseButton class.
    • Fix broken links.
    • Fix anchor of Button widget. (#7)
    • Fix focusring appearing for all CircleButton.
    • Fix activebackground and activeforeground of Radiobutton.
    • Remove colors.py file
    • Remove support for python 2.x.
    • Remove unnecessary code from multiple files.
    • Remove Information.md file.
    • Remove tkmacosx/README.md file.
  • v0.1.5

    • Add new CircleButton Widget widget.
    • Fix ["key"] to [key] in Marquee.
    • Fix Colorvar not working with item of canvas in 0.1.4.
    • Fix Marquee.play(reset=True) to reset and play the text from beginning.
    • Fix focusthickness of button not working when set to 1.
    • Fix Image not showing when button is active.
    • Fix Text/Image/Bitmap bleed off the button widget.
    • Fix width or height of button widget not working with compound argument.
  • v0.1.4

    • Add new feature "gradient" to Colorscale widget.
    • Add new features to Button widget.
    • Add new stop, play and reset methods to Marquee.
    • Add new feature avoidmousewheel to SFrame.
    • Fix height not working with Button widget issue.
    • Fix foreground argument not working in Button widget.
    • Fix SFrame not autosizing according to widgets.
    • Redesign classes of widgets.
    • Remove large images.
    • Remove numpy and PIL dependencies.
    • Some other fixes and improvements.
  • v0.1.3

    • Fix can't invoke "bindtags" command error. (#3)
  • v0.1.2

    • Add python 2.x support.
    • Fix half HEX issues. (#6)
  • v0.1.1

    • Add Marquee widget.
    • ColorVar now works with Canvas items as well.
    • Fix ColorVar not working with the foreground of tkmacosx.Button.
    • Fix unnecessary focus_set() by tkmacosx.Button.
    • Fix issues with main.py file.
    • Fix issues with SaveVar().
  • v0.1.0

    • Add SaveVar() function to save and load tkinter variable.
    • Fix colors import issue.
  • v0.0.9

    • Fix installation issues.
  • v0.0.8

    • Fix installation issues.
  • v0.0.7

    • Change eval() with ast.literal_eval() in DictVar Variable
    • Fix colorscale issues.
  • v0.0.6

    • Add new style tkinter colorscale.
  • v0.0.5

    • Fix a bug where borderless for multiple buttons does not work properly.
    • Improve init.py file.
  • v0.0.4

    • Fix an import error.
  • v0.0.3

    • Add docstring.
  • v0.0.2

    • Fix an error running command python -m tkmacosx.
  • v0.0.1

    • Initial release.

© 2024 Anaconda, Inc. All Rights Reserved. (v3.0.9) Legal | Privacy Policy