cock.addOption

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