summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-04-24 19:21:20 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-04-24 19:21:20 +0200
commita45b060d340a3b5826c85c3348fa8ffa94827db1 (patch)
treed012dda37bd9ff13e23913e78f8c2d2535187afe /doc
parent5a152763f96327574284021b28b984c772dbe991 (diff)
downloadportato-a45b060d340a3b5826c85c3348fa8ffa94827db1.tar.gz
portato-a45b060d340a3b5826c85c3348fa8ffa94827db1.tar.bz2
portato-a45b060d340a3b5826c85c3348fa8ffa94827db1.zip
Some more documentation... Really needs more!
Diffstat (limited to 'doc')
-rw-r--r--doc/Hooks10
-rw-r--r--doc/Howto_Write_Plugins2
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/Hooks b/doc/Hooks
index 647dd56..d4786a8 100644
--- a/doc/Hooks
+++ b/doc/Hooks
@@ -30,3 +30,13 @@ Parameters: None
Return if override: Nothing
Comment: DO NOT OVERRIDE :)
+
+List of widget slots
+====================
+
+Plugin Menu:
+------------
+Allows to add entries to the 'Plugins' menu.
+Widget Class: internal
+Needed Callbacks: activate
+Note: Only use "create_widget" instead of "add_widget"
diff --git a/doc/Howto_Write_Plugins b/doc/Howto_Write_Plugins
index bb63120..109aa06 100644
--- a/doc/Howto_Write_Plugins
+++ b/doc/Howto_Write_Plugins
@@ -18,7 +18,7 @@ Of course there are some things you should bare in mind:
1. Do not use the ``__init__`` method, but ``init``.
2. Do not use a member which shadows one from the original class:
- ``description``, ``author``, ``status``, ``menus``, ``name``, ``calls``, ``deps``, ``enabled``, ``add_menu``, ``add_call``
+ ``description``, ``author``, ``status``, ``menus``, ``name``, ``calls``, ``deps``, ``enabled``, ``add_widget``, ``create_widget``, ``add_call``
3. Of course you can *use* the members mentioned under point 2.
For the details, please see the source code at the moment or write your question to portato@necoro.net