Table of Contents

Class MarkAttributes

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class MarkAttributes : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
MarkAttributes
Implements
Inherited Members

Constructors

MarkAttributes(bool, params ConstructArgument[])

protected MarkAttributes(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

MarkAttributes(IntPtr, bool)

protected MarkAttributes(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BackgroundPropertyDefinition

public static readonly Property<RGBA, MarkAttributes> BackgroundPropertyDefinition

Field Value

Property<RGBA, MarkAttributes>

GiconPropertyDefinition

public static readonly Property<Icon, MarkAttributes> GiconPropertyDefinition

Field Value

Property<Icon, MarkAttributes>

IconNamePropertyDefinition

public static readonly Property<string?, MarkAttributes> IconNamePropertyDefinition

Field Value

Property<string, MarkAttributes>

PixbufPropertyDefinition

public static readonly Property<Pixbuf?, MarkAttributes> PixbufPropertyDefinition

Field Value

Property<Pixbuf, MarkAttributes>

QueryTooltipMarkupSignal

Signal Descriptor for OnQueryTooltipMarkup.

public static readonly ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipMarkupSignalArgs, string> QueryTooltipMarkupSignal

Field Value

ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipMarkupSignalArgs, string>

QueryTooltipTextSignal

Signal Descriptor for OnQueryTooltipText.

public static readonly ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string> QueryTooltipTextSignal

Field Value

ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string>

Properties

Background

public RGBA Background { get; set; }

Property Value

RGBA

Gicon

public Icon Gicon { get; set; }

Property Value

Icon

IconName

public string? IconName { get; set; }

Property Value

string

Pixbuf

public Pixbuf? Pixbuf { get; set; }

Property Value

Pixbuf

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetGicon()

public Icon GetGicon()

Returns

Icon

GetIconName()

public string GetIconName()

Returns

string

GetPixbuf()

public Pixbuf GetPixbuf()

Returns

Pixbuf

GetTooltipMarkup(Mark)

public string GetTooltipMarkup(Mark mark)

Parameters

mark Mark

Returns

string

GetTooltipText(Mark)

public string GetTooltipText(Mark mark)

Parameters

mark Mark

Returns

string

New()

public static MarkAttributes New()

Returns

MarkAttributes

RenderIcon(Widget, int)

public Paintable RenderIcon(Widget widget, int size)

Parameters

widget Widget
size int

Returns

Paintable

SetBackground(RGBA)

public void SetBackground(RGBA background)

Parameters

background RGBA

SetGicon(Icon)

public void SetGicon(Icon gicon)

Parameters

gicon Icon

SetIconName(string)

public void SetIconName(string iconName)

Parameters

iconName string

SetPixbuf(Pixbuf)

public void SetPixbuf(Pixbuf pixbuf)

Parameters

pixbuf Pixbuf

Events

OnQueryTooltipMarkup

public event ReturningSignalHandler<MarkAttributes, MarkAttributes.QueryTooltipMarkupSignalArgs, string> OnQueryTooltipMarkup

Event Type

ReturningSignalHandler<MarkAttributes, MarkAttributes.QueryTooltipMarkupSignalArgs, string>

OnQueryTooltipText

public event ReturningSignalHandler<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string> OnQueryTooltipText

Event Type

ReturningSignalHandler<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string>