Gtk.CssProvider.prototype.to_string
function to_string():String {
// Gjs wrapper for gtk_css_provider_to_string()
}Convertes the provider into a string representation in CSS format.
Using Gtk.CssProvider.prototype.load_from_data with the return value from this function on a new provider created with Gtk.new will basicallu create a duplicate of this provider.
Since 3.2
- Returns
a new string representing the provider.