Class CheckButton
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class CheckButton : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Actionable, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
CheckButton
- Implements
- Inherited Members
Constructors
CheckButton()
public CheckButton()
CheckButton(params ConstructArgument[])
protected CheckButton(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
CheckButton(IntPtr, bool)
protected CheckButton(IntPtr ptr, bool ownedRef)
Parameters
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<CheckButton> ActivateSignal
Field Value
ActivePropertyDefinition
public static readonly Property<bool, CheckButton> ActivePropertyDefinition
Field Value
ChildPropertyDefinition
public static readonly Property<Widget?, CheckButton> ChildPropertyDefinition
Field Value
GroupPropertyDefinition
public static readonly Property<CheckButton?, CheckButton> GroupPropertyDefinition
Field Value
InconsistentPropertyDefinition
public static readonly Property<bool, CheckButton> InconsistentPropertyDefinition
Field Value
LabelPropertyDefinition
public static readonly Property<string?, CheckButton> LabelPropertyDefinition
Field Value
ToggledSignal
Signal Descriptor for OnToggled.
public static readonly Signal<CheckButton> ToggledSignal
Field Value
UseUnderlinePropertyDefinition
public static readonly Property<bool, CheckButton> UseUnderlinePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
ActionName
public string? ActionName { get; set; }
Property Value
Active
public bool Active { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
Group
public CheckButton? Group { set; }
Property Value
Inconsistent
public bool Inconsistent { get; set; }
Property Value
Label
public string? Label { get; set; }
Property Value
UseUnderline
public bool UseUnderline { 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
GetActive()
public bool GetActive()
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
GetChild()
[Version("4.8")]
public Widget? GetChild()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetInconsistent()
public bool GetInconsistent()
Returns
GetLabel()
public string? GetLabel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetUseUnderline()
public bool GetUseUnderline()
Returns
New()
public static CheckButton New()
Returns
NewWithLabel(string?)
public static CheckButton NewWithLabel(string? label)
Parameters
label
string
Returns
NewWithMnemonic(string?)
public static CheckButton NewWithMnemonic(string? label)
Parameters
label
string
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
SetActive(bool)
public void SetActive(bool setting)
Parameters
setting
bool
SetChild(Widget?)
[Version("4.8")]
public void SetChild(Widget? child)
Parameters
child
Widget
SetDetailedActionName(string)
public void SetDetailedActionName(string detailedActionName)
Parameters
detailedActionName
string
SetGroup(CheckButton?)
public void SetGroup(CheckButton? group)
Parameters
group
CheckButton
SetInconsistent(bool)
public void SetInconsistent(bool inconsistent)
Parameters
inconsistent
bool
SetLabel(string?)
public void SetLabel(string? label)
Parameters
label
string
SetUseUnderline(bool)
public void SetUseUnderline(bool setting)
Parameters
setting
bool
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnActivate
public event SignalHandler<CheckButton> OnActivate
Event Type
OnToggled
public event SignalHandler<CheckButton> OnToggled