This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.models.widgets.widget — Bokeh 0.12.4 documentation

Source code for bokeh.models.widgets.widget

""" Bokeh can present many kinds of UI widgets alongside plots.
When used in conjunction with the Bokeh server, it is possible to
trigger events, updates, etc. based on a user's interaction with
these widgets.

"""
from __future__ import absolute_import

from ...core.properties import abstract
from ..layouts import LayoutDOM


@abstract
[docs]class Widget(LayoutDOM): """ A base class for all interactive widget types. """