set_context_menu


Description:

[ Version ( since = "0.76" ) ]
public void set_context_menu (Widget? menu)

Sets menu as the context menu in this.

Use null to unset the current menu.

Note that a menu model set with set_context_menu_model takes precedence over a menu set using this function.

Parameters:

this

a Terminal

menu

a menu