Table of Contents

Class ViewStack

Namespace
Adw
Assembly
Adw-1.dll
public sealed class ViewStack : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
ViewStack
Implements
Inherited Members

Constructors

ViewStack()

public ViewStack()

ViewStack(params ConstructArgument[])

protected ViewStack(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ViewStack(IntPtr, bool)

protected ViewStack(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

HhomogeneousPropertyDefinition

public static readonly Property<bool, ViewStack> HhomogeneousPropertyDefinition

Field Value

Property<bool, ViewStack>

PagesPropertyDefinition

public static readonly Property<SelectionModel, ViewStack> PagesPropertyDefinition

Field Value

Property<SelectionModel, ViewStack>

VhomogeneousPropertyDefinition

public static readonly Property<bool, ViewStack> VhomogeneousPropertyDefinition

Field Value

Property<bool, ViewStack>

VisibleChildNamePropertyDefinition

public static readonly Property<string?, ViewStack> VisibleChildNamePropertyDefinition

Field Value

Property<string, ViewStack>

VisibleChildPropertyDefinition

public static readonly Property<Widget?, ViewStack> VisibleChildPropertyDefinition

Field Value

Property<Widget, ViewStack>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Hhomogeneous

public bool Hhomogeneous { get; set; }

Property Value

bool

Pages

public SelectionModel Pages { get; }

Property Value

SelectionModel

Vhomogeneous

public bool Vhomogeneous { get; set; }

Property Value

bool

VisibleChild

public Widget? VisibleChild { get; set; }

Property Value

Widget

VisibleChildName

public string? VisibleChildName { get; set; }

Property Value

string

Methods

Add(Widget)

public ViewStackPage Add(Widget child)

Parameters

child Widget

Returns

ViewStackPage

AddNamed(Widget, string?)

public ViewStackPage AddNamed(Widget child, string? name)

Parameters

child Widget
name string

Returns

ViewStackPage

AddTitled(Widget, string?, string)

public ViewStackPage AddTitled(Widget child, string? name, string title)

Parameters

child Widget
name string
title string

Returns

ViewStackPage

AddTitledWithIcon(Widget, string?, string, string)

[Version("1.2")]
public ViewStackPage AddTitledWithIcon(Widget child, string? name, string title, string iconName)

Parameters

child Widget
name string
title string
iconName string

Returns

ViewStackPage

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

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

GetChildByName(string)

public Widget? GetChildByName(string name)

Parameters

name string

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHhomogeneous()

public bool GetHhomogeneous()

Returns

bool

GetNextAccessibleSibling()

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

Returns

Accessible

GetPage(Widget)

public ViewStackPage GetPage(Widget child)

Parameters

child Widget

Returns

ViewStackPage

GetPages()

public SelectionModel GetPages()

Returns

SelectionModel

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetVhomogeneous()

public bool GetVhomogeneous()

Returns

bool

GetVisibleChild()

public Widget? GetVisibleChild()

Returns

Widget

GetVisibleChildName()

public string? GetVisibleChildName()

Returns

string

New()

public static ViewStack New()

Returns

ViewStack

Remove(Widget)

public void Remove(Widget child)

Parameters

child Widget

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

SetHhomogeneous(bool)

public void SetHhomogeneous(bool hhomogeneous)

Parameters

hhomogeneous bool

SetVhomogeneous(bool)

public void SetVhomogeneous(bool vhomogeneous)

Parameters

vhomogeneous bool

SetVisibleChild(Widget)

public void SetVisibleChild(Widget child)

Parameters

child Widget

SetVisibleChildName(string)

public void SetVisibleChildName(string name)

Parameters

name string

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible