Cogl.Snippet.prototype.get_post

function get_post(): String {
    // Gjs wrapper for cogl_snippet_get_post()
}
  

Since 1.10

Returns

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