Skip to main content

A simple wrapper for customtkinter

Reason this release was yanked:

Unfinished

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.
  • createScrollableLabel(Name, Text, x, y, width, height): Creates a Up to down scrollable text.

Getting & Updating Data

  • getValue(Name): Returns the current string inside an entry widget.
  • isChecked(Name): Returns True if the checkbox with the given name is checked, otherwise returns False.
  • 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.
  • updateScrollableLabel(Name, NewText): Changes the text of an existing scrollable label to the new string.
  • updateTextButton(Name, NewText): Changes the text displayed on an existing button.
  • updateWindowSize(size): Changes the window size.
  • updateWindowsTitle(newtitle): Changes the title from the window.

Project details


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.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eazyctk-0.0.5-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file eazyctk-0.0.5.tar.gz.

File metadata

  • Download URL: eazyctk-0.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for eazyctk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 68bd2fdddd8be587a660f4a326430770d53a8171bdc1eb0403beec4db3ebc225
MD5 0ecfcfda9129f93faf437537cffd40ab
BLAKE2b-256 5441fd4742ca9a692f8c2727c303683a0541d0d88d345cb2e0f7cb5511136494

See more details on using hashes here.

File details

Details for the file eazyctk-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: eazyctk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for eazyctk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 64389ddb30b4a902b03ac701d4064c0f08ffc08c8dba36f005a4d1e311635450
MD5 1478c3d29524b3a6d3b1c2e2a1f2c75b
BLAKE2b-256 3e151f3702ae8d7dca73f350231cddcf4a04dd73e3d87e8f3556094ee04bc394

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page