Table of Contents

Class ToggleGroup

Namespace
Adw
Assembly
Adw-1.dll
public sealed class ToggleGroup : Widget, Accessible, Buildable, ConstraintTarget, Orientable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
ToggleGroup
Implements
Inherited Members

Constructors

ToggleGroup(ToggleGroupHandle)

public ToggleGroup(ToggleGroupHandle handle)

Parameters

handle ToggleGroupHandle

ToggleGroup(params ConstructArgument[])

public ToggleGroup(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Fields

ActiveNamePropertyDefinition

public static readonly Property<string?, ToggleGroup> ActiveNamePropertyDefinition

Field Value

Property<string, ToggleGroup>

ActivePropertyDefinition

public static readonly Property<uint, ToggleGroup> ActivePropertyDefinition

Field Value

Property<uint, ToggleGroup>

CanShrinkPropertyDefinition

public static readonly Property<bool, ToggleGroup> CanShrinkPropertyDefinition

Field Value

Property<bool, ToggleGroup>

HomogeneousPropertyDefinition

public static readonly Property<bool, ToggleGroup> HomogeneousPropertyDefinition

Field Value

Property<bool, ToggleGroup>

NTogglesPropertyDefinition

public static readonly Property<uint, ToggleGroup> NTogglesPropertyDefinition

Field Value

Property<uint, ToggleGroup>

TogglesPropertyDefinition

public static readonly Property<SelectionModel, ToggleGroup> TogglesPropertyDefinition

Field Value

Property<SelectionModel, ToggleGroup>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Active

public uint Active { get; set; }

Property Value

uint

ActiveName

public string? ActiveName { get; set; }

Property Value

string

CanShrink

public bool CanShrink { get; set; }

Property Value

bool

Homogeneous

public bool Homogeneous { get; set; }

Property Value

bool

NToggles

public uint NToggles { get; }

Property Value

uint

Toggles

public SelectionModel Toggles { get; }

Property Value

SelectionModel

Methods

Add(Toggle)

[Version("1.7")]
public void Add(Toggle toggle)

Parameters

toggle Toggle

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

GetActive()

[Version("1.7")]
public uint GetActive()

Returns

uint

GetActiveName()

[Version("1.7")]
public string? GetActiveName()

Returns

string

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

GetCanShrink()

[Version("1.7")]
public bool GetCanShrink()

Returns

bool

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHomogeneous()

[Version("1.7")]
public bool GetHomogeneous()

Returns

bool

GetNToggles()

[Version("1.7")]
public uint GetNToggles()

Returns

uint

GetNextAccessibleSibling()

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

Returns

Accessible

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetToggle(uint)

[Version("1.7")]
public Toggle? GetToggle(uint index)

Parameters

index uint

Returns

Toggle

GetToggleByName(string)

[Version("1.7")]
public Toggle? GetToggleByName(string name)

Parameters

name string

Returns

Toggle

GetToggles()

public SelectionModel GetToggles()

Returns

SelectionModel

New()

[Version("1.7")]
public static ToggleGroup New()

Returns

ToggleGroup

Remove(Toggle)

[Version("1.7")]
public void Remove(Toggle toggle)

Parameters

toggle Toggle

RemoveAll()

[Version("1.7")]
public void RemoveAll()

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

SetActive(uint)

[Version("1.7")]
public void SetActive(uint active)

Parameters

active uint

SetActiveName(string?)

[Version("1.7")]
public void SetActiveName(string? name)

Parameters

name string

SetCanShrink(bool)

[Version("1.7")]
public void SetCanShrink(bool canShrink)

Parameters

canShrink bool

SetHomogeneous(bool)

[Version("1.7")]
public void SetHomogeneous(bool homogeneous)

Parameters

homogeneous bool

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

UpdatePlatformState(AccessiblePlatformState)

[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState