Emitted with non-null context before terminal shows a context menu.
The handler may set either a menu model using set_context_menu_model
, or a menu using set_context_menu, which will then be used as context
menu, or keep a previously set context menu or context menu model, but update the menu and/or its GAction:ss visibility and
sensitivity. If neither a menu model nor a menu are set, a context menu will not be shown.
Note that context is only valid during the signal emission; you may not retain it to call methods on it afterwards.
Also emitted with null context after the context menu has been dismissed.
| context |
the context |