DOC: Add explanation of add operator.

This commit is contained in:
Tony S Yu
2012-07-28 11:43:20 -04:00
parent 1000c73ceb
commit 7d533e19a4
+6 -2
View File
@@ -2,8 +2,12 @@
Widgets for interacting with ImageViewer.
These widgets should be added to a Plugin subclass using its `add_widget`
method. The Plugin will delegate action based on the widget's parameter type
specified by its `ptype` attribute, which can be:
method or calling::
plugin += Widget(...)
on a Plugin instance. The Plugin will delegate action based on the widget's
parameter type specified by its `ptype` attribute, which can be:
'arg' : positional argument passed to Plugin's `filter_image` method.
'kwarg' : keyword argument passed to Plugin's `filter_image` method.