Package: gtk

Function gtk:text-buffer-register-serialize-format

Lambda List

gtk:text-buffer-register-serialize-format (buffer mime func)

Arguments

buffer -- a gtk:text-buffer object
mime -- a string with the MIME type of the format
func -- a gtk:text-buffer-serialize-func serialize function to register

Return Value

The gdk:atom as a string that corresponds to the newly registered MIME type of the format.

Details

This function registers a rich text serialization function along with its MIME type with the passed text buffer.
 

See also

#2023-3-7