Difference between revisions of "cock.addOption"
(Created page with "Creates new input option to bind contols into in current layout. == Synopsis == === Function === <source lang="Lua">option = cock.addOption ( self, option )</source> === Argument...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Creates new input option to bind contols into in current layout. | Creates new input option to bind contols into in current layout. | ||
− | == | + | == Function == |
− | === | + | === Synopsis === |
<source lang="Lua">option = cock.addOption ( self, option )</source> | <source lang="Lua">option = cock.addOption ( self, option )</source> | ||
=== Arguments === | === Arguments === | ||
Line 11: | Line 11: | ||
==See also== | ==See also== | ||
*[[cock.deleteOption]] | *[[cock.deleteOption]] | ||
+ | *[[cock.getEmptyOption]] | ||
*[[cock.setDefault]] | *[[cock.setDefault]] | ||
*[[parent::Common Organization of Controls Kit Manual]] | *[[parent::Common Organization of Controls Kit Manual]] |
Latest revision as of 14:51, 2 September 2013
Creates new input option to bind contols into in current layout.
Function
Synopsis
option = cock.addOption ( self, option )
Arguments
table self
- An object to use.
string option
- Optional. Will create new option with specified name. Will generate random name if not provided.
Returns
string option
- Name of the new option.
See also
- cock.deleteOption
- cock.getEmptyOption
- cock.setDefault
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit