Beispiel #1
0
 def load_str(self, string):
     err = Error()
     strg = Str(str(string.encode("utf-8")))
     rval = gtlib.gt_style_load_str(self.style, strg._as_parameter_,
             err._as_parameter_)
     if rval != 0:
         gterror(err)
Beispiel #2
0
 def load_str(self, string):
     err = Error()
     strg = Str(str(string.encode("utf-8")))
     rval = gtlib.gt_style_load_str(self.style, strg._as_parameter_,
                                    err._as_parameter_)
     if rval != 0:
         gterror(err)
Beispiel #3
0
 def load_str(self, string):
     err = Error()
     strg = Str(string)
     rval = gtlib.gt_style_load_str(self.style, strg, err)
     if rval != 0:
         gterror(err)
Beispiel #4
0
 def load_str(self, string):
     err = Error()
     strg = Str(str(string).encode("utf-8"))
     rval = gtlib.gt_style_load_str(self.style, strg, err)
     if rval != 0:
         gterror(err)