<div dir="ltr">Hello,<div><br></div><div>thank you. So I'll have a look at Palette Activity and try to use palettes in my code.</div><div><br></div><div>(Where is the ActivityPalette code hosted ? I've looked at <a href="http://wiki.sugarlabs.org/go/Activities">http://wiki.sugarlabs.org/go/Activities</a>, but it has no reference on the ActivityPalette).</div>
<div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-22 21:50 GMT+01:00 Manuel Quiñones <span dir="ltr"><<a href="mailto:manuq@laptop.org" target="_blank">manuq@laptop.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi laurent,<br>
<br>
lionel and i discussed secondary toolbars a while ago.<br>
we agreed in not implement them for web because we think that palettes<br>
are more convenient.<br>
<br>
in web you can easily make any kind of palette. just inherit Palette<br>
like ActivityPalette does.<br>
<br>
also secondary toolbars make the activity main area [1] change its<br>
height when it appears and dissapears, and i find that very<br>
problematic.<br>
<br>
[1] named canvas, not to confuse with html <canvas> tag<br>
<br>
2014-03-22 17:28 GMT-03:00 laurent bernabe <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>>:<br>
> I've just realised that I can do without a 3rd toolbar :<br>
><br>
> ___________________________________________<br>
> Theme_Lesson or Them_Exercice => T1_LEsson, T1_exercice, T2_lesson ...<br>
> |<br>
> Piece_kind => pawn, knight ... king<br>
> _______________________________________________<br>
><br>
> That way I can save a toolbar :).<br>
><br>
> I still have to find what is the best way to handle the second toolbar and<br>
> its dynamic content.<br>
><br>
> Regards<br>
><br>
><br>
> 2014-03-22 21:24 GMT+01:00 laurent bernabe <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>>:<br>
><br>
>> Hello,<br>
>><br>
>> thank you for your answer and your idea.<br>
>><br>
>> So I can add, for example, 10 versions of the toolbar overlapping just<br>
>> below the main-toolbar, and to show only one toolbar (or zero) at one time.<br>
>> Or maybe, my idea is the wrong way to do ?<br>
>><br>
>> As for the third dynamic toolbar, I am still wondering why Gonzola Odiard<br>
>> said that it is probably a bad idea by design.<br>
>><br>
>> Indeed, I would like to split the learning in 4 steps, then in each step,<br>
>> there is a kind of piece to choose in the second toolbar : and the third is<br>
>> choosing either a lesson or an exercice.<br>
>><br>
>> Theme<br>
>> |<br>
>> Piece<br>
>> |<br>
>> Lesson or exercice<br>
>><br>
>><br>
>> Regards<br>
>><br>
>><br>
>> 2014-03-22 21:13 GMT+01:00 Sam Parkinson <<a href="mailto:sam.parkinson3@gmail.com">sam.parkinson3@gmail.com</a>>:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> Couldn't you just create another toolbar div and .show and .hide when<br>
>>> needed?<br>
>>><br>
>>> Sam<br>
>>><br>
>>> On Mar 23, 2014 6:01 AM, "laurent bernabe" <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Thank you for your answer. So I'll try to do without them.<br>
>>>><br>
>>>> Regards<br>
>>>><br>
>>>><br>
>>>> 2014-03-22 19:59 GMT+01:00 Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>>:<br>
>>>>><br>
>>>>> Sugar implement a primary and a secondary toolbar, attached to a<br>
>>>>> button.<br>
>>>>> You can't add a third. And by design is probably a bad idea.<br>
>>>>> I think in the web activities, the secondary toolbars are not<br>
>>>>> implemented yet.<br>
>>>>><br>
>>>>> Gonzalo<br>
>>>>><br>
>>>>><br>
>>>>> On Sat, Mar 22, 2014 at 8:22 AM, laurent bernabe<br>
>>>>> <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>> wrote:<br>
>>>>>><br>
>>>>>> Hello everyone,<br>
>>>>>><br>
>>>>>> I saw that a Python activity, Turtle art, has two toolbars (a main<br>
>>>>>> toolbar, and a personalized toolbar just below, which content is set by the<br>
>>>>>> selection of the main toolbar). I would like to do something like this<br>
>>>>>> inside my LearningChess activity :<br>
>>>>>><br>
>>>>>> Is this easy to do in sugar web activity ?<br>
>>>>>> Can I even go further : I mean use three toolbars instead of 2 (one<br>
>>>>>> main toolbar, the second rely on the choice of the main toolbar, and the<br>
>>>>>> third on the choice of the second) ?<br>
>>>>>> Is my second request suitable for an Android adaptation ? (As I know<br>
>>>>>> there are experimentations in order to port standard activities to Android).<br>
>>>>>><br>
>>>>>><br>
>>>>>> Regards<br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> Sugar-devel mailing list<br>
>>>>>> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
>>>>>> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Gonzalo Odiard<br>
>>>>><br>
>>>>> SugarLabs - Learning Software for children<br>
>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Sugar-devel mailing list<br>
>>>> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
>>>> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
>>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
.. manuq ..<br>
</font></span></blockquote></div><br></div>