Interface Gdk.OnContentSerializeFunc

Enclosing class:
Gdk
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Gdk.OnContentSerializeFunc
  • Method Details

    • onContentSerializeFunc

      void onContentSerializeFunc(CallbackHandler __self, @Nonnull ContentSerializer serializer)
      The type of a function that can be registered with gdk_content_register_serializer().

      When the function gets called to operate on content, it can call functions on the
      @serializer object to obtain the mime type, output stream, user data, etc. for its
      operation.
      Parameters:
      serializer - a `GdkContentSerializer`