Table of Contents

Class CellRendererPixbuf

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

CellRendererPixbuf(CreationData)

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

Parameters

data CreationData

CellRendererPixbuf(CellRendererPixbufHandle)

protected CellRendererPixbuf(CellRendererPixbufHandle handle)

Parameters

handle CellRendererPixbufHandle

Fields

GiconPropertyDefinition

public static readonly Property<Icon, CellRendererPixbuf> GiconPropertyDefinition

Field Value

Property<Icon, CellRendererPixbuf>

IconNamePropertyDefinition

public static readonly Property<string?, CellRendererPixbuf> IconNamePropertyDefinition

Field Value

Property<string, CellRendererPixbuf>

IconSizePropertyDefinition

public static readonly Property<IconSize, CellRendererPixbuf> IconSizePropertyDefinition

Field Value

Property<IconSize, CellRendererPixbuf>

PixbufExpanderClosedPropertyDefinition

public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufExpanderClosedPropertyDefinition

Field Value

Property<Pixbuf, CellRendererPixbuf>

PixbufExpanderOpenPropertyDefinition

public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufExpanderOpenPropertyDefinition

Field Value

Property<Pixbuf, CellRendererPixbuf>

PixbufPropertyDefinition

public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufPropertyDefinition

Field Value

Property<Pixbuf, CellRendererPixbuf>

TexturePropertyDefinition

public static readonly Property<Texture?, CellRendererPixbuf> TexturePropertyDefinition

Field Value

Property<Texture, CellRendererPixbuf>

Properties

Gicon

public Icon Gicon { get; set; }

Property Value

Icon

IconName

public string? IconName { get; set; }

Property Value

string

IconSize

public IconSize IconSize { get; set; }

Property Value

IconSize

Pixbuf

public Pixbuf? Pixbuf { set; }

Property Value

Pixbuf

PixbufExpanderClosed

public Pixbuf? PixbufExpanderClosed { get; set; }

Property Value

Pixbuf

PixbufExpanderOpen

public Pixbuf? PixbufExpanderOpen { get; set; }

Property Value

Pixbuf

Texture

public Texture? Texture { get; set; }

Property Value

Texture

Methods

GetGType()

public static Type GetGType()

Returns

Type

New()

public static CellRendererPixbuf New()

Returns

CellRendererPixbuf

NewFromPointer(nint, bool)

Creates a new managed CellRendererPixbuf instance for a given pointer.

public static CellRendererPixbuf NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CellRendererPixbuf

NewWithProperties(ConstructArgument[])

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

public static CellRendererPixbuf NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CellRendererPixbuf