<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Hilaire,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">El 27/10/22 a las 06:51, Hilaire
Fernandes via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:63fc7d28-7f93-fc31-dc4b-22dd8f6b7eab@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi Mariano,</p>
<p>From now I just insert a dedicated button to open an Erudite
book from DrGeo.</p>
<img moz-do-not-send="false"
src="cid:part1.U0BWv5Zq.PYHXQl3G@gmail.com" alt="Erudite"
class="" width="1177" height="451"></blockquote>
<p>It is looking nice :)</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:63fc7d28-7f93-fc31-dc4b-22dd8f6b7eab@free.fr">
<p>Things I want to explore: <br>
</p>
<ul>
<li>a bloc [[[]]] could have several actions (I should check if
it is possible). For example to copy, to render the result,
etc.<br>
</li>
</ul>
</blockquote>
Possible. If all DrGeo blocks have the same set of actions, then it
is easier. In the code I sent to you in last email, note that I
create a button. So, instead of creating one button, N buttons
should be created. So, instead of having a '[[[]]] copyToDrGeo'
action, you would have something like '[[[]]] withDrGeoActions' that
shows the buttons. If you want different set of buttons for each
block, then it can be a bit more difficult.<br>
<blockquote type="cite"
cite="mid:63fc7d28-7f93-fc31-dc4b-22dd8f6b7eab@free.fr"><br>
<ul>
<li>replacing the action text button by a small icon with
dedicated tool tip, it will be less verbose, especialy when
combining several command. Is it possible?</li>
</ul>
</blockquote>
Should be possible. Note that I insert text with a text action .
Instead of that, I would try to insert a Form (the icon) and attach
a tooltip text and click handler on it. I will have a look at that.<br>
<blockquote type="cite"
cite="mid:63fc7d28-7f93-fc31-dc4b-22dd8f6b7eab@free.fr">
<ul>
<li>How to better integrate Erudite in a dedicated pane attached
to another window, to have integrated help without overlapping
windows (you know kids tend to lost the track of the windows
they open)<br>
</li>
</ul>
</blockquote>
<p>It is unfortunate that windows in Cuis are not wrappers. If that
had been the case, then you could have just embeded the Erudite
reader using addMorph: . But you can't atm, because it is a
subclass of SystemWindow. I think the easier way would be for me
to provide you with a book reader morph that is not a subclass of
SystemWindow, then you can use addMorph: to integrate as a panel.</p>
<p>So, I'll try both the icons thing and the panel reader and get
back to you with some more code.<br>
</p>
<p>Cheers,</p>
<p> Mariano<br>
</p>
</body>
</html>