Menu.freeze

Marks menu 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 gtk.Menu API must no longer be used.

This function causes Menu.modelIsMutable to begin returning FALSE, which has some positive performance implications.

class Menu
void
freeze
()

Meta

Since

2.32