Table of Contents

Class TreeViewColumn

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class TreeViewColumn : InitiallyUnowned, IObject, INotifyPropertyChanged, IDisposable, Buildable, CellLayout, IHandle, GTypeProvider
Inheritance
TreeViewColumn
Implements
Inherited Members

Constructors

TreeViewColumn()

public TreeViewColumn()

TreeViewColumn(params ConstructArgument[])

protected TreeViewColumn(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

TreeViewColumn(IntPtr, bool)

protected TreeViewColumn(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AlignmentPropertyDefinition

public static readonly Property<float, TreeViewColumn> AlignmentPropertyDefinition

Field Value

Property<float, TreeViewColumn>

CellAreaPropertyDefinition

public static readonly Property<CellArea?, TreeViewColumn> CellAreaPropertyDefinition

Field Value

Property<CellArea, TreeViewColumn>

ClickablePropertyDefinition

public static readonly Property<bool, TreeViewColumn> ClickablePropertyDefinition

Field Value

Property<bool, TreeViewColumn>

ClickedSignal

Signal Descriptor for OnClicked.

public static readonly Signal<TreeViewColumn> ClickedSignal

Field Value

Signal<TreeViewColumn>

ExpandPropertyDefinition

public static readonly Property<bool, TreeViewColumn> ExpandPropertyDefinition

Field Value

Property<bool, TreeViewColumn>

FixedWidthPropertyDefinition

public static readonly Property<int, TreeViewColumn> FixedWidthPropertyDefinition

Field Value

Property<int, TreeViewColumn>

MaxWidthPropertyDefinition

public static readonly Property<int, TreeViewColumn> MaxWidthPropertyDefinition

Field Value

Property<int, TreeViewColumn>

MinWidthPropertyDefinition

public static readonly Property<int, TreeViewColumn> MinWidthPropertyDefinition

Field Value

Property<int, TreeViewColumn>

ReorderablePropertyDefinition

public static readonly Property<bool, TreeViewColumn> ReorderablePropertyDefinition

Field Value

Property<bool, TreeViewColumn>

ResizablePropertyDefinition

public static readonly Property<bool, TreeViewColumn> ResizablePropertyDefinition

Field Value

Property<bool, TreeViewColumn>

SizingPropertyDefinition

public static readonly Property<TreeViewColumnSizing, TreeViewColumn> SizingPropertyDefinition

Field Value

Property<TreeViewColumnSizing, TreeViewColumn>

SortColumnIdPropertyDefinition

public static readonly Property<int, TreeViewColumn> SortColumnIdPropertyDefinition

Field Value

Property<int, TreeViewColumn>

SortIndicatorPropertyDefinition

public static readonly Property<bool, TreeViewColumn> SortIndicatorPropertyDefinition

Field Value

Property<bool, TreeViewColumn>

SortOrderPropertyDefinition

public static readonly Property<SortType, TreeViewColumn> SortOrderPropertyDefinition

Field Value

Property<SortType, TreeViewColumn>

SpacingPropertyDefinition

public static readonly Property<int, TreeViewColumn> SpacingPropertyDefinition

Field Value

Property<int, TreeViewColumn>

TitlePropertyDefinition

public static readonly Property<string?, TreeViewColumn> TitlePropertyDefinition

Field Value

Property<string, TreeViewColumn>

VisiblePropertyDefinition

public static readonly Property<bool, TreeViewColumn> VisiblePropertyDefinition

Field Value

Property<bool, TreeViewColumn>

WidgetPropertyDefinition

public static readonly Property<Widget?, TreeViewColumn> WidgetPropertyDefinition

Field Value

Property<Widget, TreeViewColumn>

WidthPropertyDefinition

public static readonly Property<int, TreeViewColumn> WidthPropertyDefinition

Field Value

Property<int, TreeViewColumn>

XOffsetPropertyDefinition

public static readonly Property<int, TreeViewColumn> XOffsetPropertyDefinition

Field Value

Property<int, TreeViewColumn>

Properties

Alignment

public float Alignment { get; set; }

Property Value

float

CellArea

public CellArea? CellArea { get; }

Property Value

CellArea

Clickable

public bool Clickable { get; set; }

Property Value

bool

Expand

public bool Expand { get; set; }

Property Value

bool

FixedWidth

public int FixedWidth { get; set; }

Property Value

int

MaxWidth

public int MaxWidth { get; set; }

Property Value

int

MinWidth

public int MinWidth { get; set; }

Property Value

int

Reorderable

public bool Reorderable { get; set; }

Property Value

bool

Resizable

public bool Resizable { get; set; }

Property Value

bool

Sizing

public TreeViewColumnSizing Sizing { get; set; }

Property Value

TreeViewColumnSizing

SortColumnId

public int SortColumnId { get; set; }

Property Value

int

SortIndicator

public bool SortIndicator { get; set; }

Property Value

bool

SortOrder

public SortType SortOrder { get; set; }

Property Value

SortType

Spacing

public int Spacing { get; set; }

Property Value

int

Title

public string? Title { get; set; }

Property Value

string

Visible

public bool Visible { get; set; }

Property Value

bool

Widget

public Widget? Widget { get; set; }

Property Value

Widget

Width

public int Width { get; }

Property Value

int

XOffset

public int XOffset { get; }

Property Value

int

Methods

AddAttribute(CellRenderer, string, int)

public void AddAttribute(CellRenderer cellRenderer, string attribute, int column)

Parameters

cellRenderer CellRenderer
attribute string
column int

CellGetPosition(CellRenderer, out int, out int)

public bool CellGetPosition(CellRenderer cellRenderer, out int xOffset, out int width)

Parameters

cellRenderer CellRenderer
xOffset int
width int

Returns

bool

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

public void CellGetSize(out int xOffset, out int yOffset, out int width, out int height)

Parameters

xOffset int
yOffset int
width int
height int

CellIsVisible()

public bool CellIsVisible()

Returns

bool

CellSetCellData(TreeModel, TreeIter, bool, bool)

public void CellSetCellData(TreeModel treeModel, TreeIter iter, bool isExpander, bool isExpanded)

Parameters

treeModel TreeModel
iter TreeIter
isExpander bool
isExpanded bool

Clear()

public void Clear()

ClearAttributes(CellRenderer)

public void ClearAttributes(CellRenderer cellRenderer)

Parameters

cellRenderer CellRenderer

Clicked()

public void Clicked()

FocusCell(CellRenderer)

public void FocusCell(CellRenderer cell)

Parameters

cell CellRenderer

GetAlignment()

public float GetAlignment()

Returns

float

GetArea()

public CellArea? GetArea()

Returns

CellArea

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetButton()

public Widget GetButton()

Returns

Widget

GetClickable()

public bool GetClickable()

Returns

bool

GetExpand()

public bool GetExpand()

Returns

bool

GetFixedWidth()

public int GetFixedWidth()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetMaxWidth()

public int GetMaxWidth()

Returns

int

GetMinWidth()

public int GetMinWidth()

Returns

int

GetReorderable()

public bool GetReorderable()

Returns

bool

GetResizable()

public bool GetResizable()

Returns

bool

GetSizing()

public TreeViewColumnSizing GetSizing()

Returns

TreeViewColumnSizing

GetSortColumnId()

public int GetSortColumnId()

Returns

int

GetSortIndicator()

public bool GetSortIndicator()

Returns

bool

GetSortOrder()

public SortType GetSortOrder()

Returns

SortType

GetSpacing()

public int GetSpacing()

Returns

int

GetTitle()

public string GetTitle()

Returns

string

GetTreeView()

public Widget? GetTreeView()

Returns

Widget

GetVisible()

public bool GetVisible()

Returns

bool

GetWidget()

public Widget? GetWidget()

Returns

Widget

GetWidth()

public int GetWidth()

Returns

int

GetXOffset()

public int GetXOffset()

Returns

int

New()

public static TreeViewColumn New()

Returns

TreeViewColumn

NewWithArea(CellArea)

public static TreeViewColumn NewWithArea(CellArea area)

Parameters

area CellArea

Returns

TreeViewColumn

PackEnd(CellRenderer, bool)

public void PackEnd(CellRenderer cell, bool expand)

Parameters

cell CellRenderer
expand bool

PackStart(CellRenderer, bool)

public void PackStart(CellRenderer cell, bool expand)

Parameters

cell CellRenderer
expand bool

QueueResize()

public void QueueResize()

Reorder(CellRenderer, int)

public void Reorder(CellRenderer cell, int position)

Parameters

cell CellRenderer
position int

SetAlignment(float)

public void SetAlignment(float xalign)

Parameters

xalign float

SetCellDataFunc(CellRenderer, CellLayoutDataFunc?)

public void SetCellDataFunc(CellRenderer cell, CellLayoutDataFunc? func)

Parameters

cell CellRenderer
func CellLayoutDataFunc

SetCellDataFunc(CellRenderer, TreeCellDataFunc?)

public void SetCellDataFunc(CellRenderer cellRenderer, TreeCellDataFunc? func)

Parameters

cellRenderer CellRenderer
func TreeCellDataFunc

SetClickable(bool)

public void SetClickable(bool clickable)

Parameters

clickable bool

SetExpand(bool)

public void SetExpand(bool expand)

Parameters

expand bool

SetFixedWidth(int)

public void SetFixedWidth(int fixedWidth)

Parameters

fixedWidth int

SetMaxWidth(int)

public void SetMaxWidth(int maxWidth)

Parameters

maxWidth int

SetMinWidth(int)

public void SetMinWidth(int minWidth)

Parameters

minWidth int

SetReorderable(bool)

public void SetReorderable(bool reorderable)

Parameters

reorderable bool

SetResizable(bool)

public void SetResizable(bool resizable)

Parameters

resizable bool

SetSizing(TreeViewColumnSizing)

public void SetSizing(TreeViewColumnSizing type)

Parameters

type TreeViewColumnSizing

SetSortColumnId(int)

public void SetSortColumnId(int sortColumnId)

Parameters

sortColumnId int

SetSortIndicator(bool)

public void SetSortIndicator(bool setting)

Parameters

setting bool

SetSortOrder(SortType)

public void SetSortOrder(SortType order)

Parameters

order SortType

SetSpacing(int)

public void SetSpacing(int spacing)

Parameters

spacing int

SetTitle(string)

public void SetTitle(string title)

Parameters

title string

SetVisible(bool)

public void SetVisible(bool visible)

Parameters

visible bool

SetWidget(Widget?)

public void SetWidget(Widget? widget)

Parameters

widget Widget

Events

OnClicked

public event SignalHandler<TreeViewColumn> OnClicked

Event Type

SignalHandler<TreeViewColumn>