Table of Contents

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

ptr IntPtr
ownedRef bool

Fields

ActivateSignal

Signal Descriptor for OnActivate.

public static readonly Signal<CheckButton> ActivateSignal

Field Value

Signal<CheckButton>

ActivePropertyDefinition

public static readonly Property<bool, CheckButton> ActivePropertyDefinition

Field Value

Property<bool, CheckButton>

ChildPropertyDefinition

public static readonly Property<Widget?, CheckButton> ChildPropertyDefinition

Field Value

Property<Widget, CheckButton>

GroupPropertyDefinition

public static readonly Property<CheckButton?, CheckButton> GroupPropertyDefinition

Field Value

Property<CheckButton, CheckButton>

InconsistentPropertyDefinition

public static readonly Property<bool, CheckButton> InconsistentPropertyDefinition

Field Value

Property<bool, CheckButton>

LabelPropertyDefinition

public static readonly Property<string?, CheckButton> LabelPropertyDefinition

Field Value

Property<string, CheckButton>

ToggledSignal

Signal Descriptor for OnToggled.

public static readonly Signal<CheckButton> ToggledSignal

Field Value

Signal<CheckButton>

UseUnderlinePropertyDefinition

public static readonly Property<bool, CheckButton> UseUnderlinePropertyDefinition

Field Value

Property<bool, CheckButton>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

ActionName

public string? ActionName { get; set; }

Property Value

string

Active

public bool Active { get; set; }

Property Value

bool

Child

public Widget? Child { get; set; }

Property Value

Widget

Group

public CheckButton? Group { set; }

Property Value

CheckButton

Inconsistent

public bool Inconsistent { get; set; }

Property Value

bool

Label

public string? Label { get; set; }

Property Value

string

UseUnderline

public bool UseUnderline { 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

GetActive()

public bool GetActive()

Returns

bool

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

GetChild()

[Version("4.8")]
public Widget? GetChild()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetInconsistent()

public bool GetInconsistent()

Returns

bool

GetLabel()

public string? GetLabel()

Returns

string

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetUseUnderline()

public bool GetUseUnderline()

Returns

bool

New()

public static CheckButton New()

Returns

CheckButton

NewWithLabel(string?)

public static CheckButton NewWithLabel(string? label)

Parameters

label string

Returns

CheckButton

NewWithMnemonic(string?)

public static CheckButton NewWithMnemonic(string? label)

Parameters

label string

Returns

CheckButton

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

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

SignalHandler<CheckButton>

OnToggled

public event SignalHandler<CheckButton> OnToggled

Event Type

SignalHandler<CheckButton>