Table of Contents

Class ListHeader

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

Constructors

ListHeader(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 ListHeader(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ListHeader(CreationData)

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

Parameters

data CreationData

ListHeader(ListHeaderHandle)

protected ListHeader(ListHeaderHandle handle)

Parameters

handle ListHeaderHandle

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, ListHeader> ChildPropertyDefinition

Field Value

Property<Widget, ListHeader>

EndPropertyDefinition

public static readonly Property<uint, ListHeader> EndPropertyDefinition

Field Value

Property<uint, ListHeader>

ItemPropertyDefinition

public static readonly Property<Object?, ListHeader> ItemPropertyDefinition

Field Value

Property<Object, ListHeader>

NItemsPropertyDefinition

public static readonly Property<uint, ListHeader> NItemsPropertyDefinition

Field Value

Property<uint, ListHeader>

StartPropertyDefinition

public static readonly Property<uint, ListHeader> StartPropertyDefinition

Field Value

Property<uint, ListHeader>

Properties

Child

public Widget? Child { get; set; }

Property Value

Widget

End

public uint End { get; }

Property Value

uint

Item

public Object? Item { get; }

Property Value

Object

NItems

public uint NItems { get; }

Property Value

uint

Start

public uint Start { get; }

Property Value

uint

Methods

GetChild()

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

Returns

Widget

GetEnd()

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

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetItem()

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

Returns

Object

GetNItems()

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

Returns

uint

GetStart()

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

Returns

uint

NewFromPointer(nint, bool)

Creates a new managed ListHeader instance for a given pointer.

public static ListHeader NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ListHeader

NewWithProperties(ConstructArgument[])

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

public static ListHeader NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ListHeader

SetChild(Widget?)

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

Parameters

child Widget