CssProvider.toString_

string toString_()

Converts the provider into a string representation in CSS format.

Using [gtk.css_provider.CssProvider.loadFromString] with the return value from this function on a new provider created with [gtk.css_provider.CssProvider.new_] will basically create a duplicate of this provider.

Returns

a new string representing the provider.