bokeh.models.widgets.dialogs

Various kinds of dialog and message box widgets.

class Dialog(**kwargs)

Bases: bokeh.models.widgets.widget.Widget

Simple dialog box with string message.

buttons

property type: buttons:List(Instance(Button))

A list of buttons to be placed on the bottom of the dialog.

buttons_box

property type: buttons_box:Instance(Box)

A Box with buttons to be used as dialog footer.

closable

property type: closable:Bool

Whether this dialog is closable or not.

content

property type: content:Either(String, Instance(Box))

Either a message to be displayed by this dialog or a Box to be used as dialog body.

title

property type: title:String

The title of the dialog widget.

visible

property type: visible:Bool

Whether this dialog is visible or not.

JSON Prototype
{
  "buttons": [],
  "buttons_box": null,
  "closable": true,
  "content": "",
  "disabled": false,
  "height": null,
  "id": "133bb8f9-d12f-4edf-b97c-9a4554bb5578",
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "title": "",
  "visible": false,
  "width": null
}