[Pharo-project] [COTDC] 44 - ColorChanged

laurent laffont laurent.laffont at gmail.com
Fri Apr 8 16:48:18 CEST 2011


I'm a Announcement used to indicate a color has changed.

Example:

(ColorSelectorDialogWindow new
title: 'Choose a color';
 open;
announcer) on: ColorChanged  do: [:ann|
     UIManager inform: 'Selected color: ', ann newColor asString].


Laurent

On Thu, Apr 7, 2011 at 10:27 PM, laurent laffont
<laurent.laffont at gmail.com>wrote:

> Today:  ColorChanged
>
>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> Laurent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110408/b0d7ea98/attachment.htm>


More information about the Pharo-project mailing list