This repository contains the Crunchy's Candy Wrapper application built using Customtkinter in Python.
- Customized candy wrapper design
- Interactive GUI using Customtkinter
- Python-based application
To use Crunchy's Candy Wrapper, follow these steps:
- Clone the repository or Install release:
git clone https://github.com/username/Crunchy-s-Candy-Wrapper-on-Customtkinter.git- Install Customtkinter:
pip install customtkinter
pip3 install customtkinter- Intergration options:
3. Download a Release(Most Releases come with guide on changes and use)
2. Add to project folder where main file is
1. import it
Here's how you can use Crunchy's Candy Wrapper:
import customtkinter as CTk
from CrunchyCustomtkinterWrapper import *
app = customtkinter.CTk()
Main_Window(Title: "Whatever here", Size1: Integer, Size2: Integer)
^^ window name ^^ X axis ^^ Y axis
Main_Window_Scaled(Title: "Same thing", Size: Single Float
^^ window name ^^ Size as float like 800.64
LightSwitch(Switch: bool)
- True is light mode
- False is dark mode
- None is system default
Theme(color)
- "blue" sets to blue background (default in customtkinter)
- "green" sets to green background
- "dark-blue" or "darkblue" sets to darkblue background
Custom_Theme(path)
^^ Put full path from root folder of project to your custom json theme
now to the stuff people care about
New_Button(button_text, Box_Text: string, Box_Row: int, Box_column: int, Box_paddx: int, Box_paddy: (range), callback: DefaultCallback
^^ Button text ^^ Box text ^ side X axis row ^^ line row ^^ Padx ^ Padding ^ (1 2) ^ existing Function name for logic
New_(Box_identity, Box_Text: string, Box_Row: int, Box_column: int, Box_Padx: int, Box_Sticky_Custom: string normaly "w", Box_Sticky: bool)
to view what box ^^ Box text ^ box line row ^ box up row ^^ Padx ^^ Box Sticky("anything") ^ if true box_sticky_custom is valid
= Box sticky in beta 1.1 and above can be
- True
- False
- None
- Blank
app.mainloop()The project has the following dependencies:
- Customtkinter Latest (recommended)
If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.