freeze
Description:
public void freeze ()
Marks this as frozen.
After the menu is frozen, it is an error to attempt to make any changes to it. In effect this means that the Menu API must no longer be used.
This function causes is_mutable to begin returning false, which has some positive performance implications.
Parameters:
this |
a Menu |