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
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
message
stringpriority
AccessibleAnnouncementPriority
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
state
AccessiblePlatformState
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
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
AccessiblenextSibling
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
PolicyTypevscrollbarPolicy
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
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