Method

GntTreeset_column_width_ratio

since: 2.1

Declaration [src]

void
gnt_tree_set_column_width_ratio (
  GntTree* tree,
  int* cols
)

Description [src]

Set column widths to use when calculating column widths after a tree is resized.

See gnt_tree_set_col_width(), gnt_tree_set_column_resizable().

Available since: 2.1

Parameters

cols

Type: int*

Array of widths. The width must have the same number of entries as the number of columns in the tree, or end with a negative value for a column-width.

The data is owned by the caller of the function.