Gtk.Label.prototype.get_width_chars

function get_width_chars():Number {
    // Gjs wrapper for gtk_label_get_width_chars()
}

Retrieves the desired width of label, in characters. See Gtk.set_width_chars.

Since 2.6

Returns

the width of the label in characters.