Last time i wrote about problem with catching mouse events in custom morph embedded in Spec layout.
The reason was very simple: my custom widget didn't resized automatically so events were handled properly only in the small area - the area of base class morph size.

On Thu, 3 Nov 2016 08:46:29 -0700 (PDT)
"Ben Coman [via Smalltalk]" <[hidden email]> wrote:

>
>
> On Thu, Nov 3, 2016 at 10:05 PM, Dimitris Chloupis
> <[hidden email]> wrote:
> > "
> > 3. How to drag-n-drop from the host operation system into pharo application
> > and vice versa? I need to drag-n-drop a list of files from\to file browser."
>
> I don't know the answer to what you ask, but the experiment code I
> attached to [1] may also be of interest.
> Its a couple of years old but I don't think much has changed in that
> area for a while.
> If you drop the attachment into your Monticello package-cache you can
> load it from there.
>
> [1] http://forum.world.st/example-custom-mouse-events-td4773821.html
>
> cheers -ben
>
> > Drag and Drop can be a tricky one because its a Morphic and will require
> > some experience with Morphic. Morph  which is basically the base class of
> > all  gui element 3 relevant methods.
> >
> > a) dropFiles:
> > b) handleDropFiles:
> > c) wantsDropFiles:
>
>
>
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.world.st/Pharo-desktop-UI-tp4921212p4921354.html
>
> To unsubscribe from Pharo desktop UI, visit
�� ������������������,
���������������� ��������������

http://vikenti.ru
������.: +7 (917) 880 25 07 (��. ������������)


View this message in context: Re: Pharo desktop UI
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.