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(BaseBox)

A BaseBox 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(BaseBox))

Either a message to be displayed by this dialog or a BaseBox 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,
  "id": "d633fe79-9434-46a5-84cb-f47f168a776f",
  "name": null,
  "tags": [],
  "title": "",
  "visible": false
}