[Cuis-dev] [IMPROV] Right mouse clicks for window adjusters.

Gerald Klix cuis.01 at klix.ch
Mon Sep 19 02:39:26 PDT 2022


Hi all, Hi Juan,

Please find attached a small change set
that adds a “right mouse button up”-action
for the WindowEdgeAdjustingMorph.

The action sends the appropriate window resizing message
to the system window.


HTH and Best Regards,

Gerald
-------------- next part --------------
'From Haver 6.0 [latest update: #5485] on 19 September 2022 at 11:35:10 am'!

!WindowEdgeAdjustingMorph methodsFor: 'events' stamp: 'KLG 9/19/2022 11:30:07'!
mouseButton2Up: aMouseButtonEvent localPosition: localEventPosition
	"Some nice window expansions."
	
	self owner ifNotNil: [ :o |
		o perform: ((selector copyUpToLast: $:) copyReplaceAll: 'window' with: 'resize') asSymbol ]! !



More information about the Cuis-dev mailing list