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
constructArgumentsConstructArgument[]
CellRendererPixbuf(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CellRendererPixbuf(CreationData data)
Parameters
dataCreationData
CellRendererPixbuf(CellRendererPixbufHandle)
protected CellRendererPixbuf(CellRendererPixbufHandle handle)
Parameters
handleCellRendererPixbufHandle
Fields
GiconPropertyDefinition
public static readonly Property<Icon, CellRendererPixbuf> GiconPropertyDefinition
Field Value
IconNamePropertyDefinition
public static readonly Property<string?, CellRendererPixbuf> IconNamePropertyDefinition
Field Value
IconSizePropertyDefinition
public static readonly Property<IconSize, CellRendererPixbuf> IconSizePropertyDefinition
Field Value
PixbufExpanderClosedPropertyDefinition
public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufExpanderClosedPropertyDefinition
Field Value
PixbufExpanderOpenPropertyDefinition
public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufExpanderOpenPropertyDefinition
Field Value
PixbufPropertyDefinition
public static readonly Property<Pixbuf?, CellRendererPixbuf> PixbufPropertyDefinition
Field Value
TexturePropertyDefinition
public static readonly Property<Texture?, CellRendererPixbuf> TexturePropertyDefinition
Field Value
Properties
Gicon
public Icon Gicon { get; set; }
Property Value
IconName
public string? IconName { get; set; }
Property Value
IconSize
public IconSize IconSize { get; set; }
Property Value
Pixbuf
public Pixbuf? Pixbuf { set; }
Property Value
PixbufExpanderClosed
public Pixbuf? PixbufExpanderClosed { get; set; }
Property Value
PixbufExpanderOpen
public Pixbuf? PixbufExpanderOpen { get; set; }
Property Value
Texture
public Texture? Texture { get; set; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
New()
public static CellRendererPixbuf New()
Returns
NewFromPointer(nint, bool)
Creates a new managed CellRendererPixbuf instance for a given pointer.
public static CellRendererPixbuf NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CellRendererPixbuf and sets the properties specified by the construct arguments.
public static CellRendererPixbuf NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.