[squeak-dev] Re: The Trunk: ToolBuilder-Kernel-dtl.69.mcz

David T. Lewis lewis at mail.msen.com
Sun Mar 29 18:26:24 UTC 2015


On Sun, Mar 29, 2015 at 09:09:27AM -0700, Marcel Taeumel wrote:
> The correct interface seems to be #confirm:title:. ;-) And this is already
> implemented.
>

You are right, #confirm:title: would be better than #confirm:label: and it
is already implemented in UserDialogBoxMorph for Morphic.

UIManager currently supports these three methods:

  UIManager default confirm: 'Do you like chocolate?'
  UIManager default confirm: 'Do you like chocolate?' orCancel: [self halt].
  UIManager default confirm: 'Do you like chocolate?' trueChoice: 'trueButtonLabel' falseChoice: 'falseButtonLabel'.

If we add #confirm:title: to UIManager, then we should probably do it for
all three methods.

Dave
 


More information about the Squeak-dev mailing list