Gimp.TextLayer.prototype.get_text

function get_text(): String {
    // Gjs wrapper for gimp_text_layer_get_text()
}
  

Get the text from a text layer as string.

This procedure returns the text from a text layer as a string.

Since 2.6

Returns

The text from the specified text layer. The returned value must be freed with g_free().