A simple wrapper for customtkinter
Project description
eazyctk
A simplified wrapper for customtkinter to make GUI development faster and more intuitive.
Command Reference
Window Management
- createWindow(Size, Title): Initializes the main window. This must be called before any other commands.
- start(): Starts the application main loop. This must be called at the end of the file.
Theme Control
- setTheme(theme): Sets the appearance mode to "Light", "Dark", or "System".
- setThemeColor(themeclr): Sets the color theme (e.g., "green", "blue").
- getTheme(): Returns the current appearance mode string ("Light" or "Dark").
- toggleTheme(): Automatically switches between Dark and Light mode.
UI Elements
- createLabel(Name, Text, x, y, wrap): Creates a label at a specific position with a defined text wrap width.
- createButton(Name, Text, Command, x, y): Creates a button at a specific position that executes the provided command.
- createEntry(Name, x, y, Placeholder): Creates a single-line text input field at a specific position.
- createCheckbox(Name, Text, x, y, Command): Creates a checkbox at a specific position that can trigger a command.
- createDropdown(Name, options, x, y, cmd): Creates a dropdown menu at a specific position with a list of options.
Getting & Updating Data
- getValue(Name): Returns the current string inside an entry widget.
- isChecked(Name): Returns
Trueif the checkbox with the given name is checked, otherwise returnsFalse. - getDropdownValue(Name): Returns the currently selected option from the specified dropdown.
- updateLabel(Name, NewText): Changes the text of an existing label to the new string.
- updateTextButton(Name, NewText): Changes the text displayed on an existing button.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eazyctk-0.0.3.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eazyctk-0.0.3.tar.gz.
File metadata
- Download URL: eazyctk-0.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03e3fe784ead976f7cc26996ffa4b6c506435c7b9f86dd49bd10d118e91fa953
|
|
| MD5 |
1b40e97cbc1173d37a0eb9b0c101d498
|
|
| BLAKE2b-256 |
36b13021d3ad6e188b49fcb14f3b7ce04e76c50ab9b65e91d37eb3219d46f114
|
File details
Details for the file eazyctk-0.0.3-py3-none-any.whl.
File metadata
- Download URL: eazyctk-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c20a755bdf8937e5db7aaeba19b0c3b4e474d88732528a4450eaae8c4ccda71
|
|
| MD5 |
ebe0c6aaa00a330ce10481a2e3be2c24
|
|
| BLAKE2b-256 |
264189f3a0d137cdb0a9d53cfa620e48c6534411850c67371cf5a4133ca695ea
|