Method

GtkLabelset_lines

since: 3.10

Declaration [src]

void
gtk_label_set_lines (
  GtkLabel* label,
  gint lines
)

Description [src]

Sets the number of lines to which an ellipsized, wrapping label should be limited. This has no effect if the label is not wrapping or ellipsized. Set this to -1 if you don’t want to limit the number of lines.

Available since: 3.10

Sets propertyGtk.Label:lines

Parameters

lines

Type: gint

The desired number of lines, or -1.