[squeak-dev] Re: The Trunk: ToolBuilder-Kernel-dtl.69.mcz
David T. Lewis
lewis at mail.msen.com
Sun Mar 29 21:13:03 UTC 2015
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.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MVC.png
Type: image/png
Size: 8687 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150329/93565aa8/MVC-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Morphic.png
Type: image/png
Size: 8871 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150329/93565aa8/Morphic-0001.png
More information about the Squeak-dev
mailing list
|