How to bind a workspace in a bookmorph ?

Hernan Tylim htylim at yahoo.com.ar
Fri Apr 23 16:52:23 UTC 2004


Hi.

Were you trying with a Workspace in a SystemWindow?

If you're not interested in the window's frame you can use this (evaluate it
in a workspace):

(PluggableTextMorph
	on: Workspace new
	text: #contents
	accept: #acceptContents:
	readSelection: nil
	menu: #codePaneMenu:shifted:) openInHand.

And drop it into the BookMorph page.

But if what you want is the workspace and the SystemWindow then you can put
the window over the BookMorph page. Invoke the Workspace halo (alt+click
over the SystemWindow) and click on the red button. Use the 'embed into'
option there to embed the SystemWindow into the Page.

Regards,
Hernán

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of Serge
> Stinckwich
> Sent: Friday, April 23, 2004 1:12 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: How to bind a workspace in a bookmorph ?
>
>
> Hi all,
>
> i'm trying to bind a Workspace inside a page of a BookMorph. How can do
> this ?
>
> --
> Serge Stinckwich                                         -< )
> Université de Caen>CNRS UMR 6072>GREYC>MAD                /~\
> http://purl.org/net/SergeStinckwich                      (/  |
> Smalltalkers do: [:it | All with: Class, (And love: it)] _|_/
>




More information about the Squeak-dev mailing list