The __xdata__items__
contains a list of string which allow
to define a part of your application.
How the __xdata__items__
is parsed ?
For each item in __xdata__items__
, there are two possibilities:
- The item correspond to an existing python module. More precisly,
__import__(item)
does not raise ... In that case, a new menu
is inserted in GUI and the current process is launched with this new module.
- This item does not correspond to an existing python module ...
There are two possibilities:
- The item is the empty string (or contains only white space). In that
case, a separator is inserted in GUI mode.
- Otherwise, an item whom name is the string is inserted into the current menu.
What happen when the item is activated is described in section 8.1.
Release 0.7.3, documentation updated on September 14, 2009.