A small new package for easily using Tkinter.
Project description
Documentation ManagerTk
ManagerTk is a Python module that helps you create and manage a graphical user interface (GUI) for projects created with Tkinter. This module provides simple functions for working with windows, pages, and interface elements.
Download Package
pip install ManagerTk
Main Functions
coord_view(window, boolc) - Duplicates the window for viewing mouse coordinates (x, y) in the window and displays them in the terminal.
create_mpage(window, ui_page, size) - Creates the main page of the interface with the specified elements.
redirect_pages(page_ui_1, page_ui_2, side=None) - Allows you to switch between two interface pages by changing their contents.
window_exit(title: str, message: str) - Displays a window to confirm the exit from the program.
documentation() - Displays a link to the module documentation.
Tutorial for using
import tkinter as tk
from ManagerTk import *
window = tk.Tk()
window.title("ManagerTk Example")
main_page = [
tk.Label(text="Main Page"),
tk.Button(text="Go to Second Page", command=lambda: redirect_pages(main_page, second_page))
]
second_page = [
tk.Label(text="Second Page"),
tk.Button(text="Go to Main Page", command=lambda: redirect_pages(second_page, main_page))
]
create_mpage(window, main_page, "300x200")
window.mainloop()
This example creates a simple application with two pages that can be switched using buttons.
Support
telegram - @DK50503
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
ManagerTk-0.1.post1.tar.gz
(4.0 kB
view details)
Built Distributions
File details
Details for the file ManagerTk-0.1.post1.tar.gz
.
File metadata
- Download URL: ManagerTk-0.1.post1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884d6e703c332118956f913936e4649d7891ec528c9f1064713323591a9e86d2 |
|
MD5 | a1110118157417c7e032cad96a94088e |
|
BLAKE2b-256 | c279035352efd2f21fdb4d5a26c33634a957e07b7ae4429b3c3171e298731df0 |
File details
Details for the file ManagerTk-0.1.release.post1-py3-none-any.whl
.
File metadata
- Download URL: ManagerTk-0.1.release.post1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags:
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2454e9f4ffb66670cce4d82faacdb2c38912462fa901ce8ebbe8aaa40d564a7 |
|
MD5 | b607aa39abb0a5b692c8ff9359293301 |
|
BLAKE2b-256 | 6ca1555d2a8d60fd0f03777562e423815c0fc5537fe708e1edaf203dd750bdff |
File details
Details for the file ManagerTk-0.1.post1-py3-none-any.whl
.
File metadata
- Download URL: ManagerTk-0.1.post1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd153146ab790d210cb3d9a4b9717e11524a212d481cd6e882791c2e5bc6a44 |
|
MD5 | adc72dc01cda9a24194727d4a42b49d6 |
|
BLAKE2b-256 | 39e94949526ac601cf943a31ebbc3603e76b43149fcb245fe03f8d8d28e04436 |
File details
Details for the file ManagerTk-0.1(release)-py3-none-any.whl
.
File metadata
- Download URL: ManagerTk-0.1(release)-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags:
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4e6633fd27dad7a5fd1a8b8388c1a90a34ff924be28a7abf3a923df8518c73a |
|
MD5 | 4e4a49242a0c57cbd2805a3178ffd652 |
|
BLAKE2b-256 | 92a57b9eab631f7e30d9bc08d8bab46d89b490c66522155e6220b57e85b7583b |