cock.setDefault

Restores specified default layout, permanently erasing previously defined bindings.

Synopsis

Function

cock.setDefault ( self, default )

Arguments

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

See also