Table of Contents

Class ColumnViewCell

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ColumnViewCell : ListItem, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
ColumnViewCell
Implements
Inherited Members

Constructors

ColumnViewCell(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ColumnViewCell(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ColumnViewCell(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ColumnViewCell(CreationData data)

Parameters

data CreationData

ColumnViewCell(ColumnViewCellHandle)

protected ColumnViewCell(ColumnViewCellHandle handle)

Parameters

handle ColumnViewCellHandle

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, ColumnViewCell> ChildPropertyDefinition

Field Value

Property<Widget, ColumnViewCell>

FocusablePropertyDefinition

public static readonly Property<bool, ColumnViewCell> FocusablePropertyDefinition

Field Value

Property<bool, ColumnViewCell>

ItemPropertyDefinition

public static readonly Property<Object?, ColumnViewCell> ItemPropertyDefinition

Field Value

Property<Object, ColumnViewCell>

PositionPropertyDefinition

public static readonly Property<uint, ColumnViewCell> PositionPropertyDefinition

Field Value

Property<uint, ColumnViewCell>

SelectedPropertyDefinition

public static readonly Property<bool, ColumnViewCell> SelectedPropertyDefinition

Field Value

Property<bool, ColumnViewCell>

Properties

Child

public Widget? Child { get; set; }

Property Value

Widget

Focusable

public bool Focusable { get; set; }

Property Value

bool

Item

public Object? Item { get; }

Property Value

Object

Position

public uint Position { get; }

Property Value

uint

Selected

public bool Selected { get; }

Property Value

bool

Methods

GetChild()

[Version("4.12")]
public Widget? GetChild()

Returns

Widget

GetFocusable()

[Version("4.12")]
public bool GetFocusable()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetItem()

[Version("4.12")]
public Object? GetItem()

Returns

Object

GetPosition()

[Version("4.12")]
public uint GetPosition()

Returns

uint

GetSelected()

[Version("4.12")]
public bool GetSelected()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed ColumnViewCell instance for a given pointer.

public static ColumnViewCell NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ColumnViewCell

NewWithProperties(ConstructArgument[])

Creates a new ColumnViewCell and sets the properties specified by the construct arguments.

public static ColumnViewCell NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ColumnViewCell

SetChild(Widget?)

[Version("4.12")]
public void SetChild(Widget? child)

Parameters

child Widget

SetFocusable(bool)

[Version("4.12")]
public void SetFocusable(bool focusable)

Parameters

focusable bool