[UI] Maximizing and Restoring Windows with doubleClick: event

Travis Kay tlk at nb.sympatico.ca
Thu Oct 11 01:31:50 UTC 2007


Brad Fuller wrote:
> 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?

Hi Brad,

I'm referring to the area I considered the title bar, its the top part 
of the window between close box and collapse /  expandBox iconic buttons.

Travis
>
>>
>> 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
>>
>
> _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
>



More information about the UI mailing list