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
constructArgumentsConstructArgument[]
ListHeader(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ListHeader(CreationData data)
Parameters
dataCreationData
ListHeader(ListHeaderHandle)
protected ListHeader(ListHeaderHandle handle)
Parameters
handleListHeaderHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, ListHeader> ChildPropertyDefinition
Field Value
EndPropertyDefinition
public static readonly Property<uint, ListHeader> EndPropertyDefinition
Field Value
ItemPropertyDefinition
public static readonly Property<Object?, ListHeader> ItemPropertyDefinition
Field Value
NItemsPropertyDefinition
public static readonly Property<uint, ListHeader> NItemsPropertyDefinition
Field Value
StartPropertyDefinition
public static readonly Property<uint, ListHeader> StartPropertyDefinition
Field Value
Properties
Child
public Widget? Child { get; set; }
Property Value
End
public uint End { get; }
Property Value
Item
public Object? Item { get; }
Property Value
NItems
public uint NItems { get; }
Property Value
Start
public uint Start { get; }
Property Value
Methods
GetChild()
[Version("4.12")]
public Widget? GetChild()
Returns
GetEnd()
[Version("4.12")]
public uint GetEnd()
Returns
GetGType()
public static Type GetGType()
Returns
GetItem()
[Version("4.12")]
public Object? GetItem()
Returns
GetNItems()
[Version("4.12")]
public uint GetNItems()
Returns
GetStart()
[Version("4.12")]
public uint GetStart()
Returns
NewFromPointer(nint, bool)
Creates a new managed ListHeader instance for a given pointer.
public static ListHeader NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ListHeader and sets the properties specified by the construct arguments.
public static ListHeader NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetChild(Widget?)
[Version("4.12")]
public void SetChild(Widget? child)
Parameters
childWidget