Next: , Previous: Managing actions, Up: The AppTree


4.1.15 Managing context menus

— Function: apptree::add_entry_to_nodetype_contextmenu NODETYPE INDEX LABEL CALLBACK

Add a new entry to the context menu for NODETYPE.

Where INDEX can be a numerical index, or the keywords {first} and {last}.

Both CALLBACK script and LABEL strings are preprocessed, with some substitutions:

— Function: apptree::remove_entry_from_nodetype_contextmenu NODETYPE INDEX

Delete an entry from the context menu for NODETYPE.

Where INDEX can be a numerical index, or the keywords {first} and {last}.