def set_layout(self, layout):
self.layout = layout<EOL>self.invalidate()<EOL>
Sets the layout this keyboard work with.
        Keyboard is invalidate by this action and redraw itself.

        :param layout: Layout to set.