show_menu


Description:

public virtual signal void show_menu ()

The show_menu signal is emitted before the menu is shown.

It can be used to populate the menu on demand, using set_menu.

Note that even if you populate the menu dynamically in this way, you must set an empty menu on the MenuToolButton beforehand, since the arrow is made insensitive if the menu is not set.




2022 vala-language.org