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...")
 
(See also)
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]]

Revision as of 19:48, 31 August 2013

Creates new input option to bind contols into in current layout.

Synopsis

Function

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