Difference between revisions of "cock.getEmptyOption"
m (→See also) |
m |
||
Line 2: | Line 2: | ||
== Synopsis == | == Synopsis == | ||
=== Function === | === Function === | ||
− | <source lang="Lua">option = cock.getEmptyOption ( self )</source> | + | <source lang="Lua">option = cock.getEmptyOption ( self, map )</source> |
=== Arguments === | === Arguments === | ||
{{param|table|self|An object to use.}} | {{param|table|self|An object to use.}} | ||
+ | {{param|string|map|A control mapping to find unused options for.}} | ||
=== Returns === | === Returns === | ||
{{param|string|option|Found unused option (nil on failure).}} | {{param|string|option|Found unused option (nil on failure).}} |
Latest revision as of 15:00, 2 September 2013
Finds next (in arbitrary order) unused input option in current layout.
Synopsis
Function
option = cock.getEmptyOption ( self, map )
Arguments
Returns
string option
- Found unused option (nil on failure).
See also
- cock.addOption
- cock.deleteOption
- cock.setDefault
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit