<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Sounds good. BTW, does the current purr-data already support
iframes?<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/15/2017 12:25 AM, Jonathan Wilkes
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:334080683.319115.1510723515355@mail.yahoo.com">
<div style="color:#000; background-color:#fff;
font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:13px">
<div>> This is great news, Jonathan. Is this the most
appropriate API for devising the K-12 menu or should I pursue
pure <br>
</div>
<div>> HTML/CSS implementation by altering the canvas HTML
doc?</div>
<div><br>
</div>
<div>Probably the best way is to a) start with a super simple
interface for loading an arbitrary <br>
</div>
<div dir="ltr">page in a canvas's iframe, and then b) leverage
that to load a "k12" iframe which we ship with</div>
<div dir="ltr">Purr Data.</div>
<br>
<div dir="ltr">-Jonathan<br>
</div>
<br clear="none">
<div class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;"
id="yui_3_16_0_ym19_1_1510721273569_7728" class="yahoo_quoted">
<div id="yui_3_16_0_ym19_1_1510721273569_7727"
style="font-family: Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif; font-size: 13px;">
<div id="yui_3_16_0_ym19_1_1510721273569_7726"
style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
16px;">
<div class="y_msg_container">
<div id="yiv6127919936">
<div>
<div>
<div>
<div>-- <br clear="none">
Ivica Ico Bukvic, D.M.A.<br clear="none">
Associate Professor<br clear="none">
Computer Music<br clear="none">
ICAT Senior Fellow<br clear="none">
Director -- DISIS, L2Ork<br clear="none">
Virginia Tech<br clear="none">
School of Performing Arts – 0141<br
clear="none">
Blacksburg, VA 24061<br clear="none">
(540) 231-6139<br clear="none">
<a rel="nofollow" shape="rect"
ymailto="mailto:ico@vt.edu" target="_blank"
href="mailto:ico@vt.edu"
moz-do-not-send="true">ico@vt.edu</a><br
clear="none">
<a rel="nofollow" shape="rect" target="_blank"
href="http://www.performingarts.vt.edu/"
moz-do-not-send="true">www.performingarts.vt.edu</a><br
clear="none">
<a rel="nofollow" shape="rect" target="_blank"
href="http://disis.icat.vt.edu/"
moz-do-not-send="true">disis.icat.vt.edu</a><br
clear="none">
<a rel="nofollow" shape="rect" target="_blank"
href="http://l2ork.icat.vt.edu/"
moz-do-not-send="true">l2ork.icat.vt.edu</a><br
clear="none">
<a rel="nofollow" shape="rect" target="_blank"
href="http://ico.bukvic.net/"
moz-do-not-send="true">ico.bukvic.net</a></div>
</div>
</div>
<div class="yiv6127919936gmail_extra"><br
clear="none">
<div class="yiv6127919936gmail_quote">On Nov 14,
2017 23:05, "Jonathan Wilkes" <<a
rel="nofollow" shape="rect"
ymailto="mailto:jancsika@yahoo.com"
target="_blank"
href="mailto:jancsika@yahoo.com"
moz-do-not-send="true">jancsika@yahoo.com</a>>
wrote:<br clear="none">
<blockquote class="yiv6127919936gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex;">
<div class="yiv6127919936yqt2418193812"
id="yiv6127919936yqt18690">
<div>
<div
style="color:#000;background-color:#fff;font-family:Helvetica
Neue, Helvetica, Arial, Lucida Grande,
sans-serif;font-size:13px;">
<div
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3076">Hi
list,</div>
<div dir="ltr">I've got a branch that
adds a small GUI API that can
incrementally be switched out <br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3253">for
the current "tcl-like" content inside
the various functions of pdgui.js.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3254"><br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3251">Currently,
there are some problems that can crop
up when updates to the GUI get <br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3252">sent
from Pd before the GUI has finished
loading the window. I've got some
stop-gap <br clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3276">existence
checks sprinkled about but that isn't
very maintainable.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3307"><br
clear="none">
</div>
<div dir="ltr">This interface has three
benefits:</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3452">1.
The existence checks are abstracted
away.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3453">2.
The methods return a reference to the
API so commands can be chained
together</div>
<div dir="ltr">3. Non-existent elements
within such a chain will just be
silently skipped without error.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3484"><br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3490">Have
a look here:</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3403"><a
rel="nofollow" shape="rect"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3402"
target="_blank"
href="https://git.purrdata.net/jwilkes/purr-data/tree/gui-refactor"
moz-do-not-send="true">https://git.purrdata.net/
jwilkes/purr-data/tree/gui- refactor</a></div>
<div
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3491"><br
clear="none">
The current Pd<->GUI API can
still be used with this; hence it can
incrementally replace <br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3536">the
current code.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3537"><br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3538">Any
suggestions are welcome.</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3539"><br
clear="none">
</div>
<div dir="ltr"
id="yiv6127919936m_9216100605629737372yui_3_16_0_ym19_1_1510717882840_3540">-Jonathan<br
clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
______________________________
_________________<br clear="none">
L2Ork-dev mailing list<br clear="none">
<a rel="nofollow" shape="rect"
ymailto="mailto:L2Ork-dev@disis.music.vt.edu"
target="_blank"
href="mailto:L2Ork-dev@disis.music.vt.edu"
moz-do-not-send="true">L2Ork-dev@disis.music.vt.edu</a><br
clear="none">
<a rel="nofollow" shape="rect" target="_blank"
href="https://disis.music.vt.edu/listinfo/l2ork-dev"
moz-do-not-send="true">https://disis.music.vt.edu/
listinfo/l2ork-dev</a><br clear="none">
</blockquote>
</div>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>