def ServiceInfoListEntry(a, b):
res = [ ]
- #PyObject *px, *py, *pwidth, *pheight, *pfnt, *pstring, *pflags;
- res.append((0, 0, 200, 30, 0, RT_HALIGN_LEFT, ""))
- res.append((0, 0, 150, 25, 0, RT_HALIGN_LEFT, a))
- res.append((170, 0, 150, 25, 0, RT_HALIGN_LEFT, b))
+ #PyObject *type, *px, *py, *pwidth, *pheight, *pfnt, *pstring, *pflags;
+ res.append((eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 200, 30, 0, RT_HALIGN_LEFT, ""))
+ res.append((eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 150, 25, 0, RT_HALIGN_LEFT, a))
+ res.append((eListboxPythonMultiContent.TYPE_TEXT, 170, 0, 150, 25, 0, RT_HALIGN_LEFT, b))
return res
self.l = eListboxPythonMultiContent()
self.list = source
self.l.setList(self.list)
- self.l.setFont(0, gFont("Arial", 23))
+ self.l.setFont(0, gFont("Regular", 23))
def GUIcreate(self, parent):
self.instance = eListbox(parent)