Class MarkAttributes
- Namespace
- GtkSource
- Assembly
- GtkSource-5.dll
public class MarkAttributes : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
MarkAttributes
- Implements
- Inherited Members
Constructors
MarkAttributes(params ConstructArgument[])
public MarkAttributes(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
MarkAttributes(MarkAttributesHandle)
public MarkAttributes(MarkAttributesHandle handle)
Parameters
handle
MarkAttributesHandle
Fields
BackgroundPropertyDefinition
public static readonly Property<RGBA, MarkAttributes> BackgroundPropertyDefinition
Field Value
GiconPropertyDefinition
public static readonly Property<Icon, MarkAttributes> GiconPropertyDefinition
Field Value
IconNamePropertyDefinition
public static readonly Property<string?, MarkAttributes> IconNamePropertyDefinition
Field Value
PixbufPropertyDefinition
public static readonly Property<Pixbuf?, MarkAttributes> PixbufPropertyDefinition
Field Value
QueryTooltipMarkupSignal
Signal Descriptor for OnQueryTooltipMarkup.
public static readonly ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipMarkupSignalArgs, string> QueryTooltipMarkupSignal
Field Value
QueryTooltipTextSignal
Signal Descriptor for OnQueryTooltipText.
public static readonly ReturningSignal<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string> QueryTooltipTextSignal
Field Value
Properties
Background
public RGBA Background { get; set; }
Property Value
Gicon
public Icon Gicon { get; set; }
Property Value
IconName
public string? IconName { get; set; }
Property Value
Pixbuf
public Pixbuf? Pixbuf { get; set; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetGicon()
public Icon GetGicon()
Returns
GetIconName()
public string GetIconName()
Returns
GetPixbuf()
public Pixbuf GetPixbuf()
Returns
GetTooltipMarkup(Mark)
public string GetTooltipMarkup(Mark mark)
Parameters
mark
Mark
Returns
GetTooltipText(Mark)
public string GetTooltipText(Mark mark)
Parameters
mark
Mark
Returns
New()
public static MarkAttributes New()
Returns
RenderIcon(Widget, int)
public Paintable RenderIcon(Widget widget, int size)
Parameters
Returns
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
OnQueryTooltipText
public event ReturningSignalHandler<MarkAttributes, MarkAttributes.QueryTooltipTextSignalArgs, string> OnQueryTooltipText