This release is a pre-release and may not be stable for production use.
WM
A Window Manager for Tkinter On Windows 10
How to install
pip install 574d
How to test
from WM import TK ... if __name__ == '__main__': Tk = TK() Tk.mainloop()
I developed a code pattern based on the Sword Art Online (SAO) for Tkinter
For Example:
System Call Generate Button Element <Object-ID> Discharge !
Discharge is only a SAO reference.
class Call(TkData, INHERIT): # Object-IDs are here. ... szTitle, szWindowClass = 'WM', 'WM' ... class System(Call): # class TK(System, Call.Tk): Call = Call # System.Call ...
class Element(E.Widget, E.PhotoImage, System, Call): # type: ignore def __new__(cls, name: str = '', *_: E.Any, generic: bool = False, **__: E.Any): E = GENERATE.__dict__[name](*_, **__) if generic: del E._[-1] return E class Generate(System, Call): def __init__(self): super(System, self).__init__() # info when called ... # with Element Constructor Element('Frame', self.TK).grid(0, 0, 'nsew', padx=1, pady=1)({0: (1, 1), 1: (0, 1), 2: (1, 0)}).grid_remove() self.W['F'][-1].grid() # another way to do the same my_frame = ttk.Frame(self.TK) my_frame.grid(row=0, column=0, sticky='nsew', padx=1, pady=1) my_frame.grid_rowconfigure(0, weight=1) my_frame.grid_rowconfigure(2, weight=1) my_frame.grid_columnconfigure(0, weight=1) my_frame.grid_columnconfigure(1, weight=1) my_frame.grid_remove() my_frame.grid()
Metadata
Release files for 574d 0.0.0rc0.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| 574d-0.0.0rc0.dev2.tar.gz | 93.1 kB | Without provenance | Details for 574d-0.0.0rc0.dev2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 574d-0.0.0rc0.dev2-py3-none-any.whl | Python 3 | none | any | Details for 574d-0.0.0rc0.dev2-py3-none-any.whl |
Total release size: 187.0 kB
Release files / 574d-0.0.0rc0.dev2.tar.gz
| Download URL | 574d-0.0.0rc0.dev2.tar.gz |
|---|---|
| Size | 93.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74620572f50dde3e1fb9a1fcd80330af29dd580c23d975423c6430ba09b33aaf
|
|
BLAKE2b-256 checksum How to use checksums |
33c59fa099c98eaaccbef6ddb0b292986aa29c9932965857ab9b7db037f768cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / 574d-0.0.0rc0.dev2-py3-none-any.whl
| Download URL | 574d-0.0.0rc0.dev2-py3-none-any.whl |
|---|---|
| Size | 93.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31505e641c974a63337e14a048324e45579f04aa4166cffd581809a775b06144
|
|
BLAKE2b-256 checksum How to use checksums |
5d8af0109dacc066b55a9d69fa2aee70faf3e1ac9e3687d0ad1e1139f0912c0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for 574d 0.0.0rc0.dev2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.