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
constructArgumentsConstructArgument[]
BuilderListItemFactory(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BuilderListItemFactory(CreationData data)
Parameters
dataCreationData
BuilderListItemFactory(BuilderListItemFactoryHandle)
protected BuilderListItemFactory(BuilderListItemFactoryHandle handle)
Parameters
handleBuilderListItemFactoryHandle
Fields
BytesPropertyDefinition
public static readonly Property<Bytes, BuilderListItemFactory> BytesPropertyDefinition
Field Value
ResourcePropertyDefinition
public static readonly Property<string?, BuilderListItemFactory> ResourcePropertyDefinition
Field Value
ScopePropertyDefinition
public static readonly Property<BuilderScope, BuilderListItemFactory> ScopePropertyDefinition
Field Value
Properties
Bytes
public Bytes Bytes { get; }
Property Value
Resource
public string? Resource { get; }
Property Value
Scope
public BuilderScope Scope { get; }
Property Value
Methods
GetBytes()
public Bytes GetBytes()
Returns
GetGType()
public static Type GetGType()
Returns
GetResource()
public string? GetResource()
Returns
GetScope()
public BuilderScope? GetScope()
Returns
NewFromBytes(BuilderScope?, Bytes)
public static BuilderListItemFactory NewFromBytes(BuilderScope? scope, Bytes bytes)
Parameters
scopeBuilderScopebytesBytes
Returns
NewFromPointer(nint, bool)
Creates a new managed BuilderListItemFactory instance for a given pointer.
public static BuilderListItemFactory NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewFromResource(BuilderScope?, string)
public static BuilderListItemFactory NewFromResource(BuilderScope? scope, string resourcePath)
Parameters
scopeBuilderScoperesourcePathstring
Returns
NewWithProperties(ConstructArgument[])
Creates a new BuilderListItemFactory and sets the properties specified by the construct arguments.
public static BuilderListItemFactory NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.