Pharo by visualization: Adding a title to a Roassal map visualization

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

Pharo by visualization: Adding a title to a Roassal map visualization

Offray
Hi,

First sorry for the crossposting I don't know where list is better to
post this question.

I think that I have found my way to learning Pharo/Smalltalk and to keep
it relevant in my day to day life and is through visualization. Details
are here:

http://mutabit.com/offray/static/blog/output/posts/pharo-by-visualization.html

So, as an small test I did a small visualization that you can find here:

http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/galleries/objetos/periodismo-datos-ejemplo-crudo-resaca2.png

I would like to add a title to the map image. ¿How can I made this?

Cheers,

Offray

Reply | Threaded
Open this post in threaded view
|

Re: Pharo by visualization: Adding a title to a Roassal map visualization

Nicolai Hess
2014-06-24 19:57 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi,

First sorry for the crossposting I don't know where list is better to post this question.

I think that I have found my way to learning Pharo/Smalltalk and to keep it relevant in my day to day life and is through visualization. Details are here:

http://mutabit.com/offray/static/blog/output/posts/pharo-by-visualization.html

So, as an small test I did a small visualization that you can find here:

http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/galleries/objetos/periodismo-datos-ejemplo-crudo-resaca2.png

I would like to add a title to the map image. ¿How can I made this?

Cheers,

Offray



A title for the TRMorph window?
....
mapa open setLabel:'Map'
Reply | Threaded
Open this post in threaded view
|

Re: Pharo by visualization: Adding a title to a Roassal map visualization

Clément Béra
In reply to this post by Offray
Hum I use the old version of roassal not the new one but I think you can replace 

mapa := RTMetricMap new

by:

mapa := RTMetricMap titled: 'myTitle'.

Does it work ?

Else perhaps

mapa := RTMetricMap new title: 'myTitle'

??


2014-06-24 19:57 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi,

First sorry for the crossposting I don't know where list is better to post this question.

I think that I have found my way to learning Pharo/Smalltalk and to keep it relevant in my day to day life and is through visualization. Details are here:

http://mutabit.com/offray/static/blog/output/posts/pharo-by-visualization.html

So, as an small test I did a small visualization that you can find here:

http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/galleries/objetos/periodismo-datos-ejemplo-crudo-resaca2.png

I would like to add a title to the map image. ¿How can I made this?

Cheers,

Offray


Reply | Threaded
Open this post in threaded view
|

Re: Pharo by visualization: Adding a title to a Roassal map visualization

Offray
In reply to this post by Nicolai Hess
Thanks Clément and Nicolai.

    setLabel: 'My Label'

did the trick.

Cheers,

Offray

On 24/06/14 13:42, Nicolai Hess wrote:

> 2014-06-24 19:57 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]
> <mailto:[hidden email]>>:
>
>      Hi,
>
>      First sorry for the crossposting I don't know where list is better to post
>      this question.
>
>      I think that I have found my way to learning Pharo/Smalltalk and to keep it
>      relevant in my day to day life and is through visualization. Details are here:
>
>      http://mutabit.com/offray/__static/blog/output/posts/__pharo-by-visualization.html
>      <http://mutabit.com/offray/static/blog/output/posts/pharo-by-visualization.html>
>
>      So, as an small test I did a small visualization that you can find here:
>
>      http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/galleries/__objetos/periodismo-datos-__ejemplo-crudo-resaca2.png
>      <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/galleries/objetos/periodismo-datos-ejemplo-crudo-resaca2.png>
>
>      I would like to add a title to the map image. ¿How can I made this?
>
>      Cheers,
>
>      Offray
>
>
>
> A title for the TRMorph window?
> ....
> mapa open setLabel:'Map'
>