Gtk.Scale.prototype.get_layout

function get_layout():Pango.Layout {
    // Gjs wrapper for gtk_scale_get_layout()
}

Gets the Pango.Layout used to display the scale. The returned object is owned by the scale so does not need to be freed by the caller.

Since 2.4

Returns

the Pango.Layout for this scale, or null if the Gtk.draw-value property is false.