Table of Contents

Class LockButton

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

Constructors

LockButton()

public LockButton()

LockButton(params ConstructArgument[])

protected LockButton(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

LockButton(IntPtr, bool)

protected LockButton(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

PermissionPropertyDefinition

public static readonly Property<Permission?, LockButton> PermissionPropertyDefinition

Field Value

Property<Permission, LockButton>

TextLockPropertyDefinition

public static readonly Property<string?, LockButton> TextLockPropertyDefinition

Field Value

Property<string, LockButton>

TextUnlockPropertyDefinition

public static readonly Property<string?, LockButton> TextUnlockPropertyDefinition

Field Value

Property<string, LockButton>

TooltipLockPropertyDefinition

public static readonly Property<string?, LockButton> TooltipLockPropertyDefinition

Field Value

Property<string, LockButton>

TooltipNotAuthorizedPropertyDefinition

public static readonly Property<string?, LockButton> TooltipNotAuthorizedPropertyDefinition

Field Value

Property<string, LockButton>

TooltipUnlockPropertyDefinition

public static readonly Property<string?, LockButton> TooltipUnlockPropertyDefinition

Field Value

Property<string, LockButton>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

ActionName

public string? ActionName { get; set; }

Property Value

string

Permission

public Permission? Permission { get; set; }

Property Value

Permission

TextLock

public string? TextLock { get; set; }

Property Value

string

TextUnlock

public string? TextUnlock { get; set; }

Property Value

string

TooltipLock

public string? TooltipLock { get; set; }

Property Value

string

TooltipNotAuthorized

public string? TooltipNotAuthorized { get; set; }

Property Value

string

TooltipUnlock

public string? TooltipUnlock { get; set; }

Property Value

string

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

GetPermission()

public Permission? GetPermission()

Returns

Permission

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

New(Permission?)

public static LockButton New(Permission? permission)

Parameters

permission Permission

Returns

LockButton

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

SetPermission(Permission?)

public void SetPermission(Permission? permission)

Parameters

permission Permission

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible