Protocol viewer ?
garywork at lineone.net
Tue Sep 25 03:43:47 UTC 2001
Sorry! my mistake. I should have wrote:
but when looking into it I see that the method is coded to use a solid fill.
brings up an error dialogue.
The protocol is so large that I only tried a number of random messages.
I'm curious to know the reason why 'bill size' brought up the error. Is it
because 'size' isn't part of the protocol or some other reason?
I've been bringing up the protocol browser through the menu icon and it is
certainly for the correct class.
----- Original Message -----
From: "Ned Konz" <ned at bike-nomad.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Monday, September 24, 2001 11:52 PM
Subject: Re: Protocol viewer ?
> On Monday 24 September 2001 02:31 pm, Gary McGovern wrote:
> > Thanks for all the replies, but that isn't quite what I was looking for,
> > but almost.
> > for example
> > bill := AdvancedB3DScene new openInWindow.
> > open the protocol browser and there is listed 'addGradientFill'.
> > bill addGradientFill.
> > this doesn't respond. But correct this newbie if he's wrong but isn't
> > addGradientFill not part the AdvancedB3DScene protocol. Isn't it part of
> > the Morphic protocol and not inherited by AdvancdB3DScene class ?
> You're not having problems with the browser; when you do the above, "bill"
> a SystemWindow. Are you interested in the SystemWindow protocol (which is
> what you get when you browse from the first set of halos), or do you want
> AdvancedB3DSceneMorph protocol?
> Note that the above is not the same as:
> bill := AdvancedB3DSceneMorph new.
> bill openInWindow.
> because bill in this case would be an AdvancedB3DSceneMorph, not a
> You could have gotten to the browser from the halos by hitting the yellow
> button twice -- the first gets the SystemWindow, the second gets the
> AdvancedB3DSceneMorph, and then alt-p would bring up _its_ protocol
> If you want to browse the protocol of AdvancedB3DSceneMorph, just select
> name, and hit alt-b, or cmd-b if you have a Mac.
> Then you can point to the class name in the browser, and hit alt-p (or
> to browse the protocol.
> Or you can get the same browser (minus the SystemWindow stuff) from an
> Inspector by hitting alt-p, or choosing it from the menu.
> I don't know why we don't have a keystroke from Workspaces that pops one
> these up, but it would be easy to add.
> Ned Konz
> currently: Stanwood, WA
> email: ned at bike-nomad.com
> homepage: http://bike-nomad.com
More information about the Squeak-dev