Table of Contents

Class TreeViewColumn

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class TreeViewColumn
Inheritance
TreeViewColumn
Inherited Members

Methods

AddAttribute(IntPtr, IntPtr, NonNullableUtf8StringHandle, int)

Calls native method gtk_tree_view_column_add_attribute.

public static extern void AddAttribute(IntPtr treeColumn, IntPtr cellRenderer, NonNullableUtf8StringHandle attribute, int column)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cellRenderer IntPtr

Transfer ownership: None Nullable: False

attribute NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

column int

Transfer ownership: None Nullable: False

CellGetPosition(IntPtr, IntPtr, out int, out int)

Calls native method gtk_tree_view_column_cell_get_position.

public static extern bool CellGetPosition(IntPtr treeColumn, IntPtr cellRenderer, out int xOffset, out int width)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cellRenderer IntPtr

Transfer ownership: None Nullable: False

xOffset int

Transfer ownership: Full Nullable: False

width int

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

CellGetSize(IntPtr, out int, out int, out int, out int)

Calls native method gtk_tree_view_column_cell_get_size.

public static extern void CellGetSize(IntPtr treeColumn, out int xOffset, out int yOffset, out int width, out int height)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

xOffset int

Transfer ownership: Full Nullable: False

yOffset int

Transfer ownership: Full Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

CellIsVisible(IntPtr)

Calls native method gtk_tree_view_column_cell_is_visible.

