javaScript получить значение метки
document.getElementById('*spaM4').textContent
Krushn
document.getElementById('*spaM4').textContent
var exampleLabel = new Gtk.Label({ label: 'something' });
console.log(exampleLabel.label);
//output: 'something'