Difference between revisions of "cock.setDefault"

m
m (Arguments)
Line 5: Line 5:
 
=== Arguments ===
 
=== Arguments ===
 
{{param|table|self|An object to use.}}
 
{{param|table|self|An object to use.}}
{{param|string|default|Optional. One of the defaults created earlier. Will substitute with [[Common Organization of Controls Kit Fields|control.defaultLayout]] field if not provided.}}
+
{{param|string|default|Optional. One of the defaults created earlier. Will revert to [[Common Organization of Controls Kit Fields|control.defaultLayout]] field if not provided.}}
  
 
==See also==
 
==See also==

Revision as of 11:15, 1 September 2013

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 revert to control.defaultLayout field if not provided.

See also