smalltalk - How do I call a Yes / No / Cancel dialog in Pharo 4.0? -
this question related how ask user file name?
the issue of 'standard dialogs'.
how call yes / no / cancel dialog , how call alert in pharo 4.0?
you can use
uimanager default question: 'foo' title: 'bar'.
which answers true
yes, false
no, , nil
cancel.
similarly, alert can shown this:
uimanager default alert: 'hello world'.
Comments
Post a Comment