cock.new

Creates a new control object.

Synopsis

Function

control = cock.new ( id, data )

Arguments

string id
An identifier to use for this object. Generated automatically if not provided.
table data
Specifically formated setup data to build layouts from.

Returns

table control
Newly created control object

See also