The "parent-set" signal is emitted when a widget's parent is set OR unset. The call back is passed widget which emitted the signal and some value whose purpose and origin is unknown.
Callback function