By Fastattack, 2024
Note
The package is cross-platform, but the Message class will only be able to create sounds if the winsound module is installed (only available on windows)
This module contains more, easy to use, customtkinter widgets.
This file will present you the best ones.
To install the package, you should use pip. Install the package with the following command: pip install MoreCustomTkinterWidgets
This widget is a normal frame but with one upgrade: animations !
If you want to move the frame from one grid cell to another or one placing coordinates to another, you can use smooth_grid or smooth_place to move the frame to the given spot in a given time.
Inside the frame, you can still put other widgets
This class is used to navigate and select files directly in the interface (not a TopLevel).
It also comes with a class to ask for a file in a TopLevel (FileDialog).
The FileDialog class comes with prebuilt functions to ask for files more easily: askdir, askfile
This class is used like CTkImage but allows to run an animation if an image sequence (FLI/FLC, GIF) was given.
You can start the animation, and it will run until you call the method to stop it, or you can run it for a given time.
These classes allow to easily create widgets to ask the user to select a date.
This widget is used just like the separator in classic tkinter: it allows to separate other widgets more clearly (draws a line to separate widgets).
This class is used like CTkImage, but you can round the images corners !
You can configure the radius of corner rounding by using BetterCTkImage.configure() and the image will update automatically everywhere it is used.
This class is used to select values in a list.
You give a list of values to the widget, and it creates a scrollable frame containing multiple checkboxes. When you want to retrieve the entries, you just call the get_selections method.
Those two classes are TopLevels used to ask values (string / integer / float / boolean) to the user.
They come with functions to use them more easily: askstring, askinteger, askfloat, askyesno
This class is used to display messages (TopLevel) to inform the user about errors / what is happening in the app.
It comes with prebuilt functions to use it more easily: showinfo, showwarning, showerror
These functions existed in normal tkinter but didn't go in customtkinter.
The icons used in the module were collected on flaticon: Flaticon
Mentions to the artists of these icons:
- New folder icon: Mehwish: Flaticon & Flaticon
- Folder icon: Icongeek26: Flaticon & Flaticon
- File icon: Freepik: Flaticon & Flaticon
- Left arrow (back): Gravisio: Flaticon & Flaticon
- Right arrow (forward): Gravisio: Flaticon & Flaticon
Used modules: customtkinter, Pillow
Used services for README statistics: shields.io, tokei.rs, pepy.tech