Table of Contents

Class LinkButton

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class LinkButton : Button, IObject, INotifyPropertyChanged, IDisposable, Accessible, Actionable, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
LinkButton
Implements
Inherited Members

Constructors

LinkButton()

public LinkButton()

LinkButton(params ConstructArgument[])

protected LinkButton(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

LinkButton(IntPtr, bool)

protected LinkButton(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ActivateLinkSignal

Signal Descriptor for OnActivateLink.

public static readonly ReturningSignal<LinkButton, bool> ActivateLinkSignal

Field Value

ReturningSignal<LinkButton, bool>

UriPropertyDefinition

public static readonly Property<string?, LinkButton> UriPropertyDefinition

Field Value

Property<string, LinkButton>

VisitedPropertyDefinition

public static readonly Property<bool, LinkButton> VisitedPropertyDefinition

Field Value

Property<bool, LinkButton>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

ActionName

public string? ActionName { get; set; }

Property Value

string

Uri

public string? Uri { get; set; }

Property Value

string

Visited

public bool Visited { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetActionName()

public string? GetActionName()

Returns

string

GetActionTargetValue()

public Variant? GetActionTargetValue()

Returns

Variant

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetUri()

public string GetUri()

Returns

string

GetVisited()

public bool GetVisited()

Returns

bool

New(string)

public static LinkButton New(string uri)

Parameters

uri string

Returns

LinkButton

NewWithLabel(string, string?)

public static LinkButton NewWithLabel(string uri, string? label)

Parameters

uri string
label string

Returns

LinkButton

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetActionName(string?)

public void SetActionName(string? actionName)

Parameters

actionName string

SetActionTargetValue(Variant?)

public void SetActionTargetValue(Variant? targetValue)

Parameters

targetValue Variant

SetDetailedActionName(string)

public void SetDetailedActionName(string detailedActionName)

Parameters

detailedActionName string

SetUri(string)

public void SetUri(string uri)

Parameters

uri string

SetVisited(bool)

public void SetVisited(bool visited)

Parameters

visited bool

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

public event ReturningSignalHandler<LinkButton, bool> OnActivateLink

Event Type

ReturningSignalHandler<LinkButton, bool>