Skip to main content

TKinter Managed Frames

Adds a Frame widget with a built in content manager.

Installation

Download from PYPI.
pip install TKinterManagedFrame
or
python -m pip install TKinterManagedFrame

Methods

  • __init__()

    • args
      • master: a tkinter widget that is capable of having children
        • this includes Tk, Frame, and TopLevel
      • nameList: A list of names that will be associated with empty Frame objects.
      • initialIndex: the first Frame that will be displayed.
        • if this is not present in nameList, a Frame will be created to associate with it.
      • options: takes any number of keyword arguments.
        • see the documentation for tkinter.Frame for the full list of options.
  • getCurrentFrameKey()

    • returns the key of the currently displayed Frame.
  • getCurrentFrame()

    • returns a reference to the currently displayed Frame
  • getFrameAtKey()

    • args
      • key: the key at which the requested Frame is stored
    • returns a reference to the Frame at the given key.
    • @raises KeyError: if key is not being managed
  • addOption()

    • args
      • inputFrame: the Frame object to be added
      • key: the location at which `inputFrame' will be stored in the manager.
    • @raises KeyError: if key is already being managed
      • use updateOption() to change an already managed frame.
  • updateOption()

    • args
      • inputFrame: the frame to place at key
      • key: the location at which to place inputFrame
    • @raises KeyError: if key is not being managed
  • changeOption()

    • args
      • key: the the key of the desired Frame.
    • @raises KeyError if key is not being managed.
  • setOption()

    • args
      • inputFrame: the Frame to be added
      • key: the key at which to store inputFrame
    • @raises KeyError if key is already being managed
  • removeOption()

    • args
      • key: the key value at which the Frame to be deleted is stored
      • default: (defaults to an arbitrary frame), the key value of the frame that will be displayed if key references the currently displayed Frame
    • @raises KeyError if either key or default are not being managed.

Metadata

Release files for Tkinter-Managed-Frame 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Tkinter-Managed-Frame 1.0.3
File Size Uploaded Provenance
Tkinter Managed Frame-1.0.3.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Tkinter-Managed-Frame 1.0.3
File Interpreter ABI Platform
Tkinter_Managed_Frame-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / Tkinter Managed Frame-1.0.3.tar.gz

Download URL Tkinter Managed Frame-1.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e52cdb193baa7255346a771846a9eee5ca88789f449ed38647a1bf1dfbf8ba6f
BLAKE2b-256 checksum
How to use checksums
d14838aeafa1610f546f33e1d6f5c9eddd5382aa285fe979e438c73ada8b911d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release files / Tkinter_Managed_Frame-1.0.3-py3-none-any.whl

Download URL Tkinter_Managed_Frame-1.0.3-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84b3c5880fbef98ff7f3f0f0606b6510d7c50448b250420b51769cf7e58fbb2a
BLAKE2b-256 checksum
How to use checksums
6b9b7e9cd94396a82f4c646399b181c08c922052e90feb3df8e4c78bf8d761e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Security for Tkinter-Managed-Frame 1.0.3

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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page