bokeh.models.widgets.inputs¶Various kinds of input widgets and form controls.
AutocompleteInput(**kwargs)¶Bases: bokeh.models.widgets.inputs.TextInput
Single-line input widget with auto-completion.
[
  {
    "attributes": {
      "callback": null,
      "completions": [],
      "disabled": false,
      "doc": null,
      "id": "9c8556ab-8df4-4b22-93bb-9229768206e2",
      "name": null,
      "tags": [],
      "title": null,
      "value": null
    },
    "id": "9c8556ab-8df4-4b22-93bb-9229768206e2",
    "type": "AutocompleteInput"
  }
]
DatePicker(**kwargs)¶Bases: bokeh.models.widgets.inputs.InputWidget
Calendar-based date picker widget.
[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "id": "86a8cf55-6c07-4823-b358-7e8db43d62e7",
      "max_date": null,
      "min_date": null,
      "name": null,
      "tags": [],
      "title": null,
      "value": 1440720000000.0
    },
    "id": "86a8cf55-6c07-4823-b358-7e8db43d62e7",
    "type": "DatePicker"
  }
]
DateRangeSlider(**kwargs)¶Bases: bokeh.models.widgets.inputs.InputWidget
Slider-based date range selection widget.
range¶property type: Tuple(RelativeDelta, RelativeDelta)
[TDB]
step¶property type: RelativeDelta
The step between consecutive dates.
[
  {
    "attributes": {
      "arrows": true,
      "bounds": null,
      "callback": null,
      "disabled": false,
      "doc": null,
      "enabled": true,
      "id": "dec25d02-81ae-45ee-b806-394f0309859e",
      "name": null,
      "range": null,
      "step": {},
      "tags": [],
      "title": null,
      "value": null,
      "value_labels": "show",
      "wheel_mode": null
    },
    "id": "dec25d02-81ae-45ee-b806-394f0309859e",
    "type": "DateRangeSlider"
  }
]
InputWidget(**kwargs)¶Bases: bokeh.models.widget.Widget
Abstract base class for input widgets. InputWidget` is not generally useful to instantiate on its own.
coerce_value(val)¶create(*args, **kwargs)¶Only called the first time we make an object, whereas __init__ is called every time it’s loaded
[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "id": "14cf7fc3-50a0-49c7-8403-46422b70201a",
      "name": null,
      "tags": [],
      "title": null
    },
    "id": "14cf7fc3-50a0-49c7-8403-46422b70201a",
    "type": "InputWidget"
  }
]
MultiSelect(**kwargs)¶Bases: bokeh.models.widgets.inputs.Select
Multi-select widget.
create(*args, **kwargs)¶[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "id": "2be13f6d-b37a-4936-a4e9-0d4ffb6db260",
      "name": null,
      "options": [],
      "tags": [],
      "title": null,
      "value": []
    },
    "id": "2be13f6d-b37a-4936-a4e9-0d4ffb6db260",
    "type": "MultiSelect"
  }
]
Select(**kwargs)¶Bases: bokeh.models.widgets.inputs.InputWidget
Single-select widget.
create(*args, **kwargs)¶[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "id": "118c69bd-e3b4-4f89-8c83-3b156bb66a5d",
      "name": null,
      "options": [],
      "tags": [],
      "title": null,
      "value": null
    },
    "id": "118c69bd-e3b4-4f89-8c83-3b156bb66a5d",
    "type": "Select"
  }
]
Slider(**kwargs)¶Bases: bokeh.models.widgets.inputs.InputWidget
Slider-based number selection widget.
[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "end": null,
      "id": "f6598ab3-f879-4110-96d3-f7e9b784a0a9",
      "name": null,
      "orientation": "horizontal",
      "start": null,
      "step": null,
      "tags": [],
      "title": null,
      "value": null
    },
    "id": "f6598ab3-f879-4110-96d3-f7e9b784a0a9",
    "type": "Slider"
  }
]
TextInput(**kwargs)¶Bases: bokeh.models.widgets.inputs.InputWidget
Single-line input widget.
[
  {
    "attributes": {
      "callback": null,
      "disabled": false,
      "doc": null,
      "id": "261675ea-dec3-434c-96ed-ee62b775540c",
      "name": null,
      "tags": [],
      "title": null,
      "value": null
    },
    "id": "261675ea-dec3-434c-96ed-ee62b775540c",
    "type": "TextInput"
  }
]