Gtk.Label.prototype.set_ellipsize
function set_ellipsize(mode:Pango.EllipsizeMode):void {
// Gjs wrapper for gtk_label_set_ellipsize()
}Sets the mode used to ellipsize (add an ellipsis: "...") to the text if there is not enough space to render the entire string.
Since 2.6
- mode