Method

GtkTextBufferget_deserialize_formats

since: 2.10

Declaration [src]

GdkAtom*
gtk_text_buffer_get_deserialize_formats (
  GtkTextBuffer* buffer,
  gint* n_formats
)

Description [src]

This function returns the rich text deserialize formats registered with buffer using gtk_text_buffer_register_deserialize_format() or gtk_text_buffer_register_deserialize_tagset().

Available since: 2.10

Parameters

n_formats

Type: gint*

Return location for the number of formats.

The argument will be set by the function.

Return value

Type: An array of GdkAtom

An array of GdkAtoms representing the registered formats.

The length of the array is in the n_formats argument.
The caller of the method takes ownership of the returned data container, but not the data inside it.