[Seaside] about getting all the brush and their interface

Philippe Marschall philippe.marschall at gmail.com
Thu Mar 8 17:48:18 UTC 2007


2007/3/8, stephane ducasse <stephane.ducasse at free.fr>:
> Hi all
>
> I would like to write a small table showing all the brush (and the
> messages used to create them) and their
> api.
>
> How can I find that?
> I looked at WARenderCanvas and superclasses
> Subclasses of WATagBrush and their public api.
>
> Could someone help me if I come up with the table to make sure I do
> not say something idiot?

Sure. In general look at all the senders of #brush: and what instances
they create (plus #text:). For each such selector there is an second
one that takes one argument, a renderable object (something that
implements #renderOn:, a block, a component, a string, ...). For the
brush classes you need to exclude certain selectors like #tag and
#initialize.

Philippe


More information about the Seaside mailing list