question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tooltip on widgets

See original GitHub issue

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Python version      :  3.6.7 | packaged by conda-forge | (default, Nov 20 2018, 18:37:09)
IPython version     :  7.2.0
Tornado version     :  5.1.1
Bokeh version       :  1.1.0dev9+2.g1138433
BokehJS static path :  /Users/jsignell/conda/envs/bokeh-dev/lib/python3.6/site-packages/bokeh-1.1.0.dev9+2.g1138433-py3.6.egg/bokeh/server/static
node.js version     :  v11.6.0
npm version         :  6.5.0

Description of expected behavior and the observed behavior

I think that widgets should have a kwarg that allows tooltips to be set on them - this kwarg could possibly be called title or help. Note that the toolbar buttons have tooltips already.

Originally raised as https://github.com/pyviz/panel/issues/254

Complete, minimal, self-contained example code that reproduces the issue

from bokeh.models.widgets import Button
from bokeh.io import output_notebook, show

output_notebook()

button = Button(label='+', width=30, title='tooltip text')
show(button)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, May 19, 2021

Just noting that this potentially overlaps with possible upcoming CZI grant work (if awarded)

0reactions
MarcSkovMadsencommented, Jan 17, 2021

One more vote for introducing this very much needed feature

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltip widgets (or: screen tip, balloon) - ADG
Tooltips present information about a specific element in a small container on top of all other content. It is typically only displayed upon ......
Read more >
Adding Tooltips to Widgets - PTC Support
You can specify tooltips for widgets using the TooltipField and TooltipIcon properties on the Properties panel for widgets in Mashup Builder. During the...
Read more >
Tooltip class - material library - Flutter - Dart API docs
Tooltips improve the accessibility of visual widgets by proving a textual representation of the widget, which, for example, can be vocalized by a...
Read more >
JetTricks: How to Apply Tooltips to Widgets with Elementor
Go to Advanced > JetTricks and enable the Tooltip option. This menu has two tabs – Settings and Style.
Read more >
Flutter - Tooltip Widget - GeeksforGeeks
Tooltip is a built-in widget in flutter based on material design, which displays a textual description of the widget in a floating label ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found