Excellent example :-) Alexandre
> On Nov 10, 2015, at 6:25 PM, Peter Uhnák <i.uh...@gmail.com> wrote: > > > > On Tue, Nov 10, 2015 at 9:56 PM, Dimitris Chloupis <kilon.al...@gmail.com> > wrote: > Am I correct to assume that I can easily embed Roassal visualizations inside > morphs ? Also where is the official documentation ? is this still it ? > > http://agilevisualization.com/#book > > Yes. > > Roassal itself is embedded inside a TRMorph, which is a ...morph. :) > > For example: > > [[[ > |container button view es e| > > view := RTView new. > container := BorderedMorph new. > (button := PluggableButtonMorph new) > label: 'I am a morph'; > actionBlock: [ (view elements, view edges) do: [ :each | each color: > Color random. each signalUpdate ] ]. > > es := RTBox new color: Color black; size: 50; elementsOn: #(1 2). > e := RTLine new color: Color black; edgeFrom: es first to: es second. > view addAll: es; add: e. > es second translateBy: 100 @ 200. > > container addMorph: view canvas buildMorph. > container addMorph: button. > > container openInWindow. > ]]] > > Peter > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.