Function

Gdk-4.0Gdkcontent_register_deserializer

  • Registers a function to deserialize object of a given type.

    Since 4.20, when looking up a deserializer to use, GTK will use the last registered deserializer for a given mime type, so applications can override the built-in deserializers.

    Parameters

    • mime_type: string

      the mime type which the function can deserialize from

    • type: GType

      the type of objects that the function creates

    • deserialize: ContentDeserializeFunc

      the callback

    Returns void