pygbutton/__init__.py
def draw(self, surfaceObj):
        """Blit the current button's appearance to the surface object."""
        if self._visible:
            if any(self.buttonDown):
                surfaceObj.blit(self.surfaceDown, self._rect)
            elif self.mouseOverButton:
                surfaceObj.blit(self.surfaceHighlight, self._rect)
            else:
                surfaceObj.blit(self.surfaceNormal, self._rect)
Blit the current button's appearance to the surface object.
Blit the current button's appearance to the surface object.
Blit the current button ' s appearance to the surface object .
def draw(self, surfaceObj):
        if self._visible:
            if any(self.buttonDown):
                surfaceObj.blit(self.surfaceDown, self._rect)
            elif self.mouseOverButton:
                surfaceObj.blit(self.surfaceHighlight, self._rect)
            else:
                surfaceObj.blit(self.surfaceNormal, self._rect)
def draw ( self , surfaceObj ) : if self . _visible : if any ( self . buttonDown ) : surfaceObj . blit ( self . surfaceDown , self . _rect ) elif self . mouseOverButton : surfaceObj . blit ( self . surfaceHighlight , self . _rect ) else : surfaceObj . blit ( self . surfaceNormal , self . _rect )
Blit the current button's appearance to the surface object.
Blit the current button ' s appearance to the surface object .
"""Blit the current button's appearance to the surface object."""
self
surfaceObj