Comment updates

This commit is contained in:
Tim Bentley 2013-02-09 17:30:46 +00:00
parent f92adad31d
commit f669032fc9
1 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,7 @@ class Registry(object):
Registers a component against a key. Registers a component against a key.
``key`` ``key``
The service to be created. The service to be created this is usually a major class like "renderer" or "main_window" .
``reference`` ``reference``
The service address to be saved. The service address to be saved.
@ -115,7 +115,9 @@ class Registry(object):
Register a function and a handler to be called later Register a function and a handler to be called later
``event`` ``event``
The function description.. The function description like "config_updated" or "live_display_hide" where a number of places in the
code will/may need to respond to a single action and the caller does not need to understand or know about
the recipients.
``function`` ``function``
The function to be called when the event happens. The function to be called when the event happens.