Cogl.Snippet.prototype.get_pre

function get_pre(): String {
    // Gjs wrapper for cogl_snippet_get_pre()
}
  

Since 1.10

Returns

the source string that was set with Cogl.Snippet.prototype.set_pre or null if none was set.