Method

GioMenuModelis_mutable

Declaration

gboolean
g_menu_model_is_mutable (
  GMenuModel* model
)

Description

Queries if model is mutable.

An immutable GMenuModel will never emit the GMenuModel::items-changed signal. Consumers of the model may make optimisations accordingly.

Available since:2.32

Return value

Returns: gboolean
 

TRUE if the model is mutable (ie: “items-changed” may be emitted).