Thank you, I'll have a look at it :)<br><br><div class="gmail_quote">Le 9 mars 2012 13:55, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a>></span> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Mar 9, 2012 at 7:49 AM, laurent bernabe<br>
<<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>> wrote:<br>
> Hello again,<br>
><br>
> What is the best way to get started with the new toolbars ?<br>
><br>
> Is there an activity which source simply demonstrates the JSON+MIME<br>
> import/export feature ?<br>
<br>
Maybe look at <a href="http://git.sugarlabs.org/notes" target="_blank">http://git.sugarlabs.org/notes</a><br>
<br>
-walter<br>
><br>
> Thanks<br>
><br>
> Le 9 mars 2012 12:05, laurent bernabe <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>> a écrit :<br>
><br>
>> For the toolbar entry : i will do the effort to implement it :)<br>
>><br>
>> Thank you for the JSON advice. I also think that was because i did not<br>
>> install my activity that the mime type was not recognized.<br>
>><br>
>> So, I'll keep on using cairo for drawings.<br>
>><br>
>><br>
>> Thank you very much ^^<br>
>><br>
>> Le 9 mars 2012 11:46, Gonzalo Odiard <<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>> a écrit :<br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Mar 9, 2012 at 7:16 AM, laurent bernabe<br>
>>> <<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hello everyone,<br>
>>>><br>
>>>> I plan to go on developping on my project LearningWriting I post on<br>
>>>> sugar gitorious a few months ago.<br>
>>>> But, as I'm facing some developping difficulties, I woul like to have<br>
>>>> your suggest about some details :<br>
>>>><br>
>>>> My program, in its current state, (parenthesis : no internalization<br>
>>>> yet), just lets a user draw whatever he wants on a kind of blackboard with<br>
>>>> just the chalck, and whenever he want, he can replay the animation. But he<br>
>>>> can configure the point size and the animation speed size.<br>
>>><br>
>>><br>
>>> Nice. Would be better have a entry in the toolbar to set the velocity<br>
>>> instead of using a window. Or better use a gtk.HScale<br>
>>> And please use the "new" toolbars (present since sugar 0.86, see the work<br>
>>> we did in <a href="http://wiki.sugarlabs.org/go/Design_Team/ToolbarCatalog" target="_blank">http://wiki.sugarlabs.org/go/Design_Team/ToolbarCatalog</a>)<br>
>>><br>
>>>><br>
>>>> The main purpose of this program, is to let teachers make their own<br>
>>>> letters/digits sets, or download and install existing sets. I think a<br>
>>>> tarball format is the best archive format purposal. I know Python reduce the<br>
>>>> complexity for creating such archives, but what I wonder is if I will be<br>
>>>> able to let user easily import/export archives to/from a usb key (and/or the<br>
>>>> journal). I have a copy of the activity guideleness, and I must read it<br>
>>>> further that I've done before, but do you think this use case can be easily<br>
>>>> implemented ?<br>
>>><br>
>>><br>
>>> You can save easily the data in a json format and assign to the activity<br>
>>> a mimetype, (like you are doing)<br>
>>> then the files will be recognized in the journal or in a external device.<br>
>>> If you can't see the extension assigned when you copy a file from the<br>
>>> journal to a pendrive,<br>
>>> remember the activity should be installed (with a .xo) to sugar recognize<br>
>>> the mimetype.<br>
>>>><br>
>>>> Should I use Python3 ? Should I try to program for GTK 3 ?<br>
>>><br>
>>> No. You should no use python 3, sugar is not ported and will not in the<br>
>>> near future.<br>
>>> GTK 3 is not needed right now, but if you plan use it in 6 months/1 year,<br>
>>> will be ok<br>
>>> (but can do your development a little more difficult.<br>
>>> You are using cairo to draw, then porting to gtk3 will be easy.<br>
>>><br>
>>> Gonzalo<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>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
</font></span></blockquote></div><br>