gsoc presentation

7
Activity Development for Gcompris Suite Lavanya Gunasekaran Mentor : Bruno Coudin

Upload: lavanya

Post on 04-Aug-2015

58 views

Category:

Technology


1 download

TRANSCRIPT

Activity Development for Gcompris Suite

Lavanya Gunasekaran Mentor : Bruno Coudin

Gcompris! What is it all about?

Development Tools● Gcompris python API

● Python

● Inkscape

● PyGooCanvas

● pyGtk

Activities

Cryptography CookBook Computer Meteo Station Stop,Look,Listen

Encryption Decryption Play with parts Computer Simulation

class Steering: def __init__(self, stop_look_listen, steeringitems):

self.rootitem = stop_look_listen.rootitemself.pos = 0self.steeringitems = steeringitemsself.timer = 0self.svghandle = gcompris.utils.load_svg

("stop_look_listen/background.svgz")self.road = Road(self, self.svghandle)self.sign = Sign(self, self.svghandle)self.show(self.rootitem)

# Create the Svg items on new rootitem def show(self, rootitem):

self.rootitem = rootitemself.steering = goocanvas.Svg(parent = self.rootitem,

svg_handle = self.svghandle, svg_id = "#STEERING_0" )

self.road.show(self.rootitem)self.sign.show(self.rootitem)

/*Bit of Code*/

Screenshots

Thank you

Lavanya [email protected]_g on #GCompris and #GNOMEhttps://wiki.gnome.org/lavanya