Package pallavi :: Package plugins :: Module UserRequest
[hide private]
[frames] | no frames]

Module UserRequest

source code

Plugin requests input from the user. The primary aim of this plugin
is to allow other plugins to request data using the same API. Then if
someone wants to provide data using a different method (nicer dialog,
or perhaps even voice command), they simply have to replace this one
plugin.

This plugin provides the following actions:
RequestUserInput (text, callback)
        Request information from the user using a text dialog constructed
        with the requested text (provided as the first argument in a tuple and
        provide the results to the callback function provided
        as data. sends callback a value of None if cancel is pressed



Functions [hide private]
 
setup() source code
 
RequestInput(text, callback) source code