Table of Contents

Class Scrollbar

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class Scrollbar : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Orientable, IHandle, GTypeProvider
Inheritance
Scrollbar
Implements
Inherited Members

Constructors

Scrollbar()

public Scrollbar()

Scrollbar(params ConstructArgument[])

protected Scrollbar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Scrollbar(IntPtr, bool)

protected Scrollbar(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AdjustmentPropertyDefinition

public static readonly Property<Adjustment?, Scrollbar> AdjustmentPropertyDefinition

Field Value

Property<Adjustment, Scrollbar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Adjustment

public Adjustment? Adjustment { get; set; }

Property Value

Adjustment

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

GetAdjustment()

public Adjustment GetAdjustment()

Returns

Adjustment

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

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

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

New(Orientation, Adjustment?)

public static Scrollbar New(Orientation orientation, Adjustment? adjustment)

Parameters

orientation Orientation
adjustment Adjustment

Returns

Scrollbar

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

SetAdjustment(Adjustment?)

public void SetAdjustment(Adjustment? adjustment)

Parameters

adjustment Adjustment

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible