<br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 7:16 AM, laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<div><br></div><div>I plan to go on developping on my project LearningWriting I post on sugar gitorious a few months ago.</div><div>But, as I'm facing some developping difficulties, I woul like to have your suggest about some details :</div>
<div><br></div><div><ol><li>My program, in its current state, (parenthesis : no internalization yet), just lets a user draw whatever he wants on a kind of blackboard with just the chalck, and whenever he want, he can replay the animation. But he can configure the point size and the animation speed size.</li>
</ol></div></blockquote><div><br>Nice. Would be better have a entry in the toolbar to set the velocity 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 we did in <a href="http://wiki.sugarlabs.org/go/Design_Team/ToolbarCatalog">http://wiki.sugarlabs.org/go/Design_Team/ToolbarCatalog</a>)<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><ol>
<li>The main purpose of this program, is to let teachers make their own letters/digits sets, or download and install existing sets. I think a tarball format is the best archive format purposal. I know Python reduce the complexity for creating such archives, but what I wonder is if I will be able to let user easily import/export archives to/from a usb key (and/or the journal). I have a copy of the activity guideleness, and I must read it further that I've done before, but do you think this use case can be easily implemented ?</li>
</ol></div></blockquote><div><br>You can save easily the data in a json format and assign to the activity 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 journal to a pendrive,<br>
remember the activity should be installed (with a .xo) to sugar recognize the mimetype.<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<ol>
<li>Should I use Python3 ? Should I try to program for GTK 3 ?</li></ol></div></blockquote><div>No. You should no use python 3, sugar is not ported and will not in the near future.<br>GTK 3 is not needed right now, but if you plan use it in 6 months/1 year, 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></div></div>