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

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -