Method

GtkTreeViewinsert_column

Declaration [src]

gint
gtk_tree_view_insert_column (
  GtkTreeView* tree_view,
  GtkTreeViewColumn* column,
  gint position
)

Description [src]

This inserts the column into the tree_view at position. If position is -1, then the column is inserted at the end. If tree_view has “fixed_height” mode enabled, then column must have its “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED.

Parameters

column

Type: GtkTreeViewColumn

The GtkTreeViewColumn to be inserted.

The data is owned by the caller of the method.
position

Type: gint

The position to insert column in.

Return value

Type: gint

The number of columns in tree_view after insertion.