[squeak-dev] Flaps aren't dead! They feel happy! (was Re: "More Direct Morphic": The Movie)

Tony Garnock-Jones tonyg at leastfixedpoint.com
Mon May 17 07:15:31 UTC 2021


I use flaps! Specifically, in my experimentation with 
squeak-on-a-cellphone, I put the on screen keyboard in a flap, and open 
the flap automatically whenever keyboard focus switches to something 
non-nil:

	newKeyboardFocus: aMorphOrNil
	  aMorphOrNil
	    ifNil: [OnScreenKeyboardMorph hideFlap]
	    ifNotNil: [(OnScreenKeyboardMorph future: 200) raiseFlap].
	  ^ super newKeyboardFocus: aMorphOrNil.

It works surprisingly well for this. Being able to adjust the height of 
the keyboard by moving the flap, etc.

Cheers,
   Tony



On 5/16/21 8:13 PM, tim Rowledge wrote:
> 
> 
>> On 2021-05-16, at 5:38 AM, Herbert König <herbertkoenig at gmx.net> wrote:
>>
>> What about Projects and  Flaps, can they be added to Cuis?
> 
> I'm actually surprised to see that someone uses these any more; is this still a popular thing? I'd be very happy to see them go away in most respects. I suppose Projects could be argued to have some utility for the 'rescue project' but I don't think I've seen anyone use Flaps in decades.
> 
> 
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Engineers work to a couple of decimal places; Physicists work to an order of magnitude; Astrophysicists work to an order of magnitude in the exponent
> 
> 
> 
> 
> 


More information about the Squeak-dev mailing list