Difference between revisions of "cock.setDefault"
(→Arguments) |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Restores specified default layout, permanently erasing previously defined bindings. | Restores specified default layout, permanently erasing previously defined bindings. | ||
− | == | + | == Function == |
− | === | + | === Synopsis === |
<source lang="Lua">cock.setDefault ( self, default )</source> | <source lang="Lua">cock.setDefault ( self, default )</source> | ||
=== 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 | + | {{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== | ||
*[[cock.setControls]] | *[[cock.setControls]] | ||
+ | *[[Common Organization of Controls Kit Fields]] | ||
*[[parent::Common Organization of Controls Kit Manual]] | *[[parent::Common Organization of Controls Kit Manual]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 15:10, 2 September 2013
Restores specified default layout, permanently erasing previously defined bindings.
Contents
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
- cock.setControls
- Common Organization of Controls Kit Fields
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit