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
protected LockButton(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
protected LockButton(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
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>
public static readonly Property<string?, LockButton> TooltipLockPropertyDefinition
Field Value
- Property<string, LockButton>
public static readonly Property<string?, LockButton> TooltipNotAuthorizedPropertyDefinition
Field Value
- Property<string, LockButton>
public static readonly Property<string?, LockButton> TooltipUnlockPropertyDefinition
Field Value
- Property<string, LockButton>
Properties
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
public string? ActionName { get; set; }
Property Value
- string
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
public string? TooltipLock { get; set; }
Property Value
- string
public string? TooltipNotAuthorized { get; set; }
Property Value
- string
public string? TooltipUnlock { get; set; }
Property Value
- string
Methods
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
public string? GetActionName()
Returns
- string
public Variant? GetActionTargetValue()
Returns
- Variant
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
[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
public string? GetBuildableId()
Returns
- string
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
public static Type GetGType()
Returns
- Type
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
public Permission? GetPermission()
Returns
- Permission
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
public static LockButton New(Permission? permission)
Parameters
permission
Permission
Returns
- LockButton
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
public void SetActionName(string? actionName)
Parameters
actionName
string
public void SetActionTargetValue(Variant? targetValue)
Parameters
targetValue
Variant
public void SetDetailedActionName(string detailedActionName)
Parameters
detailedActionName
string
public void SetPermission(Permission? permission)
Parameters
permission
Permission
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible