Date post: | 04-Aug-2015 |
Category: |
Technology |
Upload: | lavanya |
View: | 57 times |
Download: | 1 times |
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*/
Thank you
Lavanya [email protected]_g on #GCompris and #GNOMEhttps://wiki.gnome.org/lavanya