Difference between revisions of "cock.addOption"

(See also)
m
 
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.
== Synopsis ==
+
== Function ==
=== Function ===
+
=== Synopsis ===
 
<source lang="Lua">option = cock.addOption ( self, option )</source>
 
<source lang="Lua">option = cock.addOption ( self, option )</source>
 
=== Arguments ===
 
=== Arguments ===

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