[UI] Maximizing and Restoring Windows with doubleClick: event

Brad Fuller bradallenfuller at yahoo.com
Thu Oct 11 00:06:11 UTC 2007


Travis Kay wrote:
> Hello All,
>
> Has anyone on the UI team given thought to implementing SystemWindow 
> maximizing and restoring upon doubleClick: event ? I've added this to 
> my image and find it a rather handy. This type of behavior is 
> typically expected from non-squeakers.

Really? Most collapse/expand is either on the Min/Max icon (single 
click) or on the taskbar (single click).
Are you referring to another click area?

>
> In my Squeak 3.9 7067 image with Pinesoft-Widgets-gvc.242.mcz loaded, 
> I added;
>
> SystemWindow>>mouseDown: evt
>    "first statement before Pinesoft enhancements"
>    evt hand waitForClicksOrDrag: self event: evt.
>
> and
>
> SystemWindow>>doubleClick: event
>    self expandBoxHit
>
> I would have attached a change set but my file out seems to be broken 
> in this case. (header, no code)
>
> Travis
> _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
>



More information about the UI mailing list