Difference between revisions of "cock.setDefault"

m (See also)
m
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 [[cock.fields|control.defaultLayout]] field if not provided.}}
+
{{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.}}
  
 
==See also==
 
==See also==

Revision as of 11:14, 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 substitute with control.defaultLayout field if not provided.

See also