def set_uppercase(self, uppercase):
for row in self.rows:<EOL><INDENT>for key in row.keys:<EOL><INDENT>if type(key) == VKey:<EOL><INDENT>if uppercase:<EOL><INDENT>key.value = key.value.upper()<EOL><DEDENT>else:<EOL><INDENT>key.value = key.value.lower()<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Sets layout uppercase state.

        :param uppercase: True if uppercase, False otherwise.