pub fn register_shared_type<T: SharedType>() -> TypeExpand description
Register a boxed glib::Type ID for T.
This must be called only once and will panic on a second call.
See Shared! for defining a function that ensures that
this is only called once and returns the type id.