Gtk.Gradient.prototype.to_string

function to_string():String {
    // Gjs wrapper for gtk_gradient_to_string()
}

Creates a string representation for gradient that is suitable for using in GTK CSS files.

Returns

A string representation for gradient