Table of Contents

Class BuilderListItemFactory

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

BuilderListItemFactory(CreationData)

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

Parameters

data CreationData

BuilderListItemFactory(BuilderListItemFactoryHandle)

protected BuilderListItemFactory(BuilderListItemFactoryHandle handle)

Parameters

handle BuilderListItemFactoryHandle

Fields

BytesPropertyDefinition

public static readonly Property<Bytes, BuilderListItemFactory> BytesPropertyDefinition

Field Value

Property<Bytes, BuilderListItemFactory>

ResourcePropertyDefinition

public static readonly Property<string?, BuilderListItemFactory> ResourcePropertyDefinition

Field Value

Property<string, BuilderListItemFactory>

ScopePropertyDefinition

public static readonly Property<BuilderScope, BuilderListItemFactory> ScopePropertyDefinition

Field Value

Property<BuilderScope, BuilderListItemFactory>

Properties

Bytes

public Bytes Bytes { get; }

Property Value

Bytes

Resource

public string? Resource { get; }

Property Value

string

Scope

public BuilderScope Scope { get; }

Property Value

BuilderScope

Methods

GetBytes()

public Bytes GetBytes()

Returns

Bytes

GetGType()

public static Type GetGType()

Returns

Type

GetResource()

public string? GetResource()

Returns

string

GetScope()

public BuilderScope? GetScope()

Returns

BuilderScope

NewFromBytes(BuilderScope?, Bytes)

public static BuilderListItemFactory NewFromBytes(BuilderScope? scope, Bytes bytes)

Parameters

scope BuilderScope
bytes Bytes

Returns

BuilderListItemFactory

NewFromPointer(nint, bool)

Creates a new managed BuilderListItemFactory instance for a given pointer.

public static BuilderListItemFactory NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

BuilderListItemFactory

NewFromResource(BuilderScope?, string)

public static BuilderListItemFactory NewFromResource(BuilderScope? scope, string resourcePath)

Parameters

scope BuilderScope
resourcePath string

Returns

BuilderListItemFactory

NewWithProperties(ConstructArgument[])

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

public static BuilderListItemFactory NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

BuilderListItemFactory