This new “multi-platform custom checkbox”, fully designed for customization, offers a wide range of options, including:
- Using different checkbox shapes (round, rounded rectangle, square)
- Selecting different colors for different checkbox states (normal, hover, pressed, disabled)
- Changing the border color and thickness
- Applying a transparency effect using the color settings
- Setting the label font size
- Configuring the label font style (normal, bold)
- Changing the label color
- Enabling or disabling the focus indicator
- Adding or disabling focus
- Adjusting the focus color
- Setting the focus indicator color
- Adding and adjusting the custom box
- Setting a solid color or gradient background for the custom box
…
As you can see from the examples, this checkbox looks great on any background, whether solid, gradient, or bitmapped.
checkbox_demo.zip (159.4 KB)
Additionally, this checkbox is cross-platform compatible and has been successfully tested on the following operating systems:
- Windows 10/11 | Python 3.11.9 |
wxPython 4.2.3 | wxWidgets 3.2.6 - Linux Mint 21 | Python 3.10.12 |
wxPython 4.2.1 gtk3 | wxWidgets 3.2.2.1 - MacOS Sequoia 15 | Python 3.12.4 |
wxPython 4.2.2 | wxWidgets 3.2.6
Regards