tooltip


Nametooltip JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/guisaldanha/tooltip
SummaryUma descrição do seu pacote
upload_time2024-03-24 14:36:53
maintainerNone
docs_urlNone
authorGuilherme Saldanha
requires_pythonNone
licenseMIT
keywords dev tooltip python package tip help
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tooltip for labels, entries, buttons and more

[![PyPI version](https://img.shields.io/pypi/v/tooltip)](https://pypi.org/project/tooltip/) [![License](https://img.shields.io/github/license/guisaldanha/tooltip)](LICENSE) [![Downloads](https://img.shields.io/pypi/dm/tooltip)](https://img.shields.io/pypi/dm/tooltip)

A simple tooltip for tkinter widgets.

## Installation

```bash
pip install tooltip
```

## Usage

```python
ToolTip(widget, text='Widget info', justify='left', width=None, background=None, foreground=None):
```

## Example

```python
import tkinter as tk
from tooltip import ToolTip

root = tk.Tk()

button = tk.Button(root, text='Button')
button.pack(pady=20)
ToolTip(button, text='This is a button and you can describe it here. You can also add a lot of text to see how it will appear and even use bright colors', width=50, justify='center', background='yellow', foreground='blue')

label = tk.Label(root, text='Label')
label.pack(pady=20)
ToolTip(label, 'Descriptions can be discreet too')

root.mainloop()
```

## Authors

* **Guilherme Saldanha** - [guisaldanha](https://github.com/guisaldanha/) - [guisaldanha.com](https://guisaldanha.com)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/guisaldanha/tooltip",
    "name": "tooltip",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "dev, tooltip, python, package, tip, help",
    "author": "Guilherme Saldanha",
    "author_email": "guisaldanha@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/e5/7f2a59d5a9901092af30efab32379ba5e0508786063e7307df384688f086/tooltip-1.0.0.tar.gz",
    "platform": null,
    "description": "# Tooltip for labels, entries, buttons and more\r\n\r\n[![PyPI version](https://img.shields.io/pypi/v/tooltip)](https://pypi.org/project/tooltip/) [![License](https://img.shields.io/github/license/guisaldanha/tooltip)](LICENSE) [![Downloads](https://img.shields.io/pypi/dm/tooltip)](https://img.shields.io/pypi/dm/tooltip)\r\n\r\nA simple tooltip for tkinter widgets.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install tooltip\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nToolTip(widget, text='Widget info', justify='left', width=None, background=None, foreground=None):\r\n```\r\n\r\n## Example\r\n\r\n```python\r\nimport tkinter as tk\r\nfrom tooltip import ToolTip\r\n\r\nroot = tk.Tk()\r\n\r\nbutton = tk.Button(root, text='Button')\r\nbutton.pack(pady=20)\r\nToolTip(button, text='This is a button and you can describe it here. You can also add a lot of text to see how it will appear and even use bright colors', width=50, justify='center', background='yellow', foreground='blue')\r\n\r\nlabel = tk.Label(root, text='Label')\r\nlabel.pack(pady=20)\r\nToolTip(label, 'Descriptions can be discreet too')\r\n\r\nroot.mainloop()\r\n```\r\n\r\n## Authors\r\n\r\n* **Guilherme Saldanha** - [guisaldanha](https://github.com/guisaldanha/) - [guisaldanha.com](https://guisaldanha.com)\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Uma descri\u00e7\u00e3o do seu pacote",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/guisaldanha/tooltip"
    },
    "split_keywords": [
        "dev",
        " tooltip",
        " python",
        " package",
        " tip",
        " help"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03dff6329dcaa417b01edb3d8de6666cd8e258e40eb01f5b59d3a731e8c8041d",
                "md5": "e41972ef018e657497fefc7bdf511147",
                "sha256": "3ff346484fcdfea4ada0b3c87dbee2bc2614dad20d7710d9d16fe411ded60ace"
            },
            "downloads": -1,
            "filename": "tooltip-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e41972ef018e657497fefc7bdf511147",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3567,
            "upload_time": "2024-03-24T14:36:51",
            "upload_time_iso_8601": "2024-03-24T14:36:51.784826Z",
            "url": "https://files.pythonhosted.org/packages/03/df/f6329dcaa417b01edb3d8de6666cd8e258e40eb01f5b59d3a731e8c8041d/tooltip-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3e57f2a59d5a9901092af30efab32379ba5e0508786063e7307df384688f086",
                "md5": "037c1f200d646a7623d567b42b27d78e",
                "sha256": "3c8e04c3550f852e598dc2178784116107f3de6f8fce171f3b9d43af2551c0cc"
            },
            "downloads": -1,
            "filename": "tooltip-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "037c1f200d646a7623d567b42b27d78e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3230,
            "upload_time": "2024-03-24T14:36:53",
            "upload_time_iso_8601": "2024-03-24T14:36:53.694325Z",
            "url": "https://files.pythonhosted.org/packages/f3/e5/7f2a59d5a9901092af30efab32379ba5e0508786063e7307df384688f086/tooltip-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-24 14:36:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "guisaldanha",
    "github_project": "tooltip",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tooltip"
}
        
Elapsed time: 0.68461s