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 Docs

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.

class Widget(**kwargs)

Bases: bokeh.models.layouts.LayoutDOM

A base class for all interactive widget types.

JSON Prototype
{
  "disabled": false,
  "height": null,
  "id": "04fd3184-899b-4fac-b58d-2cd00dc32ba5",
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "width": null
}