Difference between revisions of "cock.setDefault"

m (Arguments)
m
 
Line 1: Line 1:
 
Restores specified default layout, permanently erasing previously defined bindings.
 
Restores specified default layout, permanently erasing previously defined bindings.
== Synopsis ==
+
== Function ==
=== Function ===
+
=== Synopsis ===
 
<source lang="Lua">cock.setDefault ( self, default )</source>
 
<source lang="Lua">cock.setDefault ( self, default )</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 15:10, 2 September 2013

Restores specified default layout, permanently erasing previously defined bindings.

Function

Synopsis

cock.setDefault ( self, default )

Arguments

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

See also