FComboBoxStyle

Represents the appearance of an [SComboBox](API\Runtime\Slate\Widgets\Input\SComboBox)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FComboBoxStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h

Include

#include "Styling/SlateTypes.h"

Syntax

struct FComboBoxStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SComboBox

Variables

Name Description

Public variable

FComboButtonSty...

 

ComboButtonStyle

The style to use for our SComboButton

Public variable

FSlateSound

 

PressedSlateSound

The sound the button should play when pressed

Public variable

FSlateSound

 

SelectionChangeSlateSound

The Sound to play when the selection is changed

Constructors

Name Description

Public function

FComboBoxStyle()

Destructors

Name Description

Public function Virtual

~FComboBoxStyle()

Functions

Name Description

Public function Static

const FCombo...

 

GetDefault()

Public function

void

 

PostSerialize

(
    const FArchive& Ar
)

Used to upgrade the deprecated FName sound properties into the new-style FSlateSound properties

Public function

FComboBoxSty...

 

SetComboButtonStyle

(
    const FComboButtonStyle& InComboBu...
)

Public function

FComboBoxSty...

 

SetPressedSound

(
    const FSlateSound& InPressedSound
)

Public function

FComboBoxSty...

 

SetSelectionChangeSound

(
    const FSlateSound& InSelectionChan...
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName

Deprecated Variables

Name Description

Public variable

FName

 

PressedSound_DEPRECATED

Public variable

FName

 

SelectionChangeSound_DEPRECATED

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