Containing mutability in GObjects

from blog Federico's Blog, | ↗ original
Traditionally, GObject implementations in C are mutable: you instantiate a GObject and then change its state via method calls. Sometimes this is expected and desired; a GtkCheckButton widget certainly can change its internal state from pressed to not pressed, for example. Other times, objects are mutable while they are being …