Hi Victor, many activities would use a gtk.DrawingArea which can be drawn on using Cairo. Or else a container widget like gtk.VBox or gtk.HBox to which other widgets will be added.<br><br>You can find a complete PyGTK reference here:
<a href="http://www.pygtk.org/pygtk2reference/">http://www.pygtk.org/pygtk2reference/</a><br><br>Note that some activities use types referred to as HippoCanvas etc. The Hippo widgets are pretty much deprecated in favor of standard PyGTK widgets (see the Hippo wiki page).
<br><br>Best,<br>Wade<br><br><div class="gmail_quote">On Jan 15, 2008 5:12 AM, Victor Lazzarini <<a href="mailto:Victor.Lazzarini@nuim.ie">Victor.Lazzarini@nuim.ie</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 everyone,<br><br>what is the type expected by Activity.set_canvas(). Is there a<br>general-purpose canvas widget for structured graphics in<br>sugar (a la Tkinter canvas) ? Where should I be looking for<br>reference documentation?
<br><br>Thanks<br><br>Victor<br>Victor Lazzarini<br>Music Technology Laboratory<br>Music Department<br>National University of Ireland, Maynooth<br><br>_______________________________________________<br>Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br><a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br></blockquote></div><br>