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

Tobias Pape Das.Linux at gmx.de
Mon Mar 30 05:07:54 UTC 2015


Hey

On 29.03.2015, at 23:13, David T. Lewis <lewis at mail.msen.com> wrote:

> On Sun, Mar 29, 2015 at 09:02:48PM +0200, Tobias Pape wrote:
>> 
>> 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 :)
>> 
> 
> Done.
> 
> Pictures of the corresponding Morphic and MVC dialog boxes attached.

Cool! Thank you.

Best
	-Tobias


More information about the Squeak-dev mailing list