popup.addPrologue

popup.addPrologue Adds a prologue to a popup
Usage
popup.addPrologue [-q] (<popupname:string>[, <item_id:string>]) [{] <command> [}]
Description

Adds a menu prologue to an already existing popup or nested popup named <popupname>. If you want to add an item to a nested popup, use the form "popup.addItem", for example, "channeltextview.myNestedItem".
<item_id> is the optional item ID - if not specified, it will be generated automatically.
<command> will be executed just before the popup is filled at popup.show command call. <command> can be a simple instruction or an instruction block delimited by curly brackets.
Please note that some instructions are not allowed here, You can't delete the prologue's parent popup (calling popup.clear or popup.destroy) or modify prologues/epilogues (calling popup.addprologue or popup.addepilogue)

Switches

-q | --quiet
Run quietly: don't print warning and errors

See also
defpopup, popup.show, popup.addepilogue

Index, Commands