cock.addOption
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
- cock.deleteOption
- cock.getEmptyOption
- cock.setDefault
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit