Dialogs in Widgetry

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dialogs in Widgetry

Runar Jordahl
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

Reply | Threaded
Open this post in threaded view
|

Re: Dialogs in Widgetry

Samuel S. Shuster <sames@interaccess.com>
Runar,

>Is it so that DialogUserInterface is to be used with Widgetry?

Partially, yes. Mostly because Dialog and SimpleDialog belong to Wrapper, and
will not be part of Widgetry

>Wouldn't it be better if there was one class per type (notification,
>error, question dialogs, etc) of dialog?

Probably.

>Will there be any API to add (window) icon and graphics (for example a
>question mark or an exclamation mark) to the dialogs?

Probably not, but I don't know. The dialogs that exist are simply the same as
the Wrapper dialogs. Beyond those, the Tools group is in charge, so you'd have
to ask them.

>Are there any plans to support platform native dialogs too?

Beyond the file dialogs, not at this time.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, GUI Project
Smalltalk Enables Success -- What Are YOU Using?