Thanks! I'll make an effort to include these in the almanac. <br><br>Faisal<br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 10:31 PM, Martin Sevior <<a href="mailto:martines@unimelb.edu.au">martines@unimelb.edu.au</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Faisal,<br>
You might want to gather together the documentation we wrote<br>
for abiwidget which explains how to embed the collaborative Rich Text<br>
widget (as used by write) in python programs.<br>
<br>
The links are on our wiki here:<br>
<br>
<br>
<a href="http://www.abisource.com/wiki/AbiWidget" target="_blank">http://www.abisource.com/wiki/AbiWidget</a><br>
<br>
<a href="http://www.abisource.com/wiki/PyAbiWord" target="_blank">http://www.abisource.com/wiki/PyAbiWord</a><br>
<br>
Cheers<br>
<br>
Martin<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Fri, 2008-06-13 at 17:34 -0400, Faisal Anwar wrote:<br>
> Hello All,<br>
><br>
> As many of you know, I'm writing up a sugar almanac to help new<br>
> sugar/python developers get up and running with creating useful<br>
> activities. I will try to send frequent updates in terms of what has<br>
> been added. In addition to using the documentation, I'd appreciate it<br>
> if people familiar with the different modules I am writing can send<br>
> any better or alternative code examples to the ones that I have<br>
> written. Review and feedback is ALWAYS appreciated.<br>
><br>
> This week, I have updated the section on how to do many of the basic<br>
> activity creation tasks (see<br>
> <a href="http://wiki.laptop.org/go/Sugar.activity.activity" target="_blank">http://wiki.laptop.org/go/Sugar.activity.activity</a>). In addition, I've<br>
> provided some basic examples of how to read and write your activity to<br>
> the datastore so that it can be resumed later from the journal. Below<br>
> is a list of the different how to's contained in this section of the<br>
> almanac. Hope some of these ring a bell in terms of what you all are<br>
> trying to get done!<br>
> * 1 Helper Functions in sugar.activity.activity<br>
> * 1.1 How do I get the file path for my activity bundle?<br>
> * 1.2 How do I get the file path where I can write files<br>
> programmatically?<br>
> * 1.3 How do I get the name of my activity?<br>
> * 2 Class: Activity<br>
> * 2.1 How do I set the canvas (main work area) of my<br>
> activity to a specific UI widget?<br>
> * 2.2 What are activity id's? How do I obtain the<br>
> activity id for an instance of my activity?<br>
> * 2.3 How do I create a new activity that is derived<br>
> from the base Activity class?<br>
> * 2.4 How do I implement a write_file method for my<br>
> activity in order to persist my activity in the<br>
> journal?<br>
> * 2.5 How do I implement a read_file method for my<br>
> activity so that I can resume activities from the<br>
> sugar journal?<br>
> * 3 Class: ActivityToolbox (Toolbox)<br>
> * 3.1 What is the standard toolbox needed in most<br>
> activities and how do I create it?<br>
> * 3.2 How do I get a handle on the standard activity<br>
> toolbar given an ActivityToolbox object?<br>
> * 4 Class: ActivityToolbar (gtk.Toolbar)<br>
> * 5 Class: EditToolbar (gtk.Toolbar)<br>
> * 5.1 How do I add a standard edit toolbar to my<br>
> activity?<br>
> * 5.2 How do I hide a button in the edit toolbar that is<br>
> not needed in my activity?<br>
> * 5.3 How do I disable and enable a button on the edit<br>
> toolbar?<br>
><br>
> You can also find the homepage for the documentation at<br>
> <a href="http://wiki.laptop.org/go/Sugar-api-doc" target="_blank">http://wiki.laptop.org/go/Sugar-api-doc</a>.<br>
><br>
><br>
> Best,<br>
><br>
><br>
> Faisal<br>
</div></div>> _______________________________________________<br>
> Sugar mailing list<br>
> <a href="mailto:Sugar@lists.laptop.org">Sugar@lists.laptop.org</a><br>
> <a href="http://lists.laptop.org/listinfo/sugar" target="_blank">http://lists.laptop.org/listinfo/sugar</a><br>
<br>
</blockquote></div><br>