예제 #1
0
 def ok_callback(self, table):
     if (not table):
         return True
     for key, value in table.iteritems():
         gcompris.set_board_conf(self.configuring_profile,
                                 self.gcomprisBoard, key, value)
     return True
예제 #2
0
파일: lang.py 프로젝트: GNOME/gcompris
  def ok_callback(self, table):
    if (table == None):
      return True

    for key,value in table.iteritems():
      gcompris.set_board_conf(self.configuring_profile,
                              self.gcomprisBoard, key, value)

    return True;
예제 #3
0
  def ok_callback(self, table):
    if (table == None):
      print 'Configuration returns None'
      return

    print "Keys and values returned by PythonTest config window:"

    if (len(table) == 0):
        print '%20s' % 'None'

    for key,value in table.iteritems():
      print '%20s:%20s    ' % (key, value)
      gcompris.set_board_conf(self.configuring_profile, self.gcomprisBoard, key, value)
예제 #4
0
  def ok_callback(self, table):
    if (table == None):
      print 'Configuration returns None'
      return True

    print "Keys and values returned by PythonTest config window:"

    if (len(table) == 0):
        print '%20s' % 'None'

    for key,value in table.iteritems():
      print '%20s:%20s    ' % (key, value)
      gcompris.set_board_conf(self.configuring_profile, self.gcomprisBoard, key, value)

    return True;
예제 #5
0
파일: tuxpaint.py 프로젝트: GNOME/gcompris
 def apply_callback(self,table):
   if table:
     for key,value in table.iteritems():
       gcompris.set_board_conf(self.configure_profile, self.gcomprisBoard,
                             key, value)
   return True
예제 #6
0
 def apply_callback(self,table):
   if table:
     for key,value in table.iteritems():
       gcompris.set_board_conf(self.configure_profile, self.gcomprisBoard,
                             key, value)
   return True