Package: gio

Function gio:menu-freeze

Lambda List

gio:menu-freeze (menu)

Arguments

menu -- a g:menu object

Details

Marks the 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 g:menu API must no longer be used.

This function causes the g:menu-model-is-mutable function to begin returning false, which has some positive performance implications.
 

See also

2024-12-30