Roassal question : adding drop condition to ROElements in a visualization

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

Roassal question : adding drop condition to ROElements in a visualization

verdier
 Hi everyone,

 I am new to this mailing list and to Smalltalk too. If I've made
 something wrong using this mailing list, please just tell me what I have
 to do.

 I am currently making a graphical development tool in Pharo 2.0 (I
 sadly can't go on more recent versions because I'm adding my tool to an
 existing Pharo image).
 I discovered Roassal last week and I decided to use it combined with a
 Glamour GUI. I'm currently stuck with ROInteractions.

 I would like to add drag&drop interaction to my ROElements with
 conditions like we can do with morphs (a ROElement A can be dropped on
 another one B if A is accepted by B).
 Is there an equivalent in Roassal?

 I've seen some ROMorph but I found no documentation about them. Is it a
 good idea to use them and if yes, where can I find some tutorials to
 start with?

 Best regards,

 Frédéric VERDIER.


Reply | Threaded
Open this post in threaded view
|

Re: Roassal question : adding drop condition to ROElements in a visualization

Ben Coman
verdier wrote:

> Hi everyone,
>
> I am new to this mailing list and to Smalltalk too. If I've made
> something wrong using this mailing list, please just tell me what I
> have to do.
>
> I am currently making a graphical development tool in Pharo 2.0 (I
> sadly can't go on more recent versions because I'm adding my tool to
> an existing Pharo image).
> I discovered Roassal last week and I decided to use it combined with a
> Glamour GUI. I'm currently stuck with ROInteractions.
>
> I would like to add drag&drop interaction to my ROElements with
> conditions like we can do with morphs (a ROElement A can be dropped on
> another one B if A is accepted by B).
> Is there an equivalent in Roassal?
>
> I've seen some ROMorph but I found no documentation about them. Is it
> a good idea to use them and if yes, where can I find some tutorials to
> start with?
>
> Best regards,
>
> Frédéric VERDIER.
>
>
>
You might extrapolate from ROExample>>rubberBand.

cheers -ben


Reply | Threaded
Open this post in threaded view
|

Re: Roassal question : adding drop condition to ROElements in a visualization

stepharo
In reply to this post by verdier

On 1/7/14 11:20, verdier wrote:
> Hi everyone,
>
> I am new to this mailing list and to Smalltalk too.

Welcome :)

> If I've made something wrong using this mailing list, please just tell
> me what I have to do.

No ask any question you want.

> I am currently making a graphical development tool in Pharo 2.0 (I
> sadly can't go on more recent versions because I'm adding my tool to
> an existing Pharo image).
Really. Pharo2.0 is starting to get old. And with Pharo 30 you can have
access to athens (vector graphics)

> I discovered Roassal last week and I decided to use it combined with a
> Glamour GUI. I'm currently stuck with ROInteractions.
Check if you cannot move the app to Pharo 30 :).

> I would like to add drag&drop interaction to my ROElements with
> conditions like we can do with morphs (a ROElement A can be dropped on
> another one B if A is accepted by B).
> Is there an equivalent in Roassal?

Alex will answer the questions.

> I've seen some ROMorph but I found no documentation about them. Is it
> a good idea to use them and if yes, where can I find some tutorials to
> start with?

have a look at deep into pharo, there are two chapters on Roassal and
Mondrian.

>
> Best regards,
>
> Frédéric VERDIER.
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Roassal question : adding drop condition to ROElements in a visualization

verdier
In reply to this post by Ben Coman
 On Tue, 01 Jul 2014 21:16:31 +0800, Ben Coman <[hidden email]>
 wrote:

> verdier wrote:
>> Hi everyone,
>>
>> I am new to this mailing list and to Smalltalk too. If I've made
>> something wrong using this mailing list, please just tell me what I
>> have to do.
>>
>> I am currently making a graphical development tool in Pharo 2.0 (I
>> sadly can't go on more recent versions because I'm adding my tool to
>> an existing Pharo image).
>> I discovered Roassal last week and I decided to use it combined with
>> a Glamour GUI. I'm currently stuck with ROInteractions.
>>
>> I would like to add drag&drop interaction to my ROElements with
>> conditions like we can do with morphs (a ROElement A can be dropped on
>> another one B if A is accepted by B).
>> Is there an equivalent in Roassal?
>>
>> I've seen some ROMorph but I found no documentation about them. Is
>> it a good idea to use them and if yes, where can I find some tutorials
>> to start with?
>>
>> Best regards,
>>
>> Frédéric VERDIER.
>>
>>
>>
> You might extrapolate from ROExample>>rubberBand.
>
> cheers -ben
 Thanks a lot for all your answers :)

 The ROExample>>rubberBand is an awesome example to learn how to use
 ROSelection.

 I will try to use it.

 Best regards,

 Frédéric VERDIER