FArguments

Windows
MacOS
Linux

Inheritance Hierarchy

TSlateBaseNamedArgs

SCheckBox::FArguments

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SCheckBox.h

Include

#include "Widgets/Input/SCheckBox.h"

Syntax

struct FArguments : public TSlateBaseNamedArgs< SCheckBox >

Constructors

Name Description

Public function

FArguments()

Functions

Name Description

Public function

WidgetArgsTy...

 

BorderBackgroundColor

(
    const TAttribute< FSlateColor >& I...
)

The color of the background border (set by the Style arg but the Style can be overridden with this)

Public function

WidgetArgsTy...

 

CheckBoxContentUsesAutoWidth

(
    bool InArg
)

Whether or not the content portion of the checkbox should layout using auto-width.

Public function

WidgetArgsTy...

 

CheckedHoveredImage

(
    const FSlateBrush* InArg
)

The checked hovered image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

CheckedImage

(
    const FSlateBrush* InArg
)

The checked image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

CheckedPressedImage

(
    const FSlateBrush* InArg
)

The checked pressed image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

CheckedSoundOverride

(
    TOptional< FSlateSound > InArg
)

The sound to play when the check box is checked

Public function

WidgetArgsTy...

 

ClickMethod

(
    const TAttribute< EButtonClickMetho...
)

Sets the rules to use for determining whether the button was clicked.

Public function

NamedSlotPro...

 

Content()

Content to be placed next to the check box, or for a toggle button, the content to be placed inside the button

Public function

WidgetArgsTy...

 

ForegroundColor

(
    const TAttribute< FSlateColor >& I...
)

Foreground color for the checkbox's content and parts (set by the Style arg but the Style can be overridden with this)

Public function

WidgetArgsTy...

 

HAlign

(
    EHorizontalAlignment InArg
)

How the content of the toggle button should align within the given space

Public function

WidgetArgsTy...

 

HoveredSoundOverride

(
    TOptional< FSlateSound > InArg
)

The sound to play when the check box is hovered

Public function

WidgetArgsTy...

 

IsChecked

(
    const TAttribute< ECheckBoxState > ...
)

Whether the check box is currently in a checked state

Public function

WidgetArgsTy...

 

IsFocusable

(
    bool InArg
)

Public function

WidgetArgsTy...

 

OnCheckStateChanged

(
    const FOnCheckStateChanged& InDele...
)

Called when the checked state has changed

Public function

WidgetArgsTy...

 

OnGetMenuContent

(
    const FOnGetContent& InDelegate
)

Public function

WidgetArgsTy...

 

Padding

(
    const TAttribute< FMargin >& InAtt...
)

Spacing between the check box image and its content (set by the Style arg but the Style can be overridden with this)

Public function

WidgetArgsTy...

 

Style

(
    const FCheckBoxStyle* InArg
)

The style structure for this checkbox' visual style

Public function

WidgetArgsTy...

 

Type

Type of check box (set by the Style arg but the Style can be overridden with this)

Public function

WidgetArgsTy...

 

UncheckedHoveredImage

(
    const FSlateBrush* InArg
)

The unchecked hovered image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

UncheckedImage

(
    const FSlateBrush* InArg
)

The unchecked image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

UncheckedPressedImage

(
    const FSlateBrush* InArg
)

The unchecked pressed image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

UncheckedSoundOverride

(
    TOptional< FSlateSound > InArg
)

The sound to play when the check box is unchecked

Public function

WidgetArgsTy...

 

UndeterminedHoveredImage

(
    const FSlateBrush* InArg
)

The undetermined hovered image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

UndeterminedImage

(
    const FSlateBrush* InArg
)

The undetermined image for the checkbox - overrides the style's

Public function

WidgetArgsTy...

 

UndeterminedPressedImage

(
    const FSlateBrush* InArg
)

The undetermined pressed image for the checkbox - overrides the style's

Operators

Name Description

Public function

FArguments &

 

operator[]

(
    const TSharedRef< SWidget > InChild
)

Typedefs

Name

Description

WidgetArgsType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss