Squeak Morphic

Ned Konz ned at squeakland.org
Wed May 19 18:11:32 UTC 2004


Daria Spescha wrote:
> Hello!
> 
>  
> 
> I’m sorry I have again two beginner’s questions.
> 
> First, I want to generate a flap similar to the flap „Connectors“ from 
> the connectors package. Can somebody tell me where I can find the source 
> code for this (including the source code for making the buttons for 
> generating the connectors and other elements)?

Connectors includes a kind of flap that uses special buttons that copy 
prototypes (or trigger other actions).

Hernan already pointed out the place that the flap is generated. The 
buttons themselves are instances of NCMakerButton.

> Second, I want to add some Morphs to a ScrollPane such that the Morph is 
> not visible and the ScrollPane becomes scrollabe if the Morph is outside 
> the (at the moment) visible range of the ScrollPane. How can I do this?

You can have some morph (perhaps the scroll pane?) with behavior such 
that when it is scrolled or resized (or its children are moved) it hides 
or shows the scroll bar.




More information about the Squeak-dev mailing list