set_title
Description:
Warning: set_title is deprecated since 3.10.
Sets the title string for the menu.
The title is displayed when the menu is shown as a tearoff menu. If title
is null, the menu will
see if it is attached to a parent menu item, and if so it will try to use the same text as that menu item’s label.
Parameters:
this |
a Menu |
title |
a string containing the title for the menu, or null to inherit the title of the parent menu item, if any |