Table of Contents

Class ViewSwitcherSidebar

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

Constructors

ViewSwitcherSidebar(ViewSwitcherSidebarHandle)

protected ViewSwitcherSidebar(ViewSwitcherSidebarHandle handle)

Parameters

handle ViewSwitcherSidebarHandle

ViewSwitcherSidebar(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ViewSwitcherSidebar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ViewSwitcherSidebar(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ViewSwitcherSidebar(CreationData data)

Parameters

data CreationData

Fields

ActivatedSignal

Signal Descriptor for OnActivated.

public static readonly Signal<ViewSwitcherSidebar> ActivatedSignal

Field Value

Signal<ViewSwitcherSidebar>

FilterPropertyDefinition

public static readonly Property<Filter?, ViewSwitcherSidebar> FilterPropertyDefinition

Field Value

Property<Filter, ViewSwitcherSidebar>

ModePropertyDefinition

public static readonly Property<SidebarMode, ViewSwitcherSidebar> ModePropertyDefinition

Field Value

Property<SidebarMode, ViewSwitcherSidebar>

PlaceholderPropertyDefinition

public static readonly Property<Widget?, ViewSwitcherSidebar> PlaceholderPropertyDefinition

Field Value

Property<Widget, ViewSwitcherSidebar>

StackPropertyDefinition

public static readonly Property<ViewStack?, ViewSwitcherSidebar> StackPropertyDefinition

Field Value

Property<ViewStack, ViewSwitcherSidebar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Filter

public Filter? Filter { get; set; }

Property Value

Filter

Mode

public SidebarMode Mode { get; set; }

Property Value

SidebarMode

Placeholder

public Widget? Placeholder { get; set; }

Property Value

Widget

Stack

public ViewStack? Stack { get; set; }

Property Value

ViewStack

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleId()

[Version("4.22")]
public string? GetAccessibleId()

Returns

string

GetAccessibleParent()

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

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

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

GetFilter()

[Version("1.9")]
public Filter? GetFilter()

Returns

Filter

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMode()

[Version("1.9")]
public SidebarMode GetMode()

Returns

SidebarMode

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlaceholder()

[Version("1.9")]
public Widget? GetPlaceholder()

Returns

Widget

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetStack()

[Version("1.9")]
public ViewStack? GetStack()

Returns

ViewStack

New()

[Version("1.9")]
public static ViewSwitcherSidebar New()

Returns

ViewSwitcherSidebar

NewFromPointer(nint, bool)

Creates a new managed ViewSwitcherSidebar instance for a given pointer.

public static ViewSwitcherSidebar NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ViewSwitcherSidebar

NewWithProperties(ConstructArgument[])

Creates a new ViewSwitcherSidebar and sets the properties specified by the construct arguments.

public static ViewSwitcherSidebar NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ViewSwitcherSidebar

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

SetFilter(Filter?)

[Version("1.9")]
public void SetFilter(Filter? filter)

Parameters

filter Filter

SetMode(SidebarMode)

[Version("1.9")]
public void SetMode(SidebarMode mode)

Parameters

mode SidebarMode

SetPlaceholder(Widget?)

[Version("1.9")]
public void SetPlaceholder(Widget? placeholder)

Parameters

placeholder Widget

SetStack(ViewStack?)

[Version("1.9")]
public void SetStack(ViewStack? stack)

Parameters

stack ViewStack

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

Events

OnActivated

public event SignalHandler<ViewSwitcherSidebar> OnActivated

Event Type

SignalHandler<ViewSwitcherSidebar>