var exampleLabel = new Gtk.Label({ label: 'something' }); console.log(exampleLabel.label); //output: 'something'