button.py
def _prep_msg(self, msg):
        """
        Render the Msg as an image and center it on the button
        """
        self.msg_image = self.font.render(msg, 
            True, self.text_color, self.button_color)
        self.msg_image_rect = self.msg_image.get_rect()
        self.msg_image_rect.center = self.rect.center

        Render the Msg as an image and center it on the button
        
Render the Msg as an image and center it on the button
Render the Msg as an image and center it on the button
def _prep_msg(self, msg):
        self.msg_image = self.font.render(msg, 
            True, self.text_color, self.button_color)
        self.msg_image_rect = self.msg_image.get_rect()
        self.msg_image_rect.center = self.rect.center
def _prep_msg ( self , msg ) : self . msg_image = self . font . render ( msg , True , self . text_color , self . button_color ) self . msg_image_rect = self . msg_image . get_rect ( ) self . msg_image_rect . center = self . rect . center
Render the Msg as an image and center it on the button
Render the Msg as an image and center it on the button
"""
        Render the Msg as an image and center it on the button
        """
self
msg