[squeak-dev] Re: The Trunk: ToolBuilder-Kernel-dtl.69.mcz
Tobias Pape
Das.Linux at gmx.de
Sun Mar 29 19:02:48 UTC 2015
On 29.03.2015, at 20:26, David T. Lewis <lewis at mail.msen.com> wrote:
> 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.
Ack :)
Best
-Tobias
More information about the Squeak-dev
mailing list
|