Table of Contents

Class CellRendererProgress

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CellRendererProgress : CellRenderer, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
CellRendererProgress
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

CellRendererProgress(CreationData)

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

Parameters

data CreationData

CellRendererProgress(CellRendererProgressHandle)

protected CellRendererProgress(CellRendererProgressHandle handle)

Parameters

handle CellRendererProgressHandle

Fields

InvertedPropertyDefinition

public static readonly Property<bool, CellRendererProgress> InvertedPropertyDefinition

Field Value

Property<bool, CellRendererProgress>

PulsePropertyDefinition

public static readonly Property<int, CellRendererProgress> PulsePropertyDefinition

Field Value

Property<int, CellRendererProgress>

TextPropertyDefinition

public static readonly Property<string?, CellRendererProgress> TextPropertyDefinition

Field Value

Property<string, CellRendererProgress>

TextXalignPropertyDefinition

public static readonly Property<float, CellRendererProgress> TextXalignPropertyDefinition

Field Value

Property<float, CellRendererProgress>

TextYalignPropertyDefinition

public static readonly Property<float, CellRendererProgress> TextYalignPropertyDefinition

Field Value

Property<float, CellRendererProgress>

ValuePropertyDefinition

public static readonly Property<int, CellRendererProgress> ValuePropertyDefinition

Field Value

Property<int, CellRendererProgress>

Properties

Inverted

public bool Inverted { get; set; }

Property Value

bool

Pulse

public int Pulse { get; set; }

Property Value

int

Text

public string? Text { get; set; }

Property Value

string

TextXalign

public float TextXalign { get; set; }

Property Value

float

TextYalign

public float TextYalign { get; set; }

Property Value

float

Value

public int Value { get; set; }

Property Value

int

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

New()

public static CellRendererProgress New()

Returns

CellRendererProgress

NewFromPointer(nint, bool)

Creates a new managed CellRendererProgress instance for a given pointer.

public static CellRendererProgress NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CellRendererProgress

NewWithProperties(ConstructArgument[])

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

public static CellRendererProgress NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CellRendererProgress

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation