def draw(self):
if self.state > <NUM_LIT:0>:<EOL><INDENT>self.renderer.draw_background(self.surface, self.layout.position, self.layout.size)<EOL>for row in self.layout.rows:<EOL><INDENT>for key in row.keys:<EOL><INDENT>self.renderer.draw_key(self.surface, key)<EOL><DEDENT><DEDENT><DEDENT>
Draw the virtual keyboard into the delegate surface object if enabled.