To make a notification-, error- or question-dialog, class Dialog or
class DialogUserInterface can be used. Both classes contain many
class-side methods to raise the most common dialog types. Here are two
examples of usage:
DialogUserInterface warn: 'We have a problem!'
Dialog warn: 'We have a problem!'
I have a few questions regarding dialogs in Widgetry:
Is it so that DialogUserInterface is to be used with Widgetry?
Wouldn't it be better if there was one class per type (notification,
error, question dialogs, etc) of dialog? If the system was designed
like this, it would be easier to extend the dialogs.
Will there be any API to add (window) icon and graphics (for example a
question mark or an exclamation mark) to the dialogs?
Are there any plans to support platform native dialogs too? (Here are
details on dialog boxes in Vista:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/UxGuide/UXGuide/Windows/DialogBoxes/DialogBoxes.asp)
Kind regards
Runar Jordahl