SelectionMorph send to back

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SelectionMorph send to back

Stephan Eggermont-3
4.6-14191 (and older, and all Pharo's)
When selecting a few windows with shift-drag, sending them to back MNUs

SelectionMorph might behave better with an empty implementation
of goBehind instead of the current one from Morph

SelectionMorph>>goBehind
     owner addMorphNearBack: self.

Stephan

Reply | Threaded
Open this post in threaded view
|

Re: SelectionMorph send to back

Karl Ramberg
SelectionMorph does not have a owner.
Method should probably be something like

SelectionMorph>>goBehind
   ActiveWorld addMorphNearBack: self.

Karl

On Thu, May 7, 2015 at 8:48 PM, stephan <[hidden email]> wrote:
4.6-14191 (and older, and all Pharo's)
When selecting a few windows with shift-drag, sending them to back MNUs

SelectionMorph might behave better with an empty implementation
of goBehind instead of the current one from Morph

SelectionMorph>>goBehind
    owner addMorphNearBack: self.

Stephan




Reply | Threaded
Open this post in threaded view
|

Re: SelectionMorph send to back

Stephan Eggermont-3
On 07/05/15 21:05, karl ramberg wrote:
> SelectionMorph does not have a owner.
> Method should probably be something like
>
> SelectionMorph>>goBehind
>     ActiveWorld addMorphNearBack: self.

Does it actually need to do anything?
It responds true to wantsToBeTopmost.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: SelectionMorph send to back

Nicolai Hess


2015-05-08 13:28 GMT+02:00 Stephan Eggermont <[hidden email]>:
On 07/05/15 21:05, karl ramberg wrote:
SelectionMorph does not have a owner.
Method should probably be something like

SelectionMorph>>goBehind
    ActiveWorld addMorphNearBack: self.

Does it actually need to do anything?
It responds true to wantsToBeTopmost.

delegate to the selected items?

SelectionMorph>>goBehind

    self selectedItems do:[:d | d goBehind].


 

Stephan