Terminal.setContextMenu

Sets menu as the context menu in terminal. Use null to unset the current menu.

Note that a menu model set with vte.terminal.Terminal.setContextMenuModel takes precedence over a menu set using this function.

class Terminal
void
setContextMenu

Parameters

menu gtk.widget.Widget

a menu