Label.setEllipsize

void setEllipsize(pango.types.EllipsizeMode mode)

Sets the mode used to ellipsize the text.

The text will be ellipsized if there is not enough space to render the entire string.

Parameters

modea pango.types.EllipsizeMode