Ttkwidgets PackageΒΆ

I recently learned of this widget package which contains a number of widgets including:

  • AutoHideScrollbar: Scrollbar that automatically hides when not needed.

  • Calendar ttk Widget that enables a calender within a frame, allowing the user to select dates.

  • CheckboxTreeview: ttk.Treeview widget with checkboxes left of each item.

  • DebugWindow: A Toplevel that shows sys.stdout and sys.stderr for Tkinter applications

  • ItemsCanvas: A ttk.Frame containing a Canvas upon which text items can be placed with a coloured background.

  • LinkLabel: A ttk.Label that can be clicked to open a link with a default blue color, a purple color when clicked and a bright blue color when hovering over the Label.

  • ScaleEntry: A simple combination of a Scale and an Entry widget suitable for use with int ranges.

  • ScrolledListbox: Simple tk.Listbox with an added scrollbar.

  • Table: Table widget displays a table with options to drag rows and columns and to sort columns.

  • TickScale: A ttk.Scale that can display the current value next to the slider and supports ticks.

  • TimeLine: A Frame containing a Canvas and various buttons to manage a timeline that can be marked with certain events, allowing the binding of commands to hovering over certain elements and creating texts inside the elements.

The package documentation can be found at ttkwidget Documentation. The widgets themselves can be found at ttkwidgets. The documentation includes installation instructions and examples. I am just familiarizing myself with these widgets, so I am not in a position to recommend or disparage them.

The big disadvantage with ttkwidgets or any widget package is that to use them, the packages have to be installed on all systems on which your application is run. That means that if you distribute your application using them, then all the users have to also install the ttkwidgets package.

The widgets in this package can be used as Custom widgets within PAGE. Two examples are: Tksheet_2 and Calendar2.