Table of Contents

Class ColumnView

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ColumnView : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Scrollable, IHandle, GTypeProvider
Inheritance
ColumnView
Implements
Inherited Members

Constructors

ColumnView()

public ColumnView()

ColumnView(params ConstructArgument[])

protected ColumnView(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ColumnView(IntPtr, bool)

protected ColumnView(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ActivateSignal

Signal Descriptor for OnActivate.

public static readonly Signal<ColumnView, ColumnView.ActivateSignalArgs> ActivateSignal

Field Value

Signal<ColumnView, ColumnView.ActivateSignalArgs>

ColumnsPropertyDefinition

public static readonly Property<ListModel, ColumnView> ColumnsPropertyDefinition

Field Value

Property<ListModel, ColumnView>

EnableRubberbandPropertyDefinition

public static readonly Property<bool, ColumnView> EnableRubberbandPropertyDefinition

Field Value

Property<bool, ColumnView>

HeaderFactoryPropertyDefinition

public static readonly Property<ListItemFactory?, ColumnView> HeaderFactoryPropertyDefinition

Field Value

Property<ListItemFactory, ColumnView>

ModelPropertyDefinition

public static readonly Property<SelectionModel, ColumnView> ModelPropertyDefinition

Field Value

Property<SelectionModel, ColumnView>

ReorderablePropertyDefinition

public static readonly Property<bool, ColumnView> ReorderablePropertyDefinition

Field Value

Property<bool, ColumnView>

RowFactoryPropertyDefinition

public static readonly Property<ListItemFactory?, ColumnView> RowFactoryPropertyDefinition

Field Value

Property<ListItemFactory, ColumnView>

ShowColumnSeparatorsPropertyDefinition

public static readonly Property<bool, ColumnView> ShowColumnSeparatorsPropertyDefinition

Field Value

Property<bool, ColumnView>

ShowRowSeparatorsPropertyDefinition

public static readonly Property<bool, ColumnView> ShowRowSeparatorsPropertyDefinition

Field Value

Property<bool, ColumnView>

SingleClickActivatePropertyDefinition

public static readonly Property<bool, ColumnView> SingleClickActivatePropertyDefinition

Field Value

Property<bool, ColumnView>

SorterPropertyDefinition

public static readonly Property<Sorter?, ColumnView> SorterPropertyDefinition

Field Value

Property<Sorter, ColumnView>

TabBehaviorPropertyDefinition

public static readonly Property<ListTabBehavior, ColumnView> TabBehaviorPropertyDefinition

Field Value

Property<ListTabBehavior, ColumnView>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Columns

public ListModel Columns { get; }

Property Value

ListModel

EnableRubberband

public bool EnableRubberband { get; set; }

Property Value

bool

Hadjustment

public Adjustment? Hadjustment { get; set; }

Property Value

Adjustment

HeaderFactory

public ListItemFactory? HeaderFactory { get; set; }

Property Value

ListItemFactory

HscrollPolicy

public ScrollablePolicy HscrollPolicy { get; set; }

Property Value

ScrollablePolicy

Model

public SelectionModel Model { get; set; }

Property Value

SelectionModel

Reorderable

public bool Reorderable { get; set; }

Property Value

bool

RowFactory

public ListItemFactory? RowFactory { get; set; }

Property Value

ListItemFactory

ShowColumnSeparators

public bool ShowColumnSeparators { get; set; }

Property Value

bool

ShowRowSeparators

public bool ShowRowSeparators { get; set; }

Property Value

bool

SingleClickActivate

public bool SingleClickActivate { get; set; }

Property Value

bool

Sorter

public Sorter? Sorter { get; }

Property Value

Sorter

TabBehavior

public ListTabBehavior TabBehavior { get; set; }

Property Value

ListTabBehavior

Vadjustment

public Adjustment? Vadjustment { get; set; }

Property Value

Adjustment

VscrollPolicy

public ScrollablePolicy VscrollPolicy { get; set; }

Property Value

ScrollablePolicy

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

AppendColumn(ColumnViewColumn)

public void AppendColumn(ColumnViewColumn column)

Parameters

column ColumnViewColumn

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetColumns()

public ListModel GetColumns()

Returns

ListModel

GetEnableRubberband()

public bool GetEnableRubberband()

Returns

bool

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHadjustment()

public Adjustment? GetHadjustment()

Returns

Adjustment

GetHeaderFactory()

[Version("4.12")]
public ListItemFactory? GetHeaderFactory()

Returns

ListItemFactory

GetHscrollPolicy()

public ScrollablePolicy GetHscrollPolicy()

Returns

ScrollablePolicy

GetModel()

public SelectionModel? GetModel()

Returns

SelectionModel

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetReorderable()

public bool GetReorderable()

Returns

bool

GetRowFactory()

[Version("4.12")]
public ListItemFactory? GetRowFactory()

Returns

ListItemFactory

GetShowColumnSeparators()

public bool GetShowColumnSeparators()

Returns

bool

GetShowRowSeparators()

public bool GetShowRowSeparators()

Returns

bool

GetSingleClickActivate()

public bool GetSingleClickActivate()

Returns

bool

GetSorter()

public Sorter? GetSorter()

Returns

Sorter

GetTabBehavior()

[Version("4.12")]
public ListTabBehavior GetTabBehavior()

Returns

ListTabBehavior

GetVadjustment()

public Adjustment? GetVadjustment()

Returns

Adjustment

GetVscrollPolicy()

public ScrollablePolicy GetVscrollPolicy()

Returns

ScrollablePolicy

InsertColumn(uint, ColumnViewColumn)

public void InsertColumn(uint position, ColumnViewColumn column)

Parameters

position uint
column ColumnViewColumn

New(SelectionModel?)

public static ColumnView New(SelectionModel? model)

Parameters

model SelectionModel

Returns

ColumnView

RemoveColumn(ColumnViewColumn)

public void RemoveColumn(ColumnViewColumn column)

Parameters

column ColumnViewColumn

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

ScrollTo(uint, ColumnViewColumn?, ListScrollFlags, ScrollInfo?)

[Version("4.12")]
public void ScrollTo(uint pos, ColumnViewColumn? column, ListScrollFlags flags, ScrollInfo? scroll)

Parameters

pos uint
column ColumnViewColumn
flags ListScrollFlags
scroll ScrollInfo

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetEnableRubberband(bool)

public void SetEnableRubberband(bool enableRubberband)

Parameters

enableRubberband bool

SetHadjustment(Adjustment?)

public void SetHadjustment(Adjustment? hadjustment)

Parameters

hadjustment Adjustment

SetHeaderFactory(ListItemFactory?)

[Version("4.12")]
public void SetHeaderFactory(ListItemFactory? factory)

Parameters

factory ListItemFactory

SetHscrollPolicy(ScrollablePolicy)

public void SetHscrollPolicy(ScrollablePolicy policy)

Parameters

policy ScrollablePolicy

SetModel(SelectionModel?)

public void SetModel(SelectionModel? model)

Parameters

model SelectionModel

SetReorderable(bool)

public void SetReorderable(bool reorderable)

Parameters

reorderable bool

SetRowFactory(ListItemFactory?)

[Version("4.12")]
public void SetRowFactory(ListItemFactory? factory)

Parameters

factory ListItemFactory

SetShowColumnSeparators(bool)

public void SetShowColumnSeparators(bool showColumnSeparators)

Parameters

showColumnSeparators bool

SetShowRowSeparators(bool)

public void SetShowRowSeparators(bool showRowSeparators)

Parameters

showRowSeparators bool

SetSingleClickActivate(bool)

public void SetSingleClickActivate(bool singleClickActivate)

Parameters

singleClickActivate bool

SetTabBehavior(ListTabBehavior)

[Version("4.12")]
public void SetTabBehavior(ListTabBehavior tabBehavior)

Parameters

tabBehavior ListTabBehavior

SetVadjustment(Adjustment?)

public void SetVadjustment(Adjustment? vadjustment)

Parameters

vadjustment Adjustment

SetVscrollPolicy(ScrollablePolicy)

public void SetVscrollPolicy(ScrollablePolicy policy)

Parameters

policy ScrollablePolicy

SortByColumn(ColumnViewColumn?, SortType)

public void SortByColumn(ColumnViewColumn? column, SortType direction)

Parameters

column ColumnViewColumn
direction SortType

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

OnActivate

public event SignalHandler<ColumnView, ColumnView.ActivateSignalArgs> OnActivate

Event Type

SignalHandler<ColumnView, ColumnView.ActivateSignalArgs>