to_string


Description:

public string to_string ()

Prints the given this into a human-readable string.

The resulting string can be parsed with [func@Gdk.ContentFormats.parse].

This is a small wrapper around [method@Gdk.ContentFormats.print] to help when debugging.

Parameters:

this

a `GdkContentFormats`

Returns:

a new string