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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -