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
Fields
ActivateLinkSignal
Signal Descriptor for OnActivateLink.
public static readonly ReturningSignal<LinkButton, bool> ActivateLinkSignal
Field Value
UriPropertyDefinition
public static readonly Property<string?, LinkButton> UriPropertyDefinition
Field Value
VisitedPropertyDefinition
public static readonly Property<bool, LinkButton> VisitedPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
ActionName
public string? ActionName { get; set; }
Property Value
Uri
public string? Uri { get; set; }
Property Value
Visited
public bool Visited { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetActionName()
public string? GetActionName()
Returns
GetActionTargetValue()
public Variant? GetActionTargetValue()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetUri()
public string GetUri()
Returns
GetVisited()
public bool GetVisited()
Returns
New(string)
public static LinkButton New(string uri)
Parameters
uri
string
Returns
NewWithLabel(string, string?)
public static LinkButton NewWithLabel(string uri, string? label)
Parameters
Returns
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
AccessiblenextSibling
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
OnActivateLink
public event ReturningSignalHandler<LinkButton, bool> OnActivateLink