Skip to content

CrunchysPixelPillow/Crunchy-s-Candy-Wrapper-on-Customtkinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Crunchy's Candy Wrapper on Customtkinter (Discontinued)

Python Customtkinter

Description

This repository contains the Crunchy's Candy Wrapper application built using Customtkinter in Python.

Key Features and Highlights

  • Customized candy wrapper design
  • Interactive GUI using Customtkinter
  • Python-based application

Installation

To use Crunchy's Candy Wrapper, follow these steps:

  1. Clone the repository or Install release:
git clone https://github.com/username/Crunchy-s-Candy-Wrapper-on-Customtkinter.git
  1. Install Customtkinter:
pip install customtkinter
pip3 install customtkinter
  1. 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

Usage

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()

Dependencies

The project has the following dependencies:

  • Customtkinter Latest (recommended)

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add new feature')
  5. Push to the branch (git push origin feature)
  6. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Repo made to publish python wrappers on customtkinter because GUI apps shouldnt be hard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages