python Programming Glossary: self._text
Render anti-aliased text on transparent surface in pygame http://stackoverflow.com/questions/15488293/render-anti-aliased-text-on-transparent-surface-in-pygame Color white self.color_bg Color gray20 self._aa True self._text text self.font pygame.font.Font font size self.screen pygame.display.get_surface.. key too self.dirty False self.image self.font.render self._text self.aa self.color_fg self.rect self.image.get_rect def draw.. self.image self.rect @property def text self return self._text @text.setter def text self text self.dirty True self._text text..
PyQt - XML to QTreeWidget http://stackoverflow.com/questions/8837950/pyqt-xml-to-qtreewidget self self._root root self._item None self._text '' self._error '' def startElement self namespace name qname.. qname 'item' self._item.setText 1 attributes.value 'type' self._text '' return True def endElement self namespace name qname if qname.. 'title' if self._item is not None self._item.setText 0 self._text elif qname 'folder' or qname 'item' self._item self._item.parent..
|