diff options
Diffstat (limited to 'doc/devel/evolution-plugin-manual.xml')
-rw-r--r-- | doc/devel/evolution-plugin-manual.xml | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/doc/devel/evolution-plugin-manual.xml b/doc/devel/evolution-plugin-manual.xml index 2feb047482..aad93ef0f3 100644 --- a/doc/devel/evolution-plugin-manual.xml +++ b/doc/devel/evolution-plugin-manual.xml @@ -821,7 +821,7 @@ <programlisting> <![CDATA[ <hook class="com.ximian.evolution.mail.popup:1.0"> - <menu id="menuid" target="targettype"> + <menu id="menuid" target="targettype" factory="function spec"? > <item type="item | toggle | radio | image | submenu | bar" active ? @@ -835,10 +835,43 @@ </hook>]]></programlisting> <!-- this is all too bloody verbose, is there a better way? --> <para> - <emphasis>Need to define menu tag</emphasis> + <emphasis>Menu Tag</emphasis> </para> <variablelist> <varlistentry> + <term><parameter>id</parameter></term> + <listitem> + <simpara> + The id of the menu to which these items should be added. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>target</parameter></term> + <listitem> + <simpara> + The target expected. There will normally only be one target + type defined for any given menu, however some menu's may + supply multiple targets depending on context. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>factory</parameter></term> + <listitem> + <simpara> + If present, then a plugin-specific function specification of + the the function to invoke when the the menu is being + created. This function will normally call + e_popup_add_items() to add custom menu items. It is used to + provide more control than the visible and enable masks + provide. The plugin argument is the popup target. + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> <term><parameter>type</parameter></term> <listitem> <simpara> |