{ "info": { "author": "Jarik Marwede", "author_email": "jarikmarwede@zoho.eu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" ], "description": "# Center tk window\nA small library for centering tkinter windows on their parent or on the screen.\n\n## Installation\nTo install run the following command:\n`pip install center_tk_window`\n\n## Usage\n```python\nimport tkinter\nimport center_tk_window\n\nroot_window = tkinter.Tk()\nwindow_to_center = tkinter.Toplevel(root_window)\n\n# Center a window on its parent unless it is the root window in which case it will be centered on screen.\ncenter_tk_window.center(root_window, window_to_center)\n\n# Center a window on its parent\ncenter_tk_window.center_on_parent(root_window, window_to_center)\n\n# Center a window on the screen\ncenter_tk_window.center_on_screen(window_to_center)\n\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jarikmarwede/center-tk-window", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "center-tk-window", "package_url": "https://pypi.org/project/center-tk-window/", "platform": "", "project_url": "https://pypi.org/project/center-tk-window/", "project_urls": { "Homepage": "https://github.com/jarikmarwede/center-tk-window" }, "release_url": "https://pypi.org/project/center-tk-window/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Functions for centering tkinter windows on parent or on screen", "version": "1.0.0" }, "last_serial": 5491159, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0539c8eced71e9fd898140f581d9a768", "sha256": "5f4ca4e20b3ba2ded93accafc3f21c2d32baedeb2b562ed5d2deecf6db397651" }, "downloads": -1, "filename": "center_tk_window-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0539c8eced71e9fd898140f581d9a768", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2863, "upload_time": "2019-07-05T12:26:18", "url": "https://files.pythonhosted.org/packages/88/79/22582111ec10a51866c4d1c6d8585e5c64f64e7230a28fef10515bcc5f3e/center_tk_window-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2045b683b243a3ceed58dab40d16219", "sha256": "79835b9786599b523b9f6dac1dd7d8bb6fa0b25e8d894f2161afe120cf448f30" }, "downloads": -1, "filename": "center_tk_window-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b2045b683b243a3ceed58dab40d16219", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1675, "upload_time": "2019-07-05T12:26:21", "url": "https://files.pythonhosted.org/packages/cf/f5/0c9a8309aaf22bcb87745ae2bdf7977ffff13aacaf28b4ee8c0620953afd/center_tk_window-0.0.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "4c5e8e030e81de1030de8ef96e49a04d", "sha256": "1d793a6b8e3d6eeefe58d229fc618fa3975cc1512c4a6af73f4298bed9272915" }, "downloads": -1, "filename": "center_tk_window-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c5e8e030e81de1030de8ef96e49a04d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2864, "upload_time": "2019-07-05T12:26:20", "url": "https://files.pythonhosted.org/packages/9a/d0/eccfc709feb6794f0460e354d79425f40ca3d33b051692b0fe501dd7ab60/center_tk_window-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2738f0d69406f6316705f6a451d854bf", "sha256": "9688bc30d66f614120060f104f9ea43fe4eddb2953065a96affb7b6b70dbeeb8" }, "downloads": -1, "filename": "center_tk_window-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2738f0d69406f6316705f6a451d854bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1666, "upload_time": "2019-07-05T12:26:23", "url": "https://files.pythonhosted.org/packages/cf/2c/c47e93b539aab661f570c14f56720ab22753b50236bdf9ba29cf82657603/center_tk_window-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c5e8e030e81de1030de8ef96e49a04d", "sha256": "1d793a6b8e3d6eeefe58d229fc618fa3975cc1512c4a6af73f4298bed9272915" }, "downloads": -1, "filename": "center_tk_window-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c5e8e030e81de1030de8ef96e49a04d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2864, "upload_time": "2019-07-05T12:26:20", "url": "https://files.pythonhosted.org/packages/9a/d0/eccfc709feb6794f0460e354d79425f40ca3d33b051692b0fe501dd7ab60/center_tk_window-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2738f0d69406f6316705f6a451d854bf", "sha256": "9688bc30d66f614120060f104f9ea43fe4eddb2953065a96affb7b6b70dbeeb8" }, "downloads": -1, "filename": "center_tk_window-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2738f0d69406f6316705f6a451d854bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1666, "upload_time": "2019-07-05T12:26:23", "url": "https://files.pythonhosted.org/packages/cf/2c/c47e93b539aab661f570c14f56720ab22753b50236bdf9ba29cf82657603/center_tk_window-1.0.0.tar.gz" } ] }