{"id":18717159,"url":"https://github.com/akascape/ctktooltip","last_synced_at":"2025-04-07T16:18:30.246Z","repository":{"id":150748308,"uuid":"623425896","full_name":"Akascape/CTkToolTip","owner":"Akascape","description":"Small pop-up widget for displaying details inside customtkinter. (extension/add-on)","archived":false,"fork":false,"pushed_at":"2024-01-12T01:35:35.000Z","size":39,"stargazers_count":129,"open_issues_count":11,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T12:08:22.260Z","etag":null,"topics":["ctktooltips","ctktootip","customtkinter","customtkinter-tooltips","tkinter","tkinter-gui","tkinter-tooltips","tooltip","tooltip-library","tooltip-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akascape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"akascape"}},"created_at":"2023-04-04T10:52:47.000Z","updated_at":"2025-03-29T20:32:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f28fc54-da6f-46b3-8dd1-d265c4823097","html_url":"https://github.com/Akascape/CTkToolTip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkToolTip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkToolTip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkToolTip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkToolTip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akascape","download_url":"https://codeload.github.com/Akascape/CTkToolTip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685628,"owners_count":20979085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ctktooltips","ctktootip","customtkinter","customtkinter-tooltips","tkinter","tkinter-gui","tkinter-tooltips","tooltip","tooltip-library","tooltip-plugin"],"created_at":"2024-11-07T13:15:08.939Z","updated_at":"2025-04-07T16:18:30.227Z","avatar_url":"https://github.com/Akascape.png","language":"Python","readme":"# CTkToolTip\n**Small tooltip pop-up label for displaying details on customtkinter widgets.**\n\n![example](https://user-images.githubusercontent.com/89206401/229771216-199727ef-2a01-4ab3-bac6-7e0a5234389e.gif)\n\n## Features\n- Display over any CTk widget\n- Configurable options\n- Transparency effect\n- Round corners\n- Can be used with CTkSlider to show the value\n- Dynamic offset\n- Add delays\n\n## Installation\n\n```\npip install CTkToolTip\n```\n\n### [\u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Akascape/CTkToolTip?\u0026color=white\u0026label=Download%20Source%20Code\u0026logo=Python\u0026logoColor=yellow\u0026style=for-the-badge\"  width=\"400\"\u003e](https://github.com/Akascape/CTkToolTip/archive/refs/heads/main.zip)\n\n## Example\n**Simple Usage:**\n```python\nCTkToolTip(widget, message=\"Your Message\")\n```\n**App Example:**\n```python\nimport customtkinter\nfrom CTkToolTip import *\n\ndef show_value(value):\n    tooltip_1.configure(message=int(value))\n    \ndef show_text():\n    print(tooltip_2.get())\n\nroot = customtkinter.CTk()\n\nslider = customtkinter.CTkSlider(root, from_=0, to=100, command=show_value)\nslider.pack(fill=\"both\", padx=20, pady=20)\n\ntooltip_1 = CTkToolTip(slider, message=\"50\")\n\nbutton = customtkinter.CTkButton(root, command=show_text)\nbutton.pack(fill=\"both\", padx=20, pady=20)\n\ntooltip_2 = CTkToolTip(button, delay=0.5, message=\"This is a CTkButton!\")\n\nroot.mainloop()\n```\n\n## Arguments\n| Parameter | Description |\n|-----------| ------------|\n| **widget** | bind the tooltip to the ctk widget |\n| **message** | show the message over the toolip |\n| **delay** | add a small delay before showing the tooltip (default is 0.2) |\n| follow | follow the mouse cursor while hovering (default is True) |\n| x_offset | change the horizontal offset of the tooltip widget from mouse cursor |\n| y_offset | change the vertical offset of the tooltip widget from mouse cursor |\n| **alpha** | change the transparency effect of the tooltip (range: 0-1) |\n| **bg_color** | change the background color of the tooltip |\n| corner_radius | roundness of the corners |\n| border_width | add a border around the tooltips (default is 0) |\n| border_color | change the color of the border width |\n| padding | add padx and pady inside the tooltip frame, tuple: (padx, pady) |\n| **text_color** | change the text color of tooltip |\n| wraplength | constrains the width of the tooltip, causing CTkToolTip, where required, to wrap the message at word boundaries. |\n| font | label text font, tuple: (font_name, size) |\n| justify | change the text display structure (left, right or center) |\n| _*Other Label Parameters_ | _All other parameters for ctk label can be passed in ctktooltip_ |\n\n## Methods\n\n- **.configure(message, arguments...)**\n\n   configure the text and other parameters for the tooltip\n- **.get()**\n\n   get the current text of tooltip\n- **.hide()**\n\n   disables the tooltip from appearing\n- **.show()**\n\n   enable the tooltip again\n- **.is_disabled()**\n\n   check the tooltip state\n   \n### Thats all about CTkToolTips, hope it will help in your project!\n","funding_links":["https://ko-fi.com/akascape"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctktooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakascape%2Fctktooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctktooltip/lists"}