Gio.MenuModel.prototype.is_mutable
function is_mutable(): Boolean { // Gjs wrapper for g_menu_model_is_mutable() }
Queries if model is mutable.
An immutable Gio.MenuModel will never emit the Gio.MenuModel::items-changed signal. Consumers of the model may make optimisations accordingly.
Since 2.32
- Returns
true if the model is mutable (ie: "items-changed" may be emitted).