Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBar.h |
Include |
#include "Widgets/Layout/SScrollBar.h" |
class SScrollBar : public SBorder
Name | Description | ||
---|---|---|---|
|
const FSlateBru... |
BackgroundBrush |
Background brush |
|
bAlwaysShowScrollbar |
||
|
bAlwaysShowScrollbarTrack |
||
|
bDraggingThumb |
||
|
bHideWhenNotInUse |
||
|
bIsScrolling |
||
|
const FSlateBru... |
BottomBrush |
Bottom brush |
|
TSharedPtr< SIm... |
BottomImage |
|
|
DragFocusCause |
||
|
const FSlateBru... |
DraggedThumbImage |
Image to use when the scrollbar thumb is in its dragged state |
|
float |
DragGrabOffset |
|
|
TSharedPtr< SBo... |
DragThumb |
|
|
const FSlateBru... |
HoveredThumbImage |
Image to use when the scrollbar thumb is in its hovered state |
|
double |
LastInteractionTime |
|
|
const FSlateBru... |
NormalThumbImage |
Image to use when the scrollbar thumb is in its normal state |
|
OnUserScrolled |
||
|
Orientation |
||
|
TSharedPtr< SSp... |
ThicknessSpacer |
|
|
const FSlateBru... |
TopBrush |
Top brush |
|
TSharedPtr< SIm... |
TopImage |
|
|
TSharedPtr< SSc... |
Track |
|
|
TAttribute< EVi... |
UserVisibility |
The scrollbar's visibility as specified by the user. |
Name | Description | |
---|---|---|
|
SScrollBar() |
Name | Description | ||
---|---|---|---|
|
AlwaysShowScrollbar() |
Returns True when the scrollbar should always be shown, else False |
|
|
BeginScrolling() |
Allows external scrolling panels to notify the scrollbar when scrolling begins. |
|
|
Construct ( |
Construct this widget |
|
|
float |
DistanceFromBottom() |
|
|
float |
DistanceFromTop() |
|
|
EndScrolling() |
Allows external scrolling panels to notify the scrollbar when scrolling ends. |
|
|
ExecuteOnUserScrolled ( |
Execute the on user scrolled delegate |
|
|
const FSlate... |
GetDragThumbImage() |
|
|
GetOrientation() |
||
|
GetThumbOpacity() |
We always show a subtle scroll thumb, but highlight it extra when dragging |
|
|
GetTrackOpacity() |
We fade the scroll track unless it is being hovered |
|
|
IsNeeded() |
||
|
IsScrolling() |
||
|
SetDragFocusCause ( |
Set DragFocusCause attribute |
|
|
SetOnUserScrolled ( |
Set the handler to be invoked when the user scrolls. |
|
|
SetScrollBarAlwaysVisible ( |
Set ScrollBarAlwaysVisible attribute |
|
|
SetScrollBarTrackAlwaysVisible ( |
Set ScrollBarTrackAlwaysVisible attribute |
|
|
SetState ( |
Set the offset and size of the track's thumb. |
|
|
SetStyle ( |
Set argument Style |
|
|
SetThickness ( |
Set Thickness attribute |
|
|
SetUserVisibility ( |
Set UserVisibility attribute |
|
|
ShouldBeVisible() |
Name | Description | ||
---|---|---|---|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
OnMouseButtonUp ( |
The system calls this method to notify the widget that a mouse button was release within it. |
|
|
OnMouseEnter ( |
The system will use this event to notify a widget that the cursor has entered it. |
|
|
OnMouseLeave ( |
The system will use this event to notify a widget that the cursor has left it. |
|
|
OnMouseMove ( |
The system calls this method to notify the widget that a mouse moved within it. |
|
|
Tick ( |
Name |
Description |
|
---|---|---|
|
FArguments |