Table of Contents

Class ScrolledWindow

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

Constructors

ScrolledWindow()

public ScrolledWindow()

ScrolledWindow(params ConstructArgument[])

protected ScrolledWindow(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ScrolledWindow(IntPtr, bool)

protected ScrolledWindow(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, ScrolledWindow> ChildPropertyDefinition

Field Value

Property<Widget, ScrolledWindow>

EdgeOvershotSignal

Signal Descriptor for OnEdgeOvershot.

public static readonly Signal<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs> EdgeOvershotSignal

Field Value

Signal<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs>

EdgeReachedSignal

Signal Descriptor for OnEdgeReached.

public static readonly Signal<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs> EdgeReachedSignal

Field Value

Signal<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs>

HadjustmentPropertyDefinition

public static readonly Property<Adjustment?, ScrolledWindow> HadjustmentPropertyDefinition

Field Value

Property<Adjustment, ScrolledWindow>

HasFramePropertyDefinition

public static readonly Property<bool, ScrolledWindow> HasFramePropertyDefinition

Field Value

Property<bool, ScrolledWindow>

HscrollbarPolicyPropertyDefinition

public static readonly Property<PolicyType, ScrolledWindow> HscrollbarPolicyPropertyDefinition

Field Value

Property<PolicyType, ScrolledWindow>

KineticScrollingPropertyDefinition

public static readonly Property<bool, ScrolledWindow> KineticScrollingPropertyDefinition

Field Value

Property<bool, ScrolledWindow>

MaxContentHeightPropertyDefinition

public static readonly Property<int, ScrolledWindow> MaxContentHeightPropertyDefinition

Field Value

Property<int, ScrolledWindow>

MaxContentWidthPropertyDefinition

public static readonly Property<int, ScrolledWindow> MaxContentWidthPropertyDefinition

Field Value

Property<int, ScrolledWindow>

MinContentHeightPropertyDefinition

public static readonly Property<int, ScrolledWindow> MinContentHeightPropertyDefinition

Field Value

Property<int, ScrolledWindow>

MinContentWidthPropertyDefinition

public static readonly Property<int, ScrolledWindow> MinContentWidthPropertyDefinition

Field Value

Property<int, ScrolledWindow>

MoveFocusOutSignal

Signal Descriptor for OnMoveFocusOut.

public static readonly Signal<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs> MoveFocusOutSignal

Field Value

Signal<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs>

OverlayScrollingPropertyDefinition

public static readonly Property<bool, ScrolledWindow> OverlayScrollingPropertyDefinition

Field Value

Property<bool, ScrolledWindow>

PropagateNaturalHeightPropertyDefinition

public static readonly Property<bool, ScrolledWindow> PropagateNaturalHeightPropertyDefinition

Field Value

Property<bool, ScrolledWindow>

PropagateNaturalWidthPropertyDefinition

public static readonly Property<bool, ScrolledWindow> PropagateNaturalWidthPropertyDefinition

Field Value

Property<bool, ScrolledWindow>

ScrollChildSignal

Signal Descriptor for OnScrollChild.

public static readonly ReturningSignal<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool> ScrollChildSignal

Field Value

ReturningSignal<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool>

VadjustmentPropertyDefinition

public static readonly Property<Adjustment?, ScrolledWindow> VadjustmentPropertyDefinition

Field Value

Property<Adjustment, ScrolledWindow>

VscrollbarPolicyPropertyDefinition

public static readonly Property<PolicyType, ScrolledWindow> VscrollbarPolicyPropertyDefinition

Field Value

Property<PolicyType, ScrolledWindow>

WindowPlacementPropertyDefinition

public static readonly Property<CornerType, ScrolledWindow> WindowPlacementPropertyDefinition

Field Value

Property<CornerType, ScrolledWindow>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Child

public Widget? Child { get; set; }

Property Value

Widget

Hadjustment

public Adjustment? Hadjustment { get; set; }

Property Value

Adjustment

HasFrame

public bool HasFrame { get; set; }

Property Value

bool

HscrollbarPolicy

public PolicyType HscrollbarPolicy { get; set; }

Property Value

PolicyType

KineticScrolling

public bool KineticScrolling { get; set; }

Property Value

bool

MaxContentHeight

public int MaxContentHeight { get; set; }

Property Value

int

MaxContentWidth

public int MaxContentWidth { get; set; }

Property Value

int

MinContentHeight

public int MinContentHeight { get; set; }

Property Value

int

MinContentWidth

public int MinContentWidth { get; set; }

Property Value

int

OverlayScrolling

public bool OverlayScrolling { get; set; }

Property Value

bool

PropagateNaturalHeight

public bool PropagateNaturalHeight { get; set; }

Property Value

bool

PropagateNaturalWidth

public bool PropagateNaturalWidth { get; set; }

Property Value

bool

Vadjustment

public Adjustment? Vadjustment { get; set; }

Property Value

Adjustment

VscrollbarPolicy

public PolicyType VscrollbarPolicy { get; set; }

Property Value

PolicyType

WindowPlacement

public CornerType WindowPlacement { get; set; }

Property Value

CornerType

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

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()

public Widget? GetChild()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHadjustment()

public Adjustment GetHadjustment()

Returns

Adjustment

GetHasFrame()

public bool GetHasFrame()

Returns

bool

GetHscrollbar()

public Widget GetHscrollbar()

Returns

Widget

GetKineticScrolling()

public bool GetKineticScrolling()

Returns

bool

GetMaxContentHeight()

public int GetMaxContentHeight()

Returns

int

GetMaxContentWidth()

public int GetMaxContentWidth()

Returns

int

GetMinContentHeight()

public int GetMinContentHeight()

Returns

int

GetMinContentWidth()

public int GetMinContentWidth()

Returns

int

GetNextAccessibleSibling()

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

Returns

Accessible

GetOverlayScrolling()

public bool GetOverlayScrolling()

Returns

bool

GetPlacement()

public CornerType GetPlacement()

Returns

CornerType

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetPropagateNaturalHeight()

public bool GetPropagateNaturalHeight()

Returns

bool

GetPropagateNaturalWidth()

public bool GetPropagateNaturalWidth()

Returns

bool

GetVadjustment()

public Adjustment GetVadjustment()

Returns

Adjustment

GetVscrollbar()

public Widget GetVscrollbar()

Returns

Widget

New()

public static ScrolledWindow New()

Returns

ScrolledWindow

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

SetChild(Widget?)

public void SetChild(Widget? child)

Parameters

child Widget

SetHadjustment(Adjustment?)

public void SetHadjustment(Adjustment? hadjustment)

Parameters

hadjustment Adjustment

SetHasFrame(bool)

public void SetHasFrame(bool hasFrame)

Parameters

hasFrame bool

SetKineticScrolling(bool)

public void SetKineticScrolling(bool kineticScrolling)

Parameters

kineticScrolling bool

SetMaxContentHeight(int)

public void SetMaxContentHeight(int height)

Parameters

height int

SetMaxContentWidth(int)

public void SetMaxContentWidth(int width)

Parameters

width int

SetMinContentHeight(int)

public void SetMinContentHeight(int height)

Parameters

height int

SetMinContentWidth(int)

public void SetMinContentWidth(int width)

Parameters

width int

SetOverlayScrolling(bool)

public void SetOverlayScrolling(bool overlayScrolling)

Parameters

overlayScrolling bool

SetPlacement(CornerType)

public void SetPlacement(CornerType windowPlacement)

Parameters

windowPlacement CornerType

SetPolicy(PolicyType, PolicyType)

public void SetPolicy(PolicyType hscrollbarPolicy, PolicyType vscrollbarPolicy)

Parameters

hscrollbarPolicy PolicyType
vscrollbarPolicy PolicyType

SetPropagateNaturalHeight(bool)

public void SetPropagateNaturalHeight(bool propagate)

Parameters

propagate bool

SetPropagateNaturalWidth(bool)

public void SetPropagateNaturalWidth(bool propagate)

Parameters

propagate bool

SetVadjustment(Adjustment?)

public void SetVadjustment(Adjustment? vadjustment)

Parameters

vadjustment Adjustment

UnsetPlacement()

public void UnsetPlacement()

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

Events

OnEdgeOvershot

public event SignalHandler<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs> OnEdgeOvershot

Event Type

SignalHandler<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs>

OnEdgeReached

public event SignalHandler<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs> OnEdgeReached

Event Type

SignalHandler<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs>

OnMoveFocusOut

public event SignalHandler<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs> OnMoveFocusOut

Event Type

SignalHandler<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs>

OnScrollChild

public event ReturningSignalHandler<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool> OnScrollChild

Event Type

ReturningSignalHandler<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool>