'Parameters
layout :
a string with matching the name of a Layout object.'

@layout.setter
def layout(self, layout):

    for (index, obj) in enumerate(self.layouts):
        if (obj.name == layout):
            self.currentLayout = index
            hook.fire('layout_change', self.layouts[self.currentLayout], self)
            self.layoutAll()
            return
    raise ValueError(('No    such    layout:    %s' % layout))
