DialogNotebook[{cell1,cell2,…}]
represents a dialog notebook that can be manipulated by the Wolfram System front end.
DialogNotebook
DialogNotebook[{cell1,cell2,…}]
represents a dialog notebook that can be manipulated by the Wolfram System front end.
Details and Options
- CreateWindow takes a DialogNotebook expression and displays it in a separate window.
- If generated as output within a notebook, DialogNotebook displays as an in-cell representation of a dialog notebook.
- DialogNotebook can take any notebook option.
Examples
open all close allBasic Examples (2)
CreateWindow[DialogNotebook[{TextCell["Click OK to close"], DefaultButton[]}]];Make a dialog notebook that accepts input text:
CreateWindow[DialogNotebook[{TextCell["Enter a name: "], InputField[Dynamic[nm], String], DefaultButton[DialogReturn[ret = nm]]}]];Type something in the input field:
Click OK to assign the input to ret:
retScope (1)
Options (3)
WindowFloating (1)
Set to True to make a dialog box that stays on top of other windows:
CreateWindow[DialogNotebook[{TextCell["Click to continue"], DefaultButton[]}, WindowFloating -> True]];WindowMargins (1)
Properties & Relations (2)
CreateDialog[{TextCell["text"], DefaultButton[]}];CreateWindow[DialogNotebook[{TextCell["text"], DefaultButton[]}]];PaletteNotebook and DialogNotebook use different default settings:
Options[CreateWindow[DialogNotebook[{TextCell["Click OK to close"], DefaultButton[]}]], {Editable, Saveable, WindowClickSelect, WindowFloating, WindowMargins}]Options[CreateWindow[PaletteNotebook[{TextCell["Click OK to close"], DefaultButton[]}]], {Editable, Saveable, WindowClickSelect, WindowFloating, WindowMargins}]See Also
CreateDialog DialogInput PaletteNotebook DocumentNotebook NotebookPut
Function Repository: NotebookBlockingDialog
Tech Notes
Related Guides
History
Text
Wolfram Research (2007), DialogNotebook, Wolfram Language function, https://reference.wolfram.com/language/ref/DialogNotebook.html.
CMS
Wolfram Language. 2007. "DialogNotebook." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DialogNotebook.html.
APA
Wolfram Language. (2007). DialogNotebook. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DialogNotebook.html
BibTeX
@misc{reference.wolfram_2026_dialognotebook, author="Wolfram Research", title="{DialogNotebook}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/DialogNotebook.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_dialognotebook, organization={Wolfram Research}, title={DialogNotebook}, year={2007}, url={https://reference.wolfram.com/language/ref/DialogNotebook.html}, note=[Accessed: 15-June-2026]}