insert_column_with_attributes


Description:

public int insert_column_with_attributes (int position, string? title, CellRenderer cell, ...)

Creates a new TreeViewColumn and inserts it into the this at position.

If position is -1, then the newly created column is inserted at the end. The column is initialized with the attributes given. If this has “fixed_height” mode enabled, then the new column will have its sizing property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Parameters:

this

A TreeView

position

The position to insert the new column in

title

The title to set the header to

cell

The CellRenderer

...

A null-terminated list of attributes

Returns:

The number of columns in this after insertion.




2022 vala-language.org