Gtk.SymbolicColor.prototype.to_string
function to_string():String { // Gjs wrapper for gtk_symbolic_color_to_string() }
Converts the given color to a string representation. This is useful both for debugging and for serialization of strings. The format of the string may change between different versions of GTK, but it is guaranteed that the GTK css parser is able to read the string and create the same symbolic color from it.
- Returns
a new string representing color