GtkProgressBar::set_ellipsize

void set_ellipsize(PangoEllipsizeMode mode);

Sets the mode used to ellipsize (add an ellipsis: "...") the text if there is not enough space to render the entire string.

See also: get_ellipsize()