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