When to use 'type_register'?

Hi

I discovered lately the ‘type_register’ thingy.

From the examples, and from my research it seems used mostly for
subclassing buttons. But there isn’t much documentation about it.

So, I’m wondering, when should I use ‘type_register’ when subclassing a
GTK widget, and when not to ?

regards

Simon A.