簡體   English   中英

如何在smalltalk中顯示消息框? (吱)

[英]How to show a message box in smalltalk? (squeak)

如何在Smalltalk中使用單個“確定”按鈕在消息框對話框中顯示消息?

在Squeak中,您將編寫

 UIManager default inform: 'This is the standard way'.

您甚至可以使用self inform: 'Convenience method' #inform: self inform: 'Convenience method'來告訴每個對象這樣做,如#inform:在Object上定義以執行aka.nice描述的操作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM