GObject —
* Implements the base GObject class to satisfy the type checker.
type GWeakNotify
objectWeakref:: GObjectClass o => o -> IO () -> IO GWeakNotify
objectWeakunref:: GObjectClass o => o -> GWeakNotify -> IO ()
attach a callback that will be called after the destroy hooks have been called
detach a weak destroy callback function