cock.setDefault

Restores specified default layout, permanently erasing previously defined bindings.

Synopsis

Function

cock.setDefault ( self, default )

Arguments

table self
An object to use.
string default
Optional. One of the defaults created earlier. Will substitute with control.defaultLayout field if not provided.

See also