<div dir="auto"><div>Yes, something like that.<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Feb 10, 2019, 8:24 PM Walter Bender <<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 9:19 PM Alejandro García <<a href="mailto:tonadevv@gmail.com" target="_blank" rel="noreferrer">tonadevv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>I was thinking something like calling a GtkAdapter.Label(...) instead of Gtk.Label (...), or a WebKitAdapter.emit_signal (...) instead of WebKit2.emit_signal (...). </div><div dir="auto"><br></div><div dir="auto">Are these examples more clear of what I'm trying to say? </div><div dir="auto"><br></div><div dir="auto">The CollabWrapper and SugarGame projects are closer to what I'm trying to say. But not the SugarToolkit, as it creates some widgets, but if the developer needs more, he will use the Gtk library directly.</div></div></blockquote><div><br></div><div>Maybe you are thinking more of something like this:</div><div><br></div><div><a href="https://github.com/sugarlabs/cardsort/blob/master/toolbar_utils.py" target="_blank" rel="noreferrer">https://github.com/sugarlabs/cardsort/blob/master/toolbar_utils.py</a></div><div><br></div><div>-walter </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Sun, Feb 10, 2019, 7:54 PM Alejandro García <<a href="mailto:tonadevv@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">tonadevv@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Ok. Thanks for the clarification.<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Feb 10, 2019, 7:44 PM James Cameron <<a href="mailto:quozl@laptop.org" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">quozl@laptop.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Examples of adapters used by Sugar activities are;<br>
<br>
- Sugar Toolkit for GTK 3, for Python activities,<br>
<a href="https://github.com/sugarlabs/sugar-toolkit-gtk3" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3</a><br>
(assumed to be preinstalled on a system that runs Sugar)<br>
<br>
- Sugargame, an integration of GTK 3 and Pygame,<br>
<a href="https://github.com/sugarlabs/sugargame" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/sugarlabs/sugargame</a><br>
(kept as copies of files in activity source code)<br>
<br>
- CollabWrapper, a simplification of Telepathy,<br>
<a href="https://github.com/sugarlabs/collabwrapper" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/sugarlabs/collabwrapper</a><br>
(kept as copies of files in activity source code)<br>
<br>
- Sugar Web for JavaScript activities,<br>
<a href="https://github.com/sugarlabs/sugar-web" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web</a><br>
(kept as copies of files in activity source code)<br>
<br>
We also call them Python modules or Sugar components.<br>
<br>
Please learn each of these adapters fully.<br>
<br>
We already have all the adapters needed, but if you have an idea for a<br>
new one, please specify it and show how it would simplify maintenance.<br>
<br>
Also, there are some common code patterns in activities that could be<br>
added to the above adapters.<br>
<br>
A disadvantage of adapters is where they are packaged for Linux<br>
distributions, such as the Toolkit, because then API version<br>
dependencies have to be considered. (e.g. if we have to add a feature<br>
to the Toolkit to support a new release of the Chat activity, then<br>
those new releases of the Chat activity won't be able to be used on<br>
old releases of the Toolkit.)<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div></div></div>
</blockquote></div></div></div>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank" rel="noreferrer">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-1361489060779472754gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank" rel="noreferrer"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank" rel="noreferrer"><font></font></a><br></div></div></div></div></div>
</blockquote></div></div></div>