Class ScrolledWindow
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ScrolledWindow : Widget, Accessible, Buildable, ConstraintTarget, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
ScrolledWindow
- Implements
- Inherited Members
Constructors
ScrolledWindow(params ConstructArgument[])
public ScrolledWindow(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ScrolledWindow(ScrolledWindowHandle)
public ScrolledWindow(ScrolledWindowHandle handle)
Parameters
handleScrolledWindowHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, ScrolledWindow> ChildPropertyDefinition
Field Value
EdgeOvershotSignal
Signal Descriptor for OnEdgeOvershot.
public static readonly Signal<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs> EdgeOvershotSignal
Field Value
EdgeReachedSignal
Signal Descriptor for OnEdgeReached.
public static readonly Signal<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs> EdgeReachedSignal
Field Value
HadjustmentPropertyDefinition
public static readonly Property<Adjustment?, ScrolledWindow> HadjustmentPropertyDefinition
Field Value
HasFramePropertyDefinition
public static readonly Property<bool, ScrolledWindow> HasFramePropertyDefinition
Field Value
HscrollbarPolicyPropertyDefinition
public static readonly Property<PolicyType, ScrolledWindow> HscrollbarPolicyPropertyDefinition
Field Value
KineticScrollingPropertyDefinition
public static readonly Property<bool, ScrolledWindow> KineticScrollingPropertyDefinition
Field Value
MaxContentHeightPropertyDefinition
public static readonly Property<int, ScrolledWindow> MaxContentHeightPropertyDefinition
Field Value
MaxContentWidthPropertyDefinition
public static readonly Property<int, ScrolledWindow> MaxContentWidthPropertyDefinition
Field Value
MinContentHeightPropertyDefinition
public static readonly Property<int, ScrolledWindow> MinContentHeightPropertyDefinition
Field Value
MinContentWidthPropertyDefinition
public static readonly Property<int, ScrolledWindow> MinContentWidthPropertyDefinition
Field Value
MoveFocusOutSignal
Signal Descriptor for OnMoveFocusOut.
public static readonly Signal<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs> MoveFocusOutSignal
Field Value
OverlayScrollingPropertyDefinition
public static readonly Property<bool, ScrolledWindow> OverlayScrollingPropertyDefinition
Field Value
PropagateNaturalHeightPropertyDefinition
public static readonly Property<bool, ScrolledWindow> PropagateNaturalHeightPropertyDefinition
Field Value
PropagateNaturalWidthPropertyDefinition
public static readonly Property<bool, ScrolledWindow> PropagateNaturalWidthPropertyDefinition
Field Value
ScrollChildSignal
Signal Descriptor for OnScrollChild.
public static readonly ReturningSignal<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool> ScrollChildSignal
Field Value
VadjustmentPropertyDefinition
public static readonly Property<Adjustment?, ScrolledWindow> VadjustmentPropertyDefinition
Field Value
VscrollbarPolicyPropertyDefinition
public static readonly Property<PolicyType, ScrolledWindow> VscrollbarPolicyPropertyDefinition
Field Value
WindowPlacementPropertyDefinition
public static readonly Property<CornerType, ScrolledWindow> WindowPlacementPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
Hadjustment
public Adjustment? Hadjustment { get; set; }
Property Value
HasFrame
public bool HasFrame { get; set; }
Property Value
HscrollbarPolicy
public PolicyType HscrollbarPolicy { get; set; }
Property Value
KineticScrolling
public bool KineticScrolling { get; set; }
Property Value
MaxContentHeight
public int MaxContentHeight { get; set; }
Property Value
MaxContentWidth
public int MaxContentWidth { get; set; }
Property Value
MinContentHeight
public int MinContentHeight { get; set; }
Property Value
MinContentWidth
public int MinContentWidth { get; set; }
Property Value
OverlayScrolling
public bool OverlayScrolling { get; set; }
Property Value
PropagateNaturalHeight
public bool PropagateNaturalHeight { get; set; }
Property Value
PropagateNaturalWidth
public bool PropagateNaturalWidth { get; set; }
Property Value
Vadjustment
public Adjustment? Vadjustment { get; set; }
Property Value
VscrollbarPolicy
public PolicyType VscrollbarPolicy { get; set; }
Property Value
WindowPlacement
public CornerType WindowPlacement { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetChild()
public Widget? GetChild()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHadjustment()
public Adjustment GetHadjustment()
Returns
GetHasFrame()
public bool GetHasFrame()
Returns
GetHscrollbar()
public Widget GetHscrollbar()
Returns
GetKineticScrolling()
public bool GetKineticScrolling()
Returns
GetMaxContentHeight()
public int GetMaxContentHeight()
Returns
GetMaxContentWidth()
public int GetMaxContentWidth()
Returns
GetMinContentHeight()
public int GetMinContentHeight()
Returns
GetMinContentWidth()
public int GetMinContentWidth()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetOverlayScrolling()
public bool GetOverlayScrolling()
Returns
GetPlacement()
public CornerType GetPlacement()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetPropagateNaturalHeight()
public bool GetPropagateNaturalHeight()
Returns
GetPropagateNaturalWidth()
public bool GetPropagateNaturalWidth()
Returns
GetVadjustment()
public Adjustment GetVadjustment()
Returns
GetVscrollbar()
public Widget GetVscrollbar()
Returns
New()
public static ScrolledWindow New()
Returns
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
childWidget
SetHadjustment(Adjustment?)
public void SetHadjustment(Adjustment? hadjustment)
Parameters
hadjustmentAdjustment
SetHasFrame(bool)
public void SetHasFrame(bool hasFrame)
Parameters
hasFramebool
SetKineticScrolling(bool)
public void SetKineticScrolling(bool kineticScrolling)
Parameters
kineticScrollingbool
SetMaxContentHeight(int)
public void SetMaxContentHeight(int height)
Parameters
heightint
SetMaxContentWidth(int)
public void SetMaxContentWidth(int width)
Parameters
widthint
SetMinContentHeight(int)
public void SetMinContentHeight(int height)
Parameters
heightint
SetMinContentWidth(int)
public void SetMinContentWidth(int width)
Parameters
widthint
SetOverlayScrolling(bool)
public void SetOverlayScrolling(bool overlayScrolling)
Parameters
overlayScrollingbool
SetPlacement(CornerType)
public void SetPlacement(CornerType windowPlacement)
Parameters
windowPlacementCornerType
SetPolicy(PolicyType, PolicyType)
public void SetPolicy(PolicyType hscrollbarPolicy, PolicyType vscrollbarPolicy)
Parameters
hscrollbarPolicyPolicyTypevscrollbarPolicyPolicyType
SetPropagateNaturalHeight(bool)
public void SetPropagateNaturalHeight(bool propagate)
Parameters
propagatebool
SetPropagateNaturalWidth(bool)
public void SetPropagateNaturalWidth(bool propagate)
Parameters
propagatebool
SetVadjustment(Adjustment?)
public void SetVadjustment(Adjustment? vadjustment)
Parameters
vadjustmentAdjustment
UnsetPlacement()
public void UnsetPlacement()
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Events
OnEdgeOvershot
public event SignalHandler<ScrolledWindow, ScrolledWindow.EdgeOvershotSignalArgs> OnEdgeOvershot
Event Type
OnEdgeReached
public event SignalHandler<ScrolledWindow, ScrolledWindow.EdgeReachedSignalArgs> OnEdgeReached
Event Type
OnMoveFocusOut
public event SignalHandler<ScrolledWindow, ScrolledWindow.MoveFocusOutSignalArgs> OnMoveFocusOut
Event Type
OnScrollChild
public event ReturningSignalHandler<ScrolledWindow, ScrolledWindow.ScrollChildSignalArgs, bool> OnScrollChild