Difference between revisions of "cock.setDefault"
(Created page with "Restores specified default layout, permanently erasing previously defined bindings. == Synopsis == === Function === <source lang="Lua">cock.setDefault ( self, default )</source> ...") |
(→Arguments) |
||
Line 4: | Line 4: | ||
<source lang="Lua">cock.setDefault ( self, default )</source> | <source lang="Lua">cock.setDefault ( self, default )</source> | ||
=== Arguments === | === Arguments === | ||
− | {{param| | + | {{param|table|self|An object to use.}} |
{{param|string|default|Optional. One of the defaults created earlier. Will substitute with cock.defaultLayout field if not provided.}} | {{param|string|default|Optional. One of the defaults created earlier. Will substitute with cock.defaultLayout field if not provided.}} | ||
+ | |||
==See also== | ==See also== | ||
*[[cock.setControls]] | *[[cock.setControls]] |
Revision as of 18:55, 31 August 2013
Restores specified default layout, permanently erasing previously defined bindings.
Contents
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 cock.defaultLayout field if not provided.
See also