public static extern bool CellIsVisible(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

CellSetCellData(IntPtr, IntPtr, TreeIterHandle, bool, bool)

Calls native method gtk_tree_view_column_cell_set_cell_data.

public static extern void CellSetCellData(IntPtr treeColumn, IntPtr treeModel, TreeIterHandle iter, bool isExpander, bool isExpanded)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

treeModel IntPtr

Transfer ownership: None Nullable: False

iter TreeIterHandle

Transfer ownership: None Nullable: False

isExpander bool

Transfer ownership: None Nullable: False

isExpanded bool

Transfer ownership: None Nullable: False

Clear(IntPtr)

Calls native method gtk_tree_view_column_clear.

public static extern void Clear(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

ClearAttributes(IntPtr, IntPtr)

Calls native method gtk_tree_view_column_clear_attributes.

public static extern void ClearAttributes(IntPtr treeColumn, IntPtr cellRenderer)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cellRenderer IntPtr

Transfer ownership: None Nullable: False

Clicked(IntPtr)

Calls native method gtk_tree_view_column_clicked.

public static extern void Clicked(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

FocusCell(IntPtr, IntPtr)

Calls native method gtk_tree_view_column_focus_cell.

public static extern void FocusCell(IntPtr treeColumn, IntPtr cell)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: False

GetAlignment(IntPtr)

Calls native method gtk_tree_view_column_get_alignment.

public static extern float GetAlignment(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

float

Transfer ownership: None Nullable: False

GetButton(IntPtr)

Calls native method gtk_tree_view_column_get_button.

public static extern IntPtr GetButton(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetClickable(IntPtr)

Calls native method gtk_tree_view_column_get_clickable.

public static extern bool GetClickable(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetExpand(IntPtr)

Calls native method gtk_tree_view_column_get_expand.

public static extern bool GetExpand(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetFixedWidth(IntPtr)

Calls native method gtk_tree_view_column_get_fixed_width.

public static extern int GetFixedWidth(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_tree_view_column_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaxWidth(IntPtr)

Calls native method gtk_tree_view_column_get_max_width.

public static extern int GetMaxWidth(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetMinWidth(IntPtr)

Calls native method gtk_tree_view_column_get_min_width.

public static extern int GetMinWidth(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetReorderable(IntPtr)

Calls native method gtk_tree_view_column_get_reorderable.

public static extern bool GetReorderable(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetResizable(IntPtr)

Calls native method gtk_tree_view_column_get_resizable.

public static extern bool GetResizable(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSizing(IntPtr)

Calls native method gtk_tree_view_column_get_sizing.

public static extern TreeViewColumnSizing GetSizing(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

TreeViewColumnSizing

Transfer ownership: None Nullable: False

GetSortColumnId(IntPtr)

Calls native method gtk_tree_view_column_get_sort_column_id.

public static extern int GetSortColumnId(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetSortIndicator(IntPtr)

Calls native method gtk_tree_view_column_get_sort_indicator.

public static extern bool GetSortIndicator(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSortOrder(IntPtr)

Calls native method gtk_tree_view_column_get_sort_order.

public static extern SortType GetSortOrder(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

SortType

Transfer ownership: None Nullable: False

GetSpacing(IntPtr)

Calls native method gtk_tree_view_column_get_spacing.

public static extern int GetSpacing(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method gtk_tree_view_column_get_title.

public static extern NonNullableUtf8StringUnownedHandle GetTitle(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetTreeView(IntPtr)

Calls native method gtk_tree_view_column_get_tree_view.

public static extern IntPtr GetTreeView(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetVisible(IntPtr)

Calls native method gtk_tree_view_column_get_visible.

public static extern bool GetVisible(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetWidget(IntPtr)

Calls native method gtk_tree_view_column_get_widget.

public static extern IntPtr GetWidget(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetWidth(IntPtr)

Calls native method gtk_tree_view_column_get_width.

public static extern int GetWidth(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetXOffset(IntPtr)

Calls native method gtk_tree_view_column_get_x_offset.

public static extern int GetXOffset(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_tree_view_column_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithArea(IntPtr)

Calls native constructor gtk_tree_view_column_new_with_area.

public static extern IntPtr NewWithArea(IntPtr area)

Parameters

area IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

PackEnd(IntPtr, IntPtr, bool)

Calls native method gtk_tree_view_column_pack_end.

public static extern void PackEnd(IntPtr treeColumn, IntPtr cell, bool expand)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: False

expand bool

Transfer ownership: None Nullable: False

PackStart(IntPtr, IntPtr, bool)

Calls native method gtk_tree_view_column_pack_start.

public static extern void PackStart(IntPtr treeColumn, IntPtr cell, bool expand)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: False

expand bool

Transfer ownership: None Nullable: False

QueueResize(IntPtr)

Calls native method gtk_tree_view_column_queue_resize.

public static extern void QueueResize(IntPtr treeColumn)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

SetAlignment(IntPtr, float)

Calls native method gtk_tree_view_column_set_alignment.

public static extern void SetAlignment(IntPtr treeColumn, float xalign)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

xalign float

Transfer ownership: None Nullable: False

SetCellDataFunc(IntPtr, IntPtr, TreeCellDataFunc, IntPtr, DestroyNotify)

Calls native method gtk_tree_view_column_set_cell_data_func.

public static extern void SetCellDataFunc(IntPtr treeColumn, IntPtr cellRenderer, TreeCellDataFunc func, IntPtr funcData, DestroyNotify destroy)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

cellRenderer IntPtr

Transfer ownership: None Nullable: False

func TreeCellDataFunc

Transfer ownership: None Nullable: True

funcData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetClickable(IntPtr, bool)

Calls native method gtk_tree_view_column_set_clickable.

public static extern void SetClickable(IntPtr treeColumn, bool clickable)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

clickable bool

Transfer ownership: None Nullable: False

SetExpand(IntPtr, bool)

Calls native method gtk_tree_view_column_set_expand.

public static extern void SetExpand(IntPtr treeColumn, bool expand)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

expand bool

Transfer ownership: None Nullable: False

SetFixedWidth(IntPtr, int)

Calls native method gtk_tree_view_column_set_fixed_width.

public static extern void SetFixedWidth(IntPtr treeColumn, int fixedWidth)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

fixedWidth int

Transfer ownership: None Nullable: False

SetMaxWidth(IntPtr, int)

Calls native method gtk_tree_view_column_set_max_width.

public static extern void SetMaxWidth(IntPtr treeColumn, int maxWidth)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

maxWidth int

Transfer ownership: None Nullable: False

SetMinWidth(IntPtr, int)

Calls native method gtk_tree_view_column_set_min_width.

public static extern void SetMinWidth(IntPtr treeColumn, int minWidth)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

minWidth int

Transfer ownership: None Nullable: False

SetReorderable(IntPtr, bool)

Calls native method gtk_tree_view_column_set_reorderable.

public static extern void SetReorderable(IntPtr treeColumn, bool reorderable)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

reorderable bool

Transfer ownership: None Nullable: False

SetResizable(IntPtr, bool)

Calls native method gtk_tree_view_column_set_resizable.

public static extern void SetResizable(IntPtr treeColumn, bool resizable)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

resizable bool

Transfer ownership: None Nullable: False

SetSizing(IntPtr, TreeViewColumnSizing)

Calls native method gtk_tree_view_column_set_sizing.

public static extern void SetSizing(IntPtr treeColumn, TreeViewColumnSizing type)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

type TreeViewColumnSizing

Transfer ownership: None Nullable: False

SetSortColumnId(IntPtr, int)

Calls native method gtk_tree_view_column_set_sort_column_id.

public static extern void SetSortColumnId(IntPtr treeColumn, int sortColumnId)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

sortColumnId int

Transfer ownership: None Nullable: False

SetSortIndicator(IntPtr, bool)

Calls native method gtk_tree_view_column_set_sort_indicator.

public static extern void SetSortIndicator(IntPtr treeColumn, bool setting)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

setting bool

Transfer ownership: None Nullable: False

SetSortOrder(IntPtr, SortType)

Calls native method gtk_tree_view_column_set_sort_order.

public static extern void SetSortOrder(IntPtr treeColumn, SortType order)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

order SortType

Transfer ownership: None Nullable: False

SetSpacing(IntPtr, int)

Calls native method gtk_tree_view_column_set_spacing.

public static extern void SetSpacing(IntPtr treeColumn, int spacing)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

spacing int

Transfer ownership: None Nullable: False

SetTitle(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_tree_view_column_set_title.

public static extern void SetTitle(IntPtr treeColumn, NonNullableUtf8StringHandle title)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetVisible(IntPtr, bool)

Calls native method gtk_tree_view_column_set_visible.

public static extern void SetVisible(IntPtr treeColumn, bool visible)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

visible bool

Transfer ownership: None Nullable: False

SetWidget(IntPtr, IntPtr)

Calls native method gtk_tree_view_column_set_widget.

public static extern void SetWidget(IntPtr treeColumn, IntPtr widget)

Parameters

treeColumn IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: